From patchwork Sat Jan 1 11:29:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 1966 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33B8EC433EF for ; Sat, 1 Jan 2022 11:30:07 +0000 (UTC) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.web08.24119.1641036606105456164 for ; Sat, 01 Jan 2022 03:30:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Y4EzkvCV; spf=pass (domain: gmail.com, ip: 209.85.221.51, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f51.google.com with SMTP id q16so60176523wrg.7 for ; Sat, 01 Jan 2022 03:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lAAVPCwQcCd/esPvVRkH52q+23ldRhR5KpqJR2JYKG4=; b=Y4EzkvCVzyqVcMdi5D02SNWyYaxQxc3WCWU+9Pn3ropwyaM3woTWCt4sYQYr6Y4nvn KYSgRYp990wTPoGGjP/UZ2Ig029S0jXfVovQGqZXzeMQ+TlQMKrP5pzAgF/uvsNlniBx UH+buz2XfUO5fNEy0UTh0Gnrbju1LbSjXooT1IuYFdqMAoj2AIebIIool8fNSjBsacvu isiyooGnpmQ9L1tP29yp15le621i6O/1FFWrDyqHGYr8M6eLOm220qtrU2xC+GwXOISj OtURLFmRBsqzB8X5yMo58gHAR0rrIpqE2ixHNuIDxL3n7GSOmKBN8h6yJ8ew6LYe6JBj D8DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lAAVPCwQcCd/esPvVRkH52q+23ldRhR5KpqJR2JYKG4=; b=gFGqd1VOzMuU3jgrqGY47XRsU+ZMs3BMps+7/s+isrQD5R5zS/pTh848H4x/u9JVm9 4NVZSBdOF9rFm9Dwt03soG+boEl0hTPS9CQB05XqZuOl8ntkJGMLzqQeYHZtLJyGSR+h vz2sXirfXWK4yljyJBNUTNSIBD8zrgYcGJRi03/WjoIqm/zonXU5GdsKKXWxRCMZ7i5N 0n15tZqMO1CeTRDxNXbqNiUoiX7H3ehsQNsipIPbMZ/4qCVO4mH1/YMQME3j2Q8AMPx3 418QTbsWWqFOjnQwzONudnLbJVvY3nMruf/8irBQx8VyhR5NV5+7YvZWjM0Lapl0aJJ7 WEew== X-Gm-Message-State: AOAM531Yv63GMQiCYv54AowcISQkTBJncRQZPippKFz0a9BKFd8K0YcX xtK+zFs1aGueWrR/nbPl+Xwu/n8noRc= X-Google-Smtp-Source: ABdhPJxFEPH1+pexGdDaQQCJJVEW6SfZJdmujI/MwYP2kXqgcuAjjrm+L7wpzXreytDRNMpiBEIBEA== X-Received: by 2002:a5d:6d0a:: with SMTP id e10mr32222027wrq.65.1641036604486; Sat, 01 Jan 2022 03:30:04 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id j85sm44679935wmj.3.2022.01.01.03.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 03:30:04 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 1/6] go: log build id computations Date: Sat, 1 Jan 2022 12:29:54 +0100 Message-Id: <20220101112959.1866747-1-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 01 Jan 2022 11:30:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160094 go writes build-specific ids into binaries it produces and has a custom system for calculating them from file hashes, environment variables and other inputs (not that dissimilar to sstate cache, actually). This can go wrong :) in various ways (for purposes of reproducibility in particular), so this enables useful logs to see what happens and why. Signed-off-by: Alexander Kanavin --- meta/classes/go.bbclass | 2 ++ meta/recipes-devtools/go/go-common.inc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index aa54b4a08c..5c1fdd7d5f 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -2,6 +2,8 @@ inherit goarch GO_PARALLEL_BUILD ?= "${@oe.utils.parallel_make_argument(d, '-p %d')}" +export GODEBUG = "gocachehash=1" + GOROOT:class-native = "${STAGING_LIBDIR_NATIVE}/go" GOROOT:class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go" GOROOT = "${STAGING_LIBDIR}/go" diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc index dfccebdb83..5bbf35b787 100644 --- a/meta/recipes-devtools/go/go-common.inc +++ b/meta/recipes-devtools/go/go-common.inc @@ -37,6 +37,8 @@ export GO386 ?= "${TARGET_GO386}" export GOMIPS ?= "${TARGET_GOMIPS}" export GOROOT_FINAL ?= "${libdir}/go" +export GODEBUG = "gocachehash=1" + do_compile:prepend() { BUILD_CC=${BUILD_CC} } From patchwork Sat Jan 1 11:29:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 1967 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33FE6C4332F for ; Sat, 1 Jan 2022 11:30:08 +0000 (UTC) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mx.groups.io with SMTP id smtpd.web12.24197.1641036607049759456 for ; Sat, 01 Jan 2022 03:30:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZMy/5rMS; spf=pass (domain: gmail.com, ip: 209.85.128.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f52.google.com with SMTP id g7-20020a7bc4c7000000b00345c4bb365aso15836015wmk.4 for ; Sat, 01 Jan 2022 03:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RPoIPxrMWTDXqFESIE0culmYtK3q0lCAbfDxBJl2AGA=; b=ZMy/5rMSCaPJfs6Vl06yeiqz5TlNdpI1zlPZjfT52Lo/D3GDYV+TDYS48+A+N7mvFv 1N+ZQ2WUD8bzCPgT1o0SSwnMJQqy4awKmgUL9vLsXySUnAUnWmK8WhExCQOxDLBEtwV/ yTYj5/sPguqjNYhB99IhJX9Bdv0wN/8NhUjHc0nohYkbbMQoI71WDeYemfpRzVphvM6U X9zJknHIec+KmfC69/jNgXpFza6s1f/BDtsysUUFz/nAF92kNj2tSCxsOivCGJcK38e1 UqIhiuW4IAkPlh3T+VgXZVuXnx5uktpqc46aid6l/pEuMiRgo7BxsstIJnCMo9IMHQcv N+AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RPoIPxrMWTDXqFESIE0culmYtK3q0lCAbfDxBJl2AGA=; b=v2SCLRupOr+DCkyL62L4RmmyqYD5CALt17pvGRQuIXgM++Cw0/dGcNjQtZiVKHVY/A ip3y1OpjtmMUfONHdQ0YB9KqIL8Kdmk/rYU8BkS8/ZukHkSx4HA4fccqB9RB4guQMAfj 6djQKRurT2QErk/69Wz5WkkiVzzKm3eOaN80c8XgkCzNSmQ4dnCZtXpUuhTkDx6rynvP FHS5gYzVbacCXZbT0zQOJ+9VJwiVaf5smo2bQolZJT4ZUIz6Tse+fAB/j8iHmiN7ePvF Z5PT8+voIGdBEWuojc8fCFAM5AC0ErbxSsArWNSnIjP/laFZvAF7+zgDm1/r79wM/rZX rA4w== X-Gm-Message-State: AOAM533N4MgJn8RqcRHyrHmCGPSblUo3sFKsPybVJZNlYTkYlBOZxw8R phBnl5bC8NZz8Nqst+IVOCsKeh2rdS8= X-Google-Smtp-Source: ABdhPJzIPme9h+PXBwelBclhUlrbUtDGcwV72nHeN81nG08lNu5UjmqiW+U1FYL2koIkrs9b90UWOQ== X-Received: by 2002:a1c:a5c5:: with SMTP id o188mr33139197wme.22.1641036605155; Sat, 01 Jan 2022 03:30:05 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id j85sm44679935wmj.3.2022.01.01.03.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 03:30:04 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 2/6] lib/oe/reproducible: correctly set .git location when recursively looking for git repos Date: Sat, 1 Jan 2022 12:29:55 +0100 Message-Id: <20220101112959.1866747-2-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220101112959.1866747-1-alex@linutronix.de> References: <20220101112959.1866747-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 01 Jan 2022 11:30:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160095 Signed-off-by: Alexander Kanavin --- meta/lib/oe/reproducible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/reproducible.py b/meta/lib/oe/reproducible.py index 4fb99d963c..35b8be6d08 100644 --- a/meta/lib/oe/reproducible.py +++ b/meta/lib/oe/reproducible.py @@ -92,7 +92,7 @@ def find_git_folder(d, sourcedir): for root, dirs, files in os.walk(workdir, topdown=True): dirs[:] = [d for d in dirs if d not in exclude] if '.git' in dirs: - return root + return os.path.join(root, ".git") bb.warn("Failed to find a git repository in WORKDIR: %s" % workdir) return None From patchwork Sat Jan 1 11:29:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 1968 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 330A2C433F5 for ; Sat, 1 Jan 2022 11:30:08 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web08.24120.1641036607259407405 for ; Sat, 01 Jan 2022 03:30:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UEWZdlrT; spf=pass (domain: gmail.com, ip: 209.85.221.49, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f49.google.com with SMTP id a9so60075831wrr.8 for ; Sat, 01 Jan 2022 03:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X09jThlCJBJOWIRUzoIyY7Jjs3T/ua7iGBL9rLWIFHk=; b=UEWZdlrTpXRfDvWTePjvc/tlfsJi+qJOTveaFluazl+0BoJHzG2oWVG9UcsUAXbNES ypXfmWnABM68mdYdcw1Rr4ikb5R63sf1l39c8favI3kI2kqiT8gH1ZGlfZ8/ZC/v4Wks hnR71eXSqyR1mvBwhz6kF2xCebvqk04dA9j3kFy/RMAWVaQxT4kodS76ggDTOwcDB6k7 I0CUWIpJ6VK4VNqnHzpOz7QKEoEg5NusBTOjkHGNsSWv03j5/EtXhCw1og4pi0sIl2JO /7iuNmmf2AUfGDCuj2ip3tUDngAvj6be8K1A33Wyp1iKsLcTxvanht9I4QSrzt81S8wt JE+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X09jThlCJBJOWIRUzoIyY7Jjs3T/ua7iGBL9rLWIFHk=; b=FA5tZDKSiANnPKHu2doxpuHBmDZaDkogHn+mFDHqvJ0wTx0Ipeqxk0JXAAm9RmauHH nMdh35dCZk/9s40lxrXVaWvjHCSqyQn/f2Q+Gb8QtiG96h3b+3kSB3CRUTklMhdX44pQ Gh37UlB6bvPEbqVSNqP4QLAWDx2UuvOi5tbli/Bd1WW8BUWJ3VRASzGmkFAvdWDAM9zF i63rNL2TfyAEEjnX9btJn/fzKsvIk4wTY2Y5xd4UzLHEyvT3j+nRUxT6fIJx3AK/o690 Hk02SfkMurjBZYHFpRTRxOtesDF3PvCOgcgeysblrjE/lduQ4AzUujpX+35JMJK64e55 DT1A== X-Gm-Message-State: AOAM531NVoFxnD67blis4Qi7/ZXSu1UjrigGXFrkSq3YMhBwFgEhjn3x UXdgYZFp6aCxXzut9DoscizCnG60SyU= X-Google-Smtp-Source: ABdhPJyiF15TP6MblCBYjbUdXV6M07/3YcPI6oaRWGJhYlUGkKfCxvncJmcYIBjV2ijssWvZykH++g== X-Received: by 2002:a05:6000:23a:: with SMTP id l26mr31195284wrz.666.1641036605775; Sat, 01 Jan 2022 03:30:05 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id j85sm44679935wmj.3.2022.01.01.03.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 03:30:05 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 3/6] go: correctly set debug-prefix-map and build directory Date: Sat, 1 Jan 2022 12:29:56 +0100 Message-Id: <20220101112959.1866747-3-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220101112959.1866747-1-alex@linutronix.de> References: <20220101112959.1866747-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 01 Jan 2022 11:30:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160096 Go has its own system for creating temporary build sub-directories with randomized names, and setting up debug-prefix-map on the fly to prevent those directories leaking into target binaries. OE's own settings were clashing with it, so this change carefully avoids the two stepping on each other. Additionally, the top level build directory cannot be named 'go-something'. Signed-off-by: Alexander Kanavin --- meta/classes/go.bbclass | 2 +- meta/recipes-devtools/go/go-common.inc | 2 +- meta/recipes-devtools/go/go-runtime.inc | 7 ++++++- meta/recipes-devtools/go/go-target.inc | 10 ++++++++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index 5c1fdd7d5f..9c4c92bffd 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -67,7 +67,7 @@ GO_INSTALL_FILTEROUT ?= "${GO_IMPORT}/vendor/" B = "${WORKDIR}/build" export GOPATH = "${B}" -export GOTMPDIR ?= "${WORKDIR}/go-tmp" +export GOTMPDIR ?= "${WORKDIR}/build-tmp" GOTMPDIR[vardepvalue] = "" python go_do_unpack() { diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc index 5bbf35b787..83f8db7b39 100644 --- a/meta/recipes-devtools/go/go-common.inc +++ b/meta/recipes-devtools/go/go-common.inc @@ -23,7 +23,7 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" SSTATE_SCAN_CMD = "true" export GOROOT_OVERRIDE = "1" -export GOTMPDIR ?= "${WORKDIR}/go-tmp" +export GOTMPDIR ?= "${WORKDIR}/build-tmp" GOTMPDIR[vardepvalue] = "" export CGO_ENABLED = "1" diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc index 617e6b5414..a08d44dd3a 100644 --- a/meta/recipes-devtools/go/go-runtime.inc +++ b/meta/recipes-devtools/go/go-runtime.inc @@ -2,10 +2,15 @@ DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk" PROVIDES = "virtual/${TARGET_PREFIX}go-runtime" +DEBUG_PREFIX_MAP = "\ + -fdebug-prefix-map=${STAGING_DIR_HOST}= \ + -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ +" + export CGO_CFLAGS = "${CFLAGS}" export CGO_CPPFLAGS = "${CPPFLAGS}" export CGO_CXXFLAGS = "${CXXFLAGS}" -export CGO_LDFLAGS = "${LDFLAGS}" +export CGO_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED} ${SECURITY_LDFLAGS}" export GOCACHE = "${B}/.cache" GO_EXTLDFLAGS ?= "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} ${LDFLAGS}" diff --git a/meta/recipes-devtools/go/go-target.inc b/meta/recipes-devtools/go/go-target.inc index 47b4411d54..51f1b79cc3 100644 --- a/meta/recipes-devtools/go/go-target.inc +++ b/meta/recipes-devtools/go/go-target.inc @@ -1,6 +1,16 @@ DEPENDS = "virtual/${TUNE_PKGARCH}-go go-native" DEPENDS:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk go-native" +DEBUG_PREFIX_MAP = "\ + -fdebug-prefix-map=${STAGING_DIR_HOST}= \ + -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \ +" + +export CGO_CFLAGS = "${CFLAGS}" +export CGO_CPPFLAGS = "${CPPFLAGS}" +export CGO_CXXFLAGS = "${CXXFLAGS}" +export CGO_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED} ${SECURITY_LDFLAGS}" + export GOCACHE = "${B}/.cache" GO_LDFLAGS = "" GO_LDFLAGS:class-nativesdk = "-linkmode external" From patchwork Sat Jan 1 11:29:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 1969 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD64C433FE for ; Sat, 1 Jan 2022 11:30:09 +0000 (UTC) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mx.groups.io with SMTP id smtpd.web11.24247.1641036607885067394 for ; Sat, 01 Jan 2022 03:30:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ORDKz376; spf=pass (domain: gmail.com, ip: 209.85.128.50, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f50.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so15798804wme.4 for ; Sat, 01 Jan 2022 03:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9UE++Bo9ldTBVCUuBaUWY0c6s7HDORfIMK5zjrR7Aak=; b=ORDKz376YKzoOLJDOzFWAb8wvZiLXyBM/cNKf1VdsO4bm1ZxlXZtzAOgpkcz9ylTyh 0TxPQH0MNlHZ996pJnlclD4ywEzEMoVAx7ZkeUVifrMMF+Mezvr5WC+6EyHbPTnqpy80 LW9KfzLxLFwNTOpuUv/qGRTZ9aWhZoHNY+NeLPpCooCbtC4cy8MLGSPA1e45JkXFgJeB SsMLN/PcQHHAmAmcLBxhLr/46sLjMMpRFpHkvgc2cZC+mMEm1dGX8goxlbJ0Zk/Nrc+s rjUHGo9VSinZKFpRD4hgZPV1C1fDCfItmGBCgCpsmReijKtTJ7YnNFkZ4XG26T8xGsd5 VNOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9UE++Bo9ldTBVCUuBaUWY0c6s7HDORfIMK5zjrR7Aak=; b=vgZmhJn9RwdHJLA7aTlrQwKKrBrY26p6t8GQVqIPF2Xvio6HOdJgZmdTq1aeaL5ZZq w2XfUX2TtnGqvRvuhJb8v/i7vTt9tvn96vq2IbN+6OAOd7WbUYCoeg9x+Oz0i455wvi+ XECH+019X+ludHuVUb36XL5sVuQy23qLGbwBiXVhFQ9X7lEjx5O8aH8T9kxmVjK77vVD nCjLDQes6YeKd8/itHsmzEOijHt28pD1Tg6ku87E6omcLCmLajTh91zWn9k3GmbGvrik Rw5/eEAJJI9AlPudfNmK6H+2RMK5hlyhbrP4vXGOzPdD5pjSLxKOC2vql9VoJpq4808g hOmw== X-Gm-Message-State: AOAM5316cf9P2UbRkq7kN+uJz92+bOHEPRX8IozhktSyNnCbISVj7DL4 VjqyKLp5OiioTM0kjt7b4oVybU7kn+Y= X-Google-Smtp-Source: ABdhPJzuqBMjZTFchAAeGn0i4aj85m1eiQ4aTz35/bLUiJqBUUBoBI8Nxr5lrbmql0TTI/hfMTXtEg== X-Received: by 2002:a05:600c:ad2:: with SMTP id c18mr31841215wmr.177.1641036606446; Sat, 01 Jan 2022 03:30:06 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id j85sm44679935wmj.3.2022.01.01.03.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 03:30:06 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 4/6] go-runtime.inc: do not make installation set dependent on host Date: Sat, 1 Jan 2022 12:29:57 +0100 Message-Id: <20220101112959.1866747-4-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220101112959.1866747-1-alex@linutronix.de> References: <20220101112959.1866747-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 01 Jan 2022 11:30:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160097 This cannot be right: what we install for the target should not depend on what host it's being built on. If this was fixing some problem, there needs to be a different solution. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/go/go-runtime.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/go/go-runtime.inc b/meta/recipes-devtools/go/go-runtime.inc index a08d44dd3a..106017bd89 100644 --- a/meta/recipes-devtools/go/go-runtime.inc +++ b/meta/recipes-devtools/go/go-runtime.inc @@ -43,10 +43,8 @@ do_compile[cleandirs] += "${GOTMPDIR} ${B}/bin ${B}/pkg" do_install() { install -d ${D}${libdir}/go/src cp --preserve=mode,timestamps -R ${B}/pkg ${D}${libdir}/go/ - if [ "${BUILD_GOTUPLE}" != "${TARGET_GOTUPLE}" ]; then - rm -rf ${D}${libdir}/go/pkg/${BUILD_GOTUPLE} - rm -rf ${D}${libdir}/go/pkg/obj/${BUILD_GOTUPLE} - fi + rm -rf ${D}${libdir}/go/pkg/${BUILD_GOTUPLE} + rm -rf ${D}${libdir}/go/pkg/obj/${BUILD_GOTUPLE} rm -rf ${D}${libdir}/go/pkg/tool rm -rf ${D}${libdir}/go/pkg/obj rm -rf ${D}${libdir}/go/pkg/bootstrap From patchwork Sat Jan 1 11:29:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD93C43217 for ; Sat, 1 Jan 2022 11:30:09 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.web11.24248.1641036608463653382 for ; Sat, 01 Jan 2022 03:30:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PwS5kzsZ; spf=pass (domain: gmail.com, ip: 209.85.221.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f47.google.com with SMTP id d9so60246661wrb.0 for ; Sat, 01 Jan 2022 03:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w/73wiXP80n4EVJD6lI9SG2JHXZHXhomrm4eKyZD1E0=; b=PwS5kzsZaR/0ZJ+sI+JSb1cJf8YssCpJgzwLvE0e+rojtV1+eR1DKOplxpP9GUo/Vk 3WiMe/NUVtpL0AyGB5knIQn3TmxnS890tnwDqC2AyUegBnaQvw0lqQITGRaa2A4kkT9J b1uctYtxMMSqJKGVz5IITPuUvs3ESJqAvXbLH/QqXXB719t7VUvyf2wqaNN5iyaDRKRH ttJ+jcOm3cqzvRk0jpTIBfaYfY463a8vAo0Ha9R36gpCMzYSjRmnVkbtGdOL5S/r3WGz 0GbkJU1RkvwD3cXZl23v8/P68qnuBWt7dd3ajJ9CDQ+0ZqhCUXDZ9AQMh0eAm9o6AudN aPaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w/73wiXP80n4EVJD6lI9SG2JHXZHXhomrm4eKyZD1E0=; b=fq+APFt1Fz61UJ/nfqPjByf7pGxLy6zi9+ZYGTlJ9m/sD3zKjQKpEBpSBNx9JJgMyt LclXo26yqHyBegrC2EzVliVhCeYMoOzAwADiXhUUTP0wDZfildMJYZxBwJ+siVj1YsT0 7TO5DcTaVQgS5yJ+JWIyg2ez1XOrreJEfDPsMI4KMOxhwVk+m5v6gPGHbI7lBULAVXzA vK1Egm7EMsqaV0U/SMuH+rT/iwzXqegxhDg4O6cYm7piSFqYvPeDhV4k8vkf9GWZ7xdT PnymLTy0jktCv7kAwIfBG0KHP8FGdu0WFlPGceOpyFynHPd49eK1/Xi6irRtcsEnXMri ayHQ== X-Gm-Message-State: AOAM531XQC+W1KL/fa9rdHOYNt/3I4WuiftWYeQJTzavZjtU3KXqXBcD tPhLOe86noFt5MWqObS989C8LjucyuI= X-Google-Smtp-Source: ABdhPJw80u8BWGEE6jGbADiAFoxjx/30rlKljZo49Rs/fAfOzPn6TM6eh43IXfyUQ1tQZY0rPaLZ+g== X-Received: by 2002:a5d:6d8a:: with SMTP id l10mr32724546wrs.270.1641036607024; Sat, 01 Jan 2022 03:30:07 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id j85sm44679935wmj.3.2022.01.01.03.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 03:30:06 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 5/6] go: additional patches to help reproducibility Date: Sat, 1 Jan 2022 12:29:58 +0100 Message-Id: <20220101112959.1866747-5-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220101112959.1866747-1-alex@linutronix.de> References: <20220101112959.1866747-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 01 Jan 2022 11:30:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160098 Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/go/go-1.17.5.inc | 2 + ...not-write-linker-flags-into-buildids.patch | 41 +++++++++++++++++++ ...ldgo.go-do-not-hardcode-host-compile.patch | 41 +++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 meta/recipes-devtools/go/go-1.17/0001-exec.go-do-not-write-linker-flags-into-buildids.patch create mode 100644 meta/recipes-devtools/go/go-1.17/0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch diff --git a/meta/recipes-devtools/go/go-1.17.5.inc b/meta/recipes-devtools/go/go-1.17.5.inc index baddd3b215..56957f7c6e 100644 --- a/meta/recipes-devtools/go/go-1.17.5.inc +++ b/meta/recipes-devtools/go/go-1.17.5.inc @@ -14,6 +14,8 @@ SRC_URI += "\ file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \ + file://0001-exec.go-do-not-write-linker-flags-into-buildids.patch \ + file://0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ " SRC_URI[main.sha256sum] = "3defb9a09bed042403195e872dcbc8c6fae1485963332279668ec52e80a95a2d" diff --git a/meta/recipes-devtools/go/go-1.17/0001-exec.go-do-not-write-linker-flags-into-buildids.patch b/meta/recipes-devtools/go/go-1.17/0001-exec.go-do-not-write-linker-flags-into-buildids.patch new file mode 100644 index 0000000000..20b6636f65 --- /dev/null +++ b/meta/recipes-devtools/go/go-1.17/0001-exec.go-do-not-write-linker-flags-into-buildids.patch @@ -0,0 +1,41 @@ +From bdd69b55387f80c8df18d0af5008bf5e1a66be6a Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Mon, 23 Nov 2020 19:22:04 +0000 +Subject: [PATCH] exec.go: do not write linker flags into buildids + +The flags can contain build-specific paths, breaking reproducibility. + +To make this acceptable to upstream, we probably need to trim the flags, +removing those known to be buildhost-specific. + +Upstream-Status: Inappropriate [needs upstream discussion] +Signed-off-by: Alexander Kanavin +--- + src/cmd/go/internal/work/exec.go | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go +index 696db23..727d40b 100644 +--- a/src/cmd/go/internal/work/exec.go ++++ b/src/cmd/go/internal/work/exec.go +@@ -1136,7 +1136,7 @@ func (b *Builder) linkActionID(a *Action) cache.ActionID { + } + + // Toolchain-dependent configuration, shared with b.linkSharedActionID. +- b.printLinkerConfig(h, p) ++ //b.printLinkerConfig(h, p) + + // Input files. + for _, a1 := range a.Deps { +@@ -1418,7 +1418,7 @@ func (b *Builder) linkSharedActionID(a *Action) cache.ActionID { + fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch) + + // Toolchain-dependent configuration, shared with b.linkActionID. +- b.printLinkerConfig(h, nil) ++ //b.printLinkerConfig(h, nil) + + // Input files. + for _, a1 := range a.Deps { +-- +2.17.1 + diff --git a/meta/recipes-devtools/go/go-1.17/0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch b/meta/recipes-devtools/go/go-1.17/0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch new file mode 100644 index 0000000000..257454a67d --- /dev/null +++ b/meta/recipes-devtools/go/go-1.17/0001-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch @@ -0,0 +1,41 @@ +From 2055a46b396e272616c0b2273903e02c3b49a2ff Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Tue, 10 Nov 2020 16:33:27 +0000 +Subject: [PATCH] src/cmd/dist/buildgo.go: do not hardcode host compilers into + target binaries + +These come from $CC/$CXX on the build host and are not useful on targets; +additionally as they contain host specific paths, this helps reproducibility. + +Upstream-Status: Inappropriate [needs upstream discussion] +Signed-off-by: Alexander Kanavin +--- + src/cmd/dist/buildgo.go | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/cmd/dist/buildgo.go b/src/cmd/dist/buildgo.go +index caafc13..4eb1c96 100644 +--- a/src/cmd/dist/buildgo.go ++++ b/src/cmd/dist/buildgo.go +@@ -34,8 +34,8 @@ func mkzdefaultcc(dir, file string) { + fmt.Fprintf(&buf, "package cfg\n") + fmt.Fprintln(&buf) + fmt.Fprintf(&buf, "const DefaultPkgConfig = `%s`\n", defaultpkgconfig) +- buf.WriteString(defaultCCFunc("DefaultCC", defaultcc)) +- buf.WriteString(defaultCCFunc("DefaultCXX", defaultcxx)) ++ buf.WriteString(defaultCCFunc("DefaultCC", map[string]string{"":"gcc"})) ++ buf.WriteString(defaultCCFunc("DefaultCXX", map[string]string{"":"g++"})) + writefile(buf.String(), file, writeSkipSame) + return + } +@@ -46,8 +46,8 @@ func mkzdefaultcc(dir, file string) { + fmt.Fprintf(&buf, "package main\n") + fmt.Fprintln(&buf) + fmt.Fprintf(&buf, "const defaultPkgConfig = `%s`\n", defaultpkgconfig) +- buf.WriteString(defaultCCFunc("defaultCC", defaultcc)) +- buf.WriteString(defaultCCFunc("defaultCXX", defaultcxx)) ++ buf.WriteString(defaultCCFunc("defaultCC", map[string]string{"":"gcc"})) ++ buf.WriteString(defaultCCFunc("defaultCXX", map[string]string{"":"g++"})) + writefile(buf.String(), file, writeSkipSame) + } + From patchwork Sat Jan 1 11:29:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 1971 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23F0DC433EF for ; Sat, 1 Jan 2022 11:30:10 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web12.24198.1641036609123883201 for ; Sat, 01 Jan 2022 03:30:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=V8vafJGW; spf=pass (domain: gmail.com, ip: 209.85.221.44, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f44.google.com with SMTP id j18so60187186wrd.2 for ; Sat, 01 Jan 2022 03:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AoIgEx5XRSDjgG2Ga85ex/+I8Nng8zG1zWPDhCUWKek=; b=V8vafJGW/z+YlvJpA6VVGIou47hf8PiHlhsQ4ZXD8/Moby9CQhom9PZmgxoSK426Za sOAxEG7GB6q47AWjzQ//TbAa5IMaAiP749SL5PetvI0oO8swUsBg3I3T7PE/pIjXFiGP bcfda3Qa6/VILhPcej4vNkbdvdajc6ALR1FvoRAJYYNLmnA3bvXDTrz3ymr5xY7SSsRu qlZ4t5tdctBNUvwhRveyP0/ufpFuhZAXOpQ1OHL8S4OrznCUDevFr25CwVHXg4p5bNA+ rOt62ywMLnFlu2l3qX1r03/N5NrQHZSupSJNf/QABaZpLtok/qvV4tYaHpOkaKgwOgak c++w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AoIgEx5XRSDjgG2Ga85ex/+I8Nng8zG1zWPDhCUWKek=; b=s0lI3XYiaZqgFXV83cy40qiLdHYXabhUFAGTjzW5rXlWgpsYQPJqaHb8YwmAq9LFSG uboeCs91bcBp3ep8EfIeIS/TDZcY82gnfFCknv2IXovnRNcM1mW89pCZhkg/TnYb9BIv 3T+INv5NWLui8xZA0K0JdEphI9XksA9VvAdotA/0PRJgWZ76Lr5ckvqsetgxeuxoyOyk 3Ve3Mj6FPRdXpzNsuHswM1KkXxiqV/9Eb/tDUGUAsMu3/4qRYf6lLYowamti5s2KPkkW cqwrs/daFEit5d8RCv0zP2UjWPfbxwL5Mhy2vyB0XE4gN7qZrSjfTDEtjTCCIVcg+4td ZUow== X-Gm-Message-State: AOAM533fl6BieWxqspKkH96R2kNkcPLGVxRqwYCnOZRvFGyB4TBE+Url cKoxDI6sZL9H4j0f5i5k8B+3ciBZLb8= X-Google-Smtp-Source: ABdhPJxAfZb6yks0rz0Q3mVu27tR7nqlBFg+qZnukFTPAdVxU/jn5AnlQm2uXqiC2zepr9No7eY2EA== X-Received: by 2002:a5d:4b0a:: with SMTP id v10mr31567061wrq.294.1641036607629; Sat, 01 Jan 2022 03:30:07 -0800 (PST) Received: from nereus.lab.linutronix.de. (b2b-109-90-143-203.unitymedia.biz. [109.90.143.203]) by smtp.gmail.com with ESMTPSA id j85sm44679935wmj.3.2022.01.01.03.30.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 03:30:07 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 6/6] selftest/reproducible: drop go items from exception list Date: Sat, 1 Jan 2022 12:29:59 +0100 Message-Id: <20220101112959.1866747-6-alex@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220101112959.1866747-1-alex@linutronix.de> References: <20220101112959.1866747-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 01 Jan 2022 11:30:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160099 With this changeset, go becomes reproducible \0/ Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/reproducible.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index 2e983d2f17..fce48a2943 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -17,24 +17,11 @@ import stat import os import datetime -# For sample packages, see: -# https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201127-0t7wr_oo/ -# https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201127-4s9ejwyp/ -# https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201127-haiwdlbr/ -# https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201127-hwds3mcl/ -# https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201203-sua0pzvc/ -# (both packages/ and packages-excluded/) - # ruby-ri-docs, meson: #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/ # rust-llvm: #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210825-kaihham6/ exclude_packages = [ - 'glide', - 'go-helloworld', - 'go-runtime', - 'go_', - 'go-', 'ruby-ri-docs', 'rust-llvm-liblto', 'rust-llvm-staticdev'