From unknown Sat Aug 16 18:19:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#70943 <70943@debbugs.gnu.org> To: bug#70943 <70943@debbugs.gnu.org> Subject: Status: linux-libre is not reproducible (regression) Reply-To: bug#70943 <70943@debbugs.gnu.org> Date: Sun, 17 Aug 2025 01:19:32 +0000 retitle 70943 linux-libre is not reproducible (regression) reassign 70943 guix submitter 70943 Maxim Cournoyer severity 70943 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 14 11:40:49 2024 Received: (at submit) by debbugs.gnu.org; 14 May 2024 15:40:49 +0000 Received: from localhost ([127.0.0.1]:40005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6uGm-0006lc-OV for submit@debbugs.gnu.org; Tue, 14 May 2024 11:40:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:37644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s6uGi-0006lW-NS for submit@debbugs.gnu.org; Tue, 14 May 2024 11:40:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6uGh-0001Wz-0s for bug-guix@gnu.org; Tue, 14 May 2024 11:40:43 -0400 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6uGe-0002Ze-Se for bug-guix@gnu.org; Tue, 14 May 2024 11:40:42 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-69b5de48126so27038656d6.3 for ; Tue, 14 May 2024 08:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715701238; x=1716306038; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=j0JAW0yetSHRlSe95h78rVnsXrtqSUwRlWDGHsdeUFY=; b=mJhbJgQMMPhZW/OEZxE5OYUXJgalYqoMppiW5swt8NZGX9F8LNLAZsFiK78sxA5Arx jqk2erRg4M2usNdCO8qTORT2UMFTVK2k+Yb/pbqHCobCD4DwUYuTyo0Z6d45tPjh84Il ou5unor0CUz4awOMOo15J2eIH8Ekh+/MJOIw/95CR2204dRdCr7g68QO0g/ZDie7BEOy /TTQHUBAA6rUhNM6VpWdPhSpRoN7BGIsKvCGRvkwnbY7C91tULjQLKqldm+PM36teWbw ecbCK1Y+gJpsaIzub+VbTiYGpncPPlM4LuPXJQzw+uvQHjrtsVNfHpoUCL6GrYLAslqY a3ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715701238; x=1716306038; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=j0JAW0yetSHRlSe95h78rVnsXrtqSUwRlWDGHsdeUFY=; b=celKqfuzO72G1gcwg2TDT8+jigCbcoLT2van/HOGfFsPSYIdU5xuUd4DmMUwAcpkY5 5i2X9BvbQtCdeZZ10AQeBBY8w36zan++TqBll9oUMY7CYfOWggPJ8xV827Kp9Cl7WwVR ODGipPmpZCrnf96/rzdiy7MbhOonGfSLWeuFIukWTyav51LKYMkYTpTRa96EUBLeLRs0 +cL2gYBpbl5e2aXmyAikBRwHOQVVne3OwIpq+sS4kgzdunqgSrOeYiMIuXsXPg+Epyea ewse2oFVoPMOfTgaFeT4IjTxNp/0+kwMQenk6FXWXxcKVep8jxsoJ34DbaNQjlT6Gqlk 8r9A== X-Gm-Message-State: AOJu0YxOyHzMZB5W/oyK4G0DEkW9NiEz3tzCXnmMmpt+dhEFga8gzxXX Ff2g5z2ilT3GzBkTGrMLns0yJ4gbw680moYW3CBNscfifE40oDJlpZF4mw== X-Google-Smtp-Source: AGHT+IEcI7tdS3s5eytsFFniunrNMWF89Zb/Esc5aRVc0F0f3sYeTHk1U0ouoKAImTgmJoZuGpIiVw== X-Received: by 2002:a05:6214:450f:b0:6a0:cd6b:4149 with SMTP id 6a1803df08f44-6a168140ee1mr150042006d6.1.1715701237407; Tue, 14 May 2024 08:40:37 -0700 (PDT) Received: from hurd (dsl-10-128-5.b2b2c.ca. [72.10.128.5]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a15f1d8e7dsm54521366d6.121.2024.05.14.08.40.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 08:40:37 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: linux-libre is not reproducible (regression) Date: Tue, 14 May 2024 11:40:35 -0400 Message-ID: <87a5ksz9jg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, I've investigated non-determinism in our linux-libre package, which sadly appears to have regressed in that regard since I last looked into it 3 years ago (see commit 01ea70a29c5c1ded31c37ce8c43192bc1956b2ca ("gnu: linux-libre: Make build reproducible.")). I'm currently seeing these differing files: --8<---------------cut here---------------start------------->8--- $ diff -ql /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9{,-check} Files /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/bzImage and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/bzImage differ Common subdirectories: /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/lib and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/lib Common subdirectories: /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/share and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/share Files /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/System.map and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/System.map differ --8<---------------cut here---------------end--------------->8--- I'll take a look at what Yocto does differently, if anything. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Sun May 26 14:17:19 2024 Received: (at 70943) by debbugs.gnu.org; 26 May 2024 18:17:19 +0000 Received: from localhost ([127.0.0.1]:42529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBIQo-000209-SK for submit@debbugs.gnu.org; Sun, 26 May 2024 14:17:19 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:58784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBIQl-0001zs-Te for 70943@debbugs.gnu.org; Sun, 26 May 2024 14:17:17 -0400 Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-df4e1366da6so4745184276.1 for <70943@debbugs.gnu.org>; Sun, 26 May 2024 11:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716747361; x=1717352161; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=l0/KCCgyoeRmaIGKKHGdLrSeZDs4bdlsMpjUdpQNNMo=; b=jTAs+TGSUGSkp7Sg0DDV8jcaG2ME9JGS7i/M8GRJwkJjvyoXTgBehLM/luPIQVekbD 8jkD/EZIkWNtjJvC4gL3RpnI6j/k1ZqpYo9T9yhOWTgt7uz2+OLfAALQE26Pn2You8Cg obZ8CHfbZfLuBja0YCKTytC/qbtBVXvtP8ih6dzbAF8m5t/Gm6/Wr/X3qehboJZByjUa cOgZC2Y3++fSbtxkLCTQ/NiIcev3TgSp3U2IX15U2ECH9pMzf4zRgNFoVkWvcaAxHqBG uPbnRQNmB1eoVQ7JONd5g9lsVldUa1YZs9eblYWpoBIQNH4homhPD20IdSY//pe7pa9r pONg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716747361; x=1717352161; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l0/KCCgyoeRmaIGKKHGdLrSeZDs4bdlsMpjUdpQNNMo=; b=LvTOTKDMUeyXd3G9F1yepfxJuFbTqa1wswwlx1vfNd4v+9h3Ehpdwf3WIrafjRfZed EpH2fuJaBZ2DOzf+d8ySsQR4oU4aKdkE6xcVdr7sCkLYqZkm2+YuQ8cfY0b0anhA0kSE wvF/kVMr868Hzi5CXG/wPTjhqv05D3jxIF+Sai4vW/4BWFZPTbM4MuNdPLz8COpADsxm gAuRYAdSD+jVyOLmKR0aTEfbOHkOmEwUkExWajbdzJmlWm+bOPPC0Rejo6Z1Qt8RklzZ jBhhMouQrjMUgr88InEv9kRwTAasx5QwHVHI5Z3pX1Fgy5JTrd2lkYV+wOJFUZjoApUO Pzog== X-Gm-Message-State: AOJu0YzyydT7cZozjAtzubOQEDGHZpHpmVzqa23FW8y41AIWLh+0oJVI 2y0XqzgGp2vRqFE8C/jMv0mbUTityJs6LPtYPdJXN24cQEZ+TSTli5zzVrd+ X-Google-Smtp-Source: AGHT+IGpRMAuz3pb7QlmcElUQRFfGVVPhVP22rQY1nP/jFh5UPYQKK8ijcyI4oEIKLWPKv3Grk1XfQ== X-Received: by 2002:a25:aa82:0:b0:df7:71b7:c353 with SMTP id 3f1490d57ef6-df772222ea6mr8047393276.51.1716747360829; Sun, 26 May 2024 11:16:00 -0700 (PDT) Received: from hurd (dsl-153-139.b2b2c.ca. [66.158.153.139]) by smtp.gmail.com with ESMTPSA id af79cd13be357-794abd08f5asm239885985a.89.2024.05.26.11.16.00 for <70943@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 11:16:00 -0700 (PDT) From: Maxim Cournoyer To: 70943@debbugs.gnu.org Subject: Re: bug#70943: linux-libre is not reproducible (regression) In-Reply-To: <87a5ksz9jg.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 14 May 2024 11:40:35 -0400") References: <87a5ksz9jg.fsf@gmail.com> Date: Sun, 26 May 2024 14:15:59 -0400 Message-ID: <87o78sh21s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 70943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Maxim Cournoyer writes: > Hello, > > I've investigated non-determinism in our linux-libre package, which > sadly appears to have regressed in that regard since I last looked into > it 3 years ago (see commit 01ea70a29c5c1ded31c37ce8c43192bc1956b2ca > ("gnu: linux-libre: Make build reproducible.")). > > I'm currently seeing these differing files: > > $ diff -ql /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9{,-check} > Files /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/bzImage and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/bzImage differ > Common subdirectories: /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/lib and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/lib > Common subdirectories: /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/share and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/share > Files /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/System.map and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/System.map differ > > I'll take a look at what Yocto does differently, if anything. I didn't see anything special, although some BPF switches got turned on in the kernel by default in newer 6.X releases, and BPF appears to introduce non-determinism, accordingy to the Reproducible Builds website which says this [0]: Several distributions noticed recent versions of the Linux Kernel are no longer reproducible because the BPF Type Format (BTF) metadata is not generated in a deterministic way. This was discussed on the #reproducible-builds IRC channel, but no solution appears to be in sight for now. [0] https://reproducible-builds.org/reports/2023-04/ So it seems there'll need to be some reproducibility work for that feature in the kernel before it can be resolved (we could also disable all BPF features, but that seems counter-current at this point in time). -- Thanks, Maxim