From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 28 10:27:25 2020 Received: (at 43081) by debbugs.gnu.org; 28 Aug 2020 14:27:25 +0000 Received: from localhost ([127.0.0.1]:47074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBfLh-0003I2-0z for submit@debbugs.gnu.org; Fri, 28 Aug 2020 10:27:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBfLf-0003Hm-5H for 43081@debbugs.gnu.org; Fri, 28 Aug 2020 10:27:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59342) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBfLZ-0006U1-UL for 43081@debbugs.gnu.org; Fri, 28 Aug 2020 10:27:17 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=49370 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBfLX-0000Be-LZ; Fri, 28 Aug 2020 10:27:16 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#43081: diffutils always referrers to the native coreutils References: <87eenrkyrz.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Fructidor 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: Fri, 28 Aug 2020 16:27:11 +0200 In-Reply-To: <87eenrkyrz.fsf@gnu.org> (Mathieu Othacehe's message of "Fri, 28 Aug 2020 09:36:16 +0200") Message-ID: <87ft86ongg.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43081 Cc: 43081@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: -3.3 (---) Hi! Mathieu Othacehe skribis: > The "diff" executable from diffutils stores a reference to the native, > canonical "pr" from coreutils. This is bad for two reasons: > > * It makes the Guix System closure bigger by dragging the canonical > coreutils. > > * The cross-compiled diffutils drags the native coreutils to its > closure, see: [...] > I hoped to fix it with the naive patch attached, but it fails for > obscure reasons while building acl: > > FAIL: test/malformed-restore > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > [4] $ cp "/tmp/guix-build-acl-2.2.53.drv-0/acl-2.2.53/test/malformed-rest= ore-double-owner.acl" tmp.acl -- ok > [5] $ sed -i "s/USER/30001/g" tmp.acl -- failed > ERROR: ld.so: object '/tmp/guix-build-acl-2.2.53.drv-0/acl-2.2.53/.libs/l= ibtestlookup.so' from LD_PRELOAD cannot be preloaded: ignored. !=3D ~ > [6] $ sed -i "s/GROUP/30000/g" tmp.acl -- failed > ERROR: ld.so: object '/tmp/guix-build-acl-2.2.53.drv-0/acl-2.2.53/.libs/l= ibtestlookup.so' from LD_PRELOAD cannot be preloaded: ignored. !=3D ~ Could it be that there are two different libcs involved? Do you know which acl is fixing (commencement.scm vs. acl.scm)? Thanks, Ludo=E2=80=99.