GNU bug report logs - #40392
[core-updates] pack vs. build discrepancy with --target=i586-pc-gnu

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Thu, 2 Apr 2020 21:35:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 40392 <at> debbugs.gnu.org
Subject: bug#40392: [core-updates] pack vs. build discrepancy with --target=i586-pc-gnu
Date: Sun, 05 Apr 2020 01:14:56 +0200
Hi,

Ludovic Courtès <ludo <at> gnu.org> skribis:

> ‘guix pack’ would build a different hurd derivation, one that actually
> fails to build.  The difference here is that the “wrong” hurd derivation
> depends on a glibc-hurd-headers-2.31.drv that lacks MiG as an input,
> which suggests that the (if (hurd-target?) …) conditional in ‘glibc’ is
> not working as expected.

Part of the problem is “fixed” by passing #:target to ‘run-with-store’
in ‘guix pack’, done in commit f7b5b8cd45b4560b3473dde2e6f6f20b4ff9daff
on ‘master’.

The other part of the problem is that profile hooks in
‘profile-derivation’ don’t honor #:target.

One can work around this by running ‘guix pack --bootstrap’ so that no
profile hooks are run.

Ludo’.




This bug report was last modified 5 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.