From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 27B27C04A95 for ; Sun, 25 Sep 2022 15:04:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BA6BD84BFD; Sun, 25 Sep 2022 17:03:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Rt7UGzJF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3B7E84B5D; Sun, 25 Sep 2022 17:03:23 +0200 (CEST) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6BD6C84B06 for ; Sun, 25 Sep 2022 17:03:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd34.google.com with SMTP id e205so3447537iof.1 for ; Sun, 25 Sep 2022 08:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=+BE5JFYJp7MSfvyV1wnMRCC+mPKNHNfLI/bpwGJCvyY=; b=Rt7UGzJF8S6nAE+etH5japXaOAcAEvQXVWMj7AAulZYO5R+cjKfzsmBTPrlQleUEvh 3TPEOR8GyLGaD+SjJTcamdQbWqq9dzlB9910TDzbS8wQYbNDsfA/2bVVVhkGaF6gSxDb 1mRcok0+80DEuCAjxWzB9tMZ2sSsoI4lLTd+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=+BE5JFYJp7MSfvyV1wnMRCC+mPKNHNfLI/bpwGJCvyY=; b=KdIKusd4mCPCnXx2qm9btP7z64LgJnFzsEuFlaO91HRGivS4y8maUEa3+/LmLW3OLh 4bsUj1+PIknwDShsMsnpy3AGYoyDWiaNVDzl+tOjD8/x44R961K9jQ78Ee3gJGdKeD9K RfXcKwcvpUGwlpSfXRSWot8/cIKkUyOem7uiwXsVmNT5J3ViHgh3Y0nvrZluTfOJErRQ KvGkhJuq0C/6BV/iJ/4Ih0q1EHS9VYGgRh+YSop20eEURtiR+J/qYY6XqvONjs184EVk LVoXyxARdiM81pYr7TxI1nH74l2JkPdRZcdEynDdxFfr4JHVNwFY0bgbsWKyEpLQbC0Q 7okQ== X-Gm-Message-State: ACrzQf1x+YjbWrA/OsRJ8hHd48w0/potR8fD5tGtWRKOJRYgY5fWIz+z PbIs9abw3acBYK0aHHDJmP0+g36Dh08tlA== X-Google-Smtp-Source: AMsMyM4QSQZlkEPmOwiH6k885czFIT3zXwdAWh4x2FEWFdFW2NyGZgeM70R4EklgRLec1036Uy/E0Q== X-Received: by 2002:a05:6638:345b:b0:35a:21be:e7 with SMTP id q27-20020a056638345b00b0035a21be00e7mr9304752jav.311.1664118198644; Sun, 25 Sep 2022 08:03:18 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id u19-20020a926013000000b002f19d9838c6sm5360578ilb.25.2022.09.25.08.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 08:03:18 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , AKASHI Takahiro , Heinrich Schuchardt , Huang Jianan , Joel Stanley , Rick Chen Subject: [PATCH 09/45] CI: Install pyelftools for builds Date: Sun, 25 Sep 2022 09:02:12 -0600 Message-Id: <20220925150248.2524421-10-sjg@chromium.org> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220925150248.2524421-1-sjg@chromium.org> References: <20220925150248.2524421-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Binman needs this module to build sandbox_vpl so install it in the before_script and in the world build. The existing pip install is too late for the buildman invocation. Add it to the docker file for the future. Signed-off-by: Simon Glass --- .gitlab-ci.yml | 2 ++ tools/docker/Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e94bf8d4e8..47e36edcc4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,7 @@ stages: # If we've been asked to use clang only do one configuration. - export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD} - echo BUILD_ENV ${BUILD_ENV} + - pip install pyelftools - tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board ${TEST_PY_BD} ${OVERRIDE} - cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/ @@ -113,6 +114,7 @@ build all PowerPC platforms: build all other platforms: stage: world build script: + - pip install pyelftools - ret=0; ./tools/buildman/buildman -o /tmp -P -E -W -x arm,powerpc || ret=$?; if [[ $ret -ne 0 ]]; then diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index d3292e752a9..6fd7da66603 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -96,6 +96,7 @@ RUN apt-get update && apt-get install -y \ python3 \ python3-dev \ python3-pip \ + python3-pyelftools \ python3-sphinx \ python3-virtualenv \ rpm2cpio \ -- 2.37.3.998.g577e59143f-goog