[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40392: [core-updates] pack vs. build discrepancy with --target=i586-
From: |
Ludovic Courtès |
Subject: |
bug#40392: [core-updates] pack vs. build discrepancy with --target=i586-pc-gnu |
Date: |
Sun, 05 Apr 2020 01:14:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Ludovic Courtès <address@hidden> 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’.