{"id":810069,"url":"http://patchwork.ozlabs.org/api/patches/810069/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/patch/1504606609-5628-1-git-send-email-sbabic@denx.de/","project":{"id":58,"url":"http://patchwork.ozlabs.org/api/projects/58/?format=json","name":"swupdate development","link_name":"swupdate","list_id":"swupdate.googlegroups.com","list_email":"swupdate@googlegroups.com","web_url":"https://github.com/sbabic/swupdate","scm_url":"git://github.com/sbabic/swupdate","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504606609-5628-1-git-send-email-sbabic@denx.de>","list_archive_url":null,"date":"2017-09-05T10:16:49","name":"Fix build on travis-ci","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"b553b15c32a434537904ce46192eb3c771014c5a","submitter":{"id":5771,"url":"http://patchwork.ozlabs.org/api/people/5771/?format=json","name":"Stefano Babic","email":"sbabic@denx.de"},"delegate":{"id":1693,"url":"http://patchwork.ozlabs.org/api/users/1693/?format=json","username":"sbabic","first_name":"Stefano","last_name":"Babic","email":"sbabic@denx.de"},"mbox":"http://patchwork.ozlabs.org/project/swupdate/patch/1504606609-5628-1-git-send-email-sbabic@denx.de/mbox/","series":[{"id":1542,"url":"http://patchwork.ozlabs.org/api/series/1542/?format=json","web_url":"http://patchwork.ozlabs.org/project/swupdate/list/?series=1542","date":"2017-09-05T10:16:49","name":"Fix build on travis-ci","version":1,"mbox":"http://patchwork.ozlabs.org/series/1542/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810069/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810069/checks/","tags":{},"related":[],"headers":{"Return-Path":"<swupdate+bncBAABBHHTXHGQKGQEMU3DG7Y@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:4010:c07::23f;\n\thelo=mail-lf0-x23f.google.com;\n\tenvelope-from=swupdate+bncbaabbhhtxhgqkgqemu3dg7y@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"HlE1XFTs\"; dkim-atps=neutral"],"Received":["from mail-lf0-x23f.google.com (mail-lf0-x23f.google.com\n\t[IPv6:2a00:1450:4010:c07::23f])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmjLq6B8cz9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 20:17:06 +1000 (AEST)","by mail-lf0-x23f.google.com with SMTP id q132sf1426308lfe.2\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 05 Sep 2017 03:17:06 -0700 (PDT)","by 10.25.42.136 with SMTP id q8ls75038lfq.49.gmail;\n\tTue, 05 Sep 2017 03:17:00 -0700 (PDT)","from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9])\n\tby gmr-mx.google.com with ESMTPS id\n\t200si35371wmj.0.2017.09.05.03.17.00 for <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 05 Sep 2017 03:17:00 -0700 (PDT)","from frontend01.mail.m-online.net (unknown [192.168.8.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xmjLh11MPz1qqyd;\n\tTue,  5 Sep 2017 12:17:00 +0200 (CEST)","from localhost (dynscan1.mnet-online.de [192.168.6.70])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xmjLh0Pk8z3hhV9;\n\tTue,  5 Sep 2017 12:17:00 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id 1QcBAgNytV8h; Tue,  5 Sep 2017 12:16:58 +0200 (CEST)","from babic.homelinux.org\n\t(host-88-217-136-221.customer.m-online.net [88.217.136.221])\n\t(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPS;\n\tTue,  5 Sep 2017 12:16:58 +0200 (CEST)","from localhost (mail.babic.homelinux.org [127.0.0.1])\n\tby babic.homelinux.org (Postfix) with ESMTP id 2C36E4540594;\n\tTue,  5 Sep 2017 12:16:58 +0200 (CEST)","from babic.homelinux.org ([127.0.0.1])\n\tby localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id nHIgywVY-1PT; Tue,  5 Sep 2017 12:16:51 +0200 (CEST)","from papero.fritz.box (papero.fritz.box [192.168.178.132])\n\tby babic.homelinux.org (Postfix) with ESMTP id 974C645404CD;\n\tTue,  5 Sep 2017 12:16:51 +0200 (CEST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1504606621; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=jqwWEc96crtbcKEoeuhLgWCZReOnN31Bo8DczComol04b2j9iT1GV7sHOJfI0fd1Hl\n\t5R3sDeiK1j3TqG3D3ahAyXxKo5FzGs1fNvZuWv3RMcRNbpbcDawi4nPf2gs/zy6GGzwU\n\tFiVasdGKFzEidxqfdzs0ldfrAuxQe+CihxpL+783pJsE5RBGSPmOdSAQJfl0Y80PF/kX\n\tTsto9YRwLuoDvVavI7gA1cZbNiVpkqtgLiOundLcQ78WoQLKd39S42fHTgzPtGs6NUtr\n\tyJO2TBMQh8PaXi4wz1pHitVSDSHFlsmG8qz4IxLYpVdy9iTL+muNI05MEai4D5SwPjJ/\n\tn8+A==","i=1; a=rsa-sha256; t=1504606620; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=bhdF9YlCht1qEQSfByToRfycGnbmzbuBzAw/Qep4ChuS4jiPC/PEvk6R6bXe+rp1Pq\n\tpz/84Jja/8ktfCilO/zbyWnnFDusLXPQNL4JT0N/CyHbOZtYnyEsVj4ZHHh9gE4xz17V\n\tCcDgSdlwAFVZeKH1T76efFVvYLTZT7ijEUXSDjZZjlqSupO6sxH915b5VDyNypP6tKy4\n\t/0WTvtkWdRh4EXkN3t0CFxtHsr7iBOTRwn2rUNmIg+r0+3WKRBcQIDPXHicoTdWyGzVJ\n\tURogNea3enNqM5nKCRHY6CKUwJ6Yi+c7pliFsGt+fZFoCCXEnYEcQWbURQFvoD5tJMZU\n\teibA=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:message-id:date:subject:cc:to:from\n\t:arc-authentication-results:arc-message-signature:mime-version\n\t:sender:dkim-signature:arc-authentication-results;\n\tbh=mhzrrWOavFGHc9DjWKTDZaNvwmHQBbu7Gerqrc8xdH4=;\n\tb=moRPioFjb/xbo4W8XgNK6UrFFbhva8XPrHqO2qBQ34vK2yqHh5OANqO26h/vg2bfSk\n\taTToOkrQIK+W057NGg1YeqlJTR/EYi8qrn0a8pTIc5CKnKfR54SpcNAIwD4onhEpRTWV\n\t9rwKlWj9o/mvyjPfQ1eEjeVyAy1uOTI0daJDrFfTUzSP10M8DcwfI4ARmTDC2A8kki9u\n\tH71lCwKufUts2xWGxFUT+w8ll9NrFGBI9la4ejT8FtTpiDTh52y8Us44kCa/FYBqrFSO\n\tNIYWLmcAZkI/J3VaUSkZTB2v4OjyKNd72p1uqRjGfus4nEyKaSO/0/hKa9FgB+AObgJI\n\tBaIA==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=message-id:date:subject:cc:to:from:arc-authentication-results;\n\tbh=gOSFWRivPmjMKFubbUAKKeX/d5jaGO7aY2myNlGOaSc=;\n\tb=H6Xpz1k+JLMTuXSi8XaL736jHo+PkCKoKlnNthuNp2unjXWQTtrlaiZ1o8A2KBS34P\n\t0khuapO/wpq2VZ+QnDrrH0rMww8DuFWxW28oWINFkpJC0b1IXc7eX09ZkC4KY4/jKhCy\n\tD4zno0GzRyWwiQVwoJ5S+yGhK8orAfaKZzg3BfNIE+qfuCM9L2FtBi704fOkSfiCgkMn\n\tND2ZdjKFfQjZ7Gkcn+NJfbvAQvp0Cocodnz2pf2Ssxma+/5OoMmtpRlSCadTaVMfGKYd\n\tMeH5C8PapX6WLUwWz846zgJ8s58ibVnVnYNDfnlyoYLNbY+Kh54FMgzhRZmPT64QrDVS\n\t+/1w=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:mime-version:from:to:cc:subject:date:message-id\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:list-post:list-help:list-archive\n\t:list-subscribe:list-unsubscribe;\n\tbh=mhzrrWOavFGHc9DjWKTDZaNvwmHQBbu7Gerqrc8xdH4=;\n\tb=HlE1XFTs1XXRrD/XFKUWBSCd+ZIZAyI9HKZvhXI9ik9bcNDkucYHhz4Nf+FQSeN3xL\n\tWkpGvKtUkGZt/iww51+UJXR3U8liKwceKRo+Kj+FRsxcWHbi5UQGdpNx658Ox+jd+YIH\n\tnVycf5WTSxCxR5JvuGdxZuIuUQAmBJ5XA/JBzmSyXcskvys7jwcKHxeuGEQhcAXAxAjE\n\t+/WVxT9RD7Pd12Sitvd3jL7skcEbGsaC1F2SxHNsEWGsBiM7etfhgJttugvt6+ISqFhl\n\tgcNtzUVLM3a6yH0wsbD7lM0kTC6/X4QPVWnS4SjGX59/6idg7P+AfpZWstUgjjidVEzB\n\teJcg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:mime-version:from:to:cc:subject:date\n\t:message-id:x-original-sender:x-original-authentication-results\n\t:precedence:mailing-list:list-id:x-spam-checked-in-group:list-post\n\t:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=mhzrrWOavFGHc9DjWKTDZaNvwmHQBbu7Gerqrc8xdH4=;\n\tb=InjLZFatTVYFNe2aflu5azytuIq+O1JCt3JsIThD/hnexjkA7zyDmVgBASGoZRdqyH\n\twf0dSg7TPUlI0DxuO5+253IFub+54BMwxTYP6BoKV1PleetO5h9dLl/8CIOc/T3cNg2z\n\tgM+RktdlMR4ecXH3LXLpR5L5qT0EvEjb3btkmx3icPHC5kJl6L3dYxfagK4zMXioDyjA\n\tDv+ug0Xg9M2jCCaXPjbiXLYxQSy9/pDRSajD+WrKYSr0LJuE4n7LIfo7KlD3T4Q52Fj9\n\tXj5oa61CnLqRF06cOx/9GlVId5a5Hn7Jmko0pb3MXVRdsOYW1gD8A+lEgjromy8o/PBy\n\tACLQ==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AHPjjUi1tvyBcZop+6zhD4fRC2Og3NkEg3vRAWsOeF67e+LBw/ttGY/8\n\tVxTpPAGThcsrZw==","X-Google-Smtp-Source":"ADKCNb7vSYLID226dUtmpqoG+OVT0X4vQE7o5b7eXP9CaK0PZBhAbtQwVm6wwN1jiNGfiBgC/IR+lA==","X-Received":["by 10.46.77.154 with SMTP id c26mr5343ljd.23.1504606621150;\n\tTue, 05 Sep 2017 03:17:01 -0700 (PDT)","by 10.25.198.211 with SMTP id w202mr308494lff.37.1504606620389; \n\tTue, 05 Sep 2017 03:17:00 -0700 (PDT)"],"MIME-Version":"1.0","X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 212.18.0.9 is neither permitted nor\n\tdenied by best guess record for domain of sbabic@denx.de)\n\tclient-ip=212.18.0.9; ","X-Virus-Scanned":["amavisd-new at mnet-online.de","Debian amavisd-new at babic.homelinux.org"],"From":"Stefano Babic <sbabic@denx.de>","To":"swupdate@googlegroups.com","Cc":"christian.storm@siemens.com,\n\tStefano Babic <sbabic@denx.de>","Subject":"[swupdate] [PATCH] Fix build on travis-ci","Date":"Tue,  5 Sep 2017 12:16:49 +0200","Message-Id":"<1504606609-5628-1-git-send-email-sbabic@denx.de>","X-Mailer":"git-send-email 2.7.4","X-Original-Sender":"sbabic@denx.de","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 212.18.0.9 is neither permitted nor denied by best guess\n\trecord\n\tfor domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de","Content-Type":"text/plain; charset=\"UTF-8\"","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact swupdate+owners@googlegroups.com","List-ID":"<swupdate.googlegroups.com>","X-Spam-Checked-In-Group":"swupdate@googlegroups.com","X-Google-Group-Id":"605343134186","List-Post":"<https://groups.google.com/group/swupdate/post>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"},"content":"Building SWUpdate requires some external libraries from mtd-utils and\nU-Boot. They are not part of any distro and must be built from hand.\nPut build information into travis.yml to load and build both mtd-utils\nand U-Boot, and uses the \"sandbox\" target to build the U-Boot utilities.\n\nSigned-off-by: Stefano Babic <sbabic@denx.de>\n---\n .travis.yml | 30 +++++++++++++++++++++++++++++-\n 1 file changed, 29 insertions(+), 1 deletion(-)","diff":"diff --git a/.travis.yml b/.travis.yml\nindex f1dfb06..4a32c72 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -6,6 +6,8 @@ language: c\n \n before_install:\n     - sudo apt-get -qq update\n+    - sudo apt-get install -y build-essential\n+    - sudo apt-get install -y automake\n     - sudo apt-get install -y libzmq3-dev\n     - sudo apt-get install -y libcurl4-openssl-dev\n     - sudo apt-get install -y liblua5.2-dev\n@@ -13,5 +15,31 @@ before_install:\n     - sudo apt-get install -y libarchive-dev\n     - sudo apt-get install -y libjson0-dev\n     - sudo apt-get install -y zlib1g-dev\n+    - sudo apt-get install -y git\n+    - sudo apt-get install -y uuid\n+    - sudo apt-get install -y uuid-dev\n+    - sudo apt-get install -y liblzo2-dev\n \n-script: for i in configs/*;do echo $i;make `basename $i` && make;done\n+script:\n+    - sudo mkdir -p /usr/local/lib\n+    - sudo mkdir -p /usr/local/include\n+    - sudo mkdir -p /usr/local/include/mtd\n+    - git clone git://git.infradead.org/mtd-utils.git\n+    - cd mtd-utils\n+    - git checkout -b tmp v2.0.0\n+    - ./autogen.sh\n+    - ./configure\n+    - make\n+    - sudo install -m 644 include/libubi.h /usr/local/include/mtd\n+    - sudo install -m 644 include/libmtd.h /usr/local/include/mtd\n+    - sudo install -m 644 include/mtd/ubi-media.h /usr/local/include/mtd\n+    - sudo install -m 644 *.a /usr/local/lib\n+    - cd ..\n+    - git clone git://git.denx.de/u-boot\n+    - cd u-boot\n+    - git checkout -b tmp v2017.07\n+    - make sandbox_defconfig\n+    - make env\n+    - sudo install -m 644 tools/env/lib.a /usr/local/lib/libubootenv.a\n+    - cd ..\n+    - for i in configs/*;do echo $i;make `basename $i` && make;done\n","prefixes":[]}