From unknown Fri Jun 13 09:59:22 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#40459 <40459@debbugs.gnu.org> To: bug#40459 <40459@debbugs.gnu.org> Subject: Status: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh Reply-To: bug#40459 <40459@debbugs.gnu.org> Date: Fri, 13 Jun 2025 16:59:22 +0000 retitle 40459 Non-reproducible behaviour in libtool < 2.2.7b bootstrapped l= tmain.sh reassign 40459 guix submitter 40459 Carl Dong severity 40459 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 17:31:37 2020 Received: (at submit) by debbugs.gnu.org; 5 Apr 2020 21:31:37 +0000 Received: from localhost ([127.0.0.1]:46727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLCrg-00029P-R6 for submit@debbugs.gnu.org; Sun, 05 Apr 2020 17:31:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:43132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLCrf-00029E-E9 for submit@debbugs.gnu.org; Sun, 05 Apr 2020 17:31:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55804) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLCre-0000Zk-6L for bug-guix@gnu.org; Sun, 05 Apr 2020 17:31:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLCrc-0005B7-QB for bug-guix@gnu.org; Sun, 05 Apr 2020 17:31:33 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:51977) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLCrc-0005AT-Gl for bug-guix@gnu.org; Sun, 05 Apr 2020 17:31:32 -0400 Date: Sun, 05 Apr 2020 21:31:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carldong.me; s=protonmail; t=1586122290; bh=ntHTNuZSEMePzKSjhCV8O+zx381+SRdo4bsaymuXab8=; h=Date:To:From:Reply-To:Subject:From; b=D32+UQCG5Lj64EP6gFHmnFoA2XwgEsgZelImiplBudX8KIG0weJbM52en9IRxWYjZ xtXyazZ1CaHEaD3IOPWzmZxY+kVWSCMMPB847y/XdGicVQs2m1opAn99hBuFhPZR+e muzerLuJMnL/vM6HjOmQVXFixa7+IWl2NsjQMo+U= To: bug-guix@gnu.org From: Carl Dong Subject: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh Message-ID: <16D3F058-8D50-48AD-BAC4-A2124A49A40B@carldong.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.70.40.134 X-Spam-Score: 0.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: , Reply-To: Carl Dong Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Guix! While investigating a libstdc++.a reproducibility issue, I found that libto= ol prior to 74c8993c (first included in version 2.2.7b, link: https://git.s= avannah.gnu.org/cgit/libtool.git/commit/?id=3D74c8993c178a1386ea5e2363a01d9= 19738402f30) did not sort find output. It seems that many packages (includi= ng all released gcc versions so far) are bootstrapped with a libtool < 2.2.= 7b. There are probably many ways to approach this, and I propose that we could = simply use a somewhat strict regex find and replace on ltmain.sh. Would love feedback and better ideas! Cheers, Carl Dong From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 05:21:33 2020 Received: (at 40459) by debbugs.gnu.org; 6 Apr 2020 09:21:33 +0000 Received: from localhost ([127.0.0.1]:47163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLNwj-00060B-69 for submit@debbugs.gnu.org; Mon, 06 Apr 2020 05:21:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLNwh-0005zp-KA for 40459@debbugs.gnu.org; Mon, 06 Apr 2020 05:21:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLNwc-0008KM-FU; Mon, 06 Apr 2020 05:21:26 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41806 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jLNwZ-0000KU-W2; Mon, 06 Apr 2020 05:21:24 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Carl Dong Subject: Re: bug#40459: Non-reproducible behaviour in libtool < 2.2.7b bootstrapped ltmain.sh References: <16D3F058-8D50-48AD-BAC4-A2124A49A40B@carldong.me> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 06 Apr 2020 11:21:22 +0200 In-Reply-To: <16D3F058-8D50-48AD-BAC4-A2124A49A40B@carldong.me> (Carl Dong's message of "Sun, 05 Apr 2020 21:31:27 +0000") Message-ID: <87sghhdl65.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40459 Cc: 40459@debbugs.gnu.org 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.7 (-) Hello! Carl Dong skribis: > While investigating a libstdc++.a reproducibility issue, I found that > libtool prior to 74c8993c (first included in version 2.2.7b, link: > https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3D74c8993c178a13= 86ea5e2363a01d919738402f30) > did not sort find output. Right, good ol=E2=80=99days! > It seems that many packages (including all released gcc versions so > far) are bootstrapped with a libtool < 2.2.7b. Ouch, I didn=E2=80=99t expect this. > There are probably many ways to approach this, and I propose that we coul= d simply use a somewhat strict regex find and replace on ltmain.sh. Yes, we could add a standard build phase to do that. We just need to make sure we get the regexp right so it doesn=E2=80=99t break newer =E2=80= =98ltmain.sh=E2=80=99 scripts. WDYT? Ludo=E2=80=99.