From patchwork Fri Jan 19 02:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125067 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp83473ljf; Thu, 18 Jan 2018 18:01:36 -0800 (PST) X-Google-Smtp-Source: ACJfBosz8phQ+Md/fsvb9W+Os/BO7l0p16iSvFFJjQ3Bw6ygmp6Ht/5H2kLgCPcdwVRsZhoweLhT X-Received: by 10.55.215.20 with SMTP id m20mr66746737qki.60.1516327295847; Thu, 18 Jan 2018 18:01:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516327295; cv=none; d=google.com; s=arc-20160816; b=SgRtgBSxK2cYRxecl+Das4LyUGT8Oz/Aohu71XDitM4u2S6bs8x4PKBlDipXIiuD4F Yuyle76CV5tXmMxpTRNq1jzHcAl73BvlXm9qKqkberKOGJ0VEwUN1oVBOWnNytf/vU8G IakvosoDLEiuh49rgrnmBM0OawVqZMkwQphzcNayYkbH6KapR5QuxP7QIJDaEn6zdbAo jdGYsypV7mVKQtDpXOwVWUrVFCag5+0pjWzRv06gRrIab+UKR1iNDvpnvIsBhd1J43T4 fknlcSVQioZ/TXzIGMy+N5EPOxcj8KAdBFXHoiweWM6WtCuZSGpt/MMA/eK6NUALkKix itiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=bT+pMusa04hXF9g19YUw72xGG9T7jKCKaUav7wbeMZg=; b=of5U3DqLnCWrr8BNjDx65ZoZw8shMgjBjPbkqLnIaptfaEqQtQZrB+mieoQvdOQQlI pj2N/4FVuWNZDrS0d4cydBgUPriaIbwOt1MX0ABNwoca0U0XJ/XfubpuTg46O38w2Poa 7rNYKPM9fMf2CP5eBQLo2lAlpH4N/O5OScir5QDEcZrloPyfsY+VwJ25wQWsQ93JkBO4 3jbPK6RRIWEg9Y6s9Crh/BuUuaqdjj6R/zjRWOZG7lK9pvqXXIMd597b33oMvAW3tyNt nIJCXxi2Jw/fuX7nEY00bamEQVgdCAw8hUbivNxfXxFIW+SEOuF1BydrmWXQcfW2CrB6 Bvbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id q3si8784629qki.5.2018.01.18.18.01.35; Thu, 18 Jan 2018 18:01:35 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 8186A6278B; Fri, 19 Jan 2018 02:01:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E3A4C6277D; Fri, 19 Jan 2018 02:00:59 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 65B96617DC; Fri, 19 Jan 2018 02:00:54 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 4793E619C7 for ; Fri, 19 Jan 2018 02:00:25 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward100o.mail.yandex.net (Yandex) with ESMTP id A3B8C2A23A7A for ; Fri, 19 Jan 2018 05:00:23 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id TZhYj3yjtM-0Nu0ufii; Fri, 19 Jan 2018 05:00:23 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id MJUZq2jn8X-0GJGiNFL; Fri, 19 Jan 2018 05:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 19 Jan 2018 05:00:05 +0300 Message-Id: <1516327210-19457-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516327210-19457-1-git-send-email-odpbot@yandex.ru> References: <1516327210-19457-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 402 Subject: [lng-odp] [PATCH v3 1/6] travis: stop early when installation of cross-packages has failed X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov If installation of cross-packages fails, installation will abort with obscure error message. Stop early providing more precise "error" point. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 402 (lumag:travis-upd) ** https://github.com/Linaro/odp/pull/402 ** Patch: https://github.com/Linaro/odp/pull/402.patch ** Base sha: 5a4502fc6bc53e6503169da3028f456b64811a0b ** Merge commit sha: bec38d48297ebf78da7d67c986b91604e4597080 **/ .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b614668c5..39dbb5865 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,15 +97,15 @@ before_install: sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty main" ; sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty-updates main" ; sudo -E apt-get -y update || true ; - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential || exit 1; if [ "$CROSS_ARCH" = "i386" ] ; then - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install g++-multilib ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install g++-multilib || exit 1; else - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install g++-"$CROSS_GNU_TYPE" ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install g++-"$CROSS_GNU_TYPE" || exit 1; fi ; - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" libstdc++-4.8-dev:"$CROSS_ARCH" libpcap0.8-dev:"$CROSS_ARCH" ; - [ "$CROSS_ARCH" = "armhf" ] || sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libnuma-dev:"$CROSS_ARCH"; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" libstdc++-4.8-dev:"$CROSS_ARCH" libpcap0.8-dev:"$CROSS_ARCH" || exit 1; + [ "$CROSS_ARCH" = "armhf" ] || sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libnuma-dev:"$CROSS_ARCH" || exit 1; export PKG_CONFIG_PATH=/usr/lib/${CROSS_MULTIARCH}/pkgconfig:/usr/${CROSS_MULTIARCH}/lib/pkgconfig ; fi - if [ "${CC#clang}" != "${CC}" ] ;