GNU bug report logs - #48216
[CORE-UPDATES] host-inputs for wrong architecture when building for i686 on x86_64

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 4 May 2021 08:26:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48216 in the body.
You can then email your comments to 48216 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#48216; Package guix. (Tue, 04 May 2021 08:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 04 May 2021 08:26:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: bug-guix <at> gnu.org
Subject: [CORE-UPDATES] host-inputs for wrong architecture when building for
 i686 on x86_64
Date: Tue, 4 May 2021 11:25:32 +0300
[Message part 1 (text/plain, inline)]
I'm trying to see if the rust bootstrap process works on core-updates
and I was unable to build for i686-linux on x86_64 linux. I failed to
build xz, due to some assembly optimizations. It turns out that instead
of using i686 binaries it was using x86_64 binaries and targeting i686,
while passing flags saying it was i686.

It seems there are some other things which need another look. From the
PATH variable:
(ins)efraim <at> 3900XT ~/workspace/guix-core-updates$ file /gnu/store/yf4y60dyvb5qca8ram5pvxp7ba7x0z2a-xz-5.2.5/bin/xz
/gnu/store/yf4y60dyvb5qca8ram5pvxp7ba7x0z2a-xz-5.2.5/bin/xz: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/xd4jlar0rjsvc921b32kn40vn01638hc-glibc-2.33/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped
(ins)efraim <at> 3900XT ~/workspace/guix-core-updates$ file /gnu/store/1g3vhzaw78fi04q630swrz4s9yn4wsj2-grep-3.6/bin:/gnu/store/vrdmi9lnd663np8y5hcpxvgkl35v5sby-coreutils-8.32
/gnu/store/1g3vhzaw78fi04q630swrz4s9yn4wsj2-grep-3.6/bin:/gnu/store/vrdmi9lnd663np8y5hcpxvgkl35v5sby-coreutils-8.32: cannot open `/gnu/store/1g3vhzaw78fi04q630swrz4s9yn4wsj2-grep-3.6/bin:/gnu/store/vrdmi9lnd663np8y5hcpxvgkl35v5sby-coreutils-8.32' (No such file or directory)

The ones listed in the environmental file at the base of the build
listed x86_64 binaries.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[63r37flw2gv4cbna7jb69b4n8c41n6-xz-5.2.5.drv.bz2 (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 05 Jul 2021 10:14:03 GMT) Full text and rfc822 format available.

Notification sent to Efraim Flashner <efraim <at> flashner.co.il>:
bug acknowledged by developer. (Mon, 05 Jul 2021 10:14:03 GMT) Full text and rfc822 format available.

Message #10 received at 48216-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 48216-done <at> debbugs.gnu.org
Subject: Re: bug#48216: [CORE-UPDATES] host-inputs for wrong architecture
 when building for i686 on x86_64
Date: Mon, 05 Jul 2021 12:12:55 +0200
Hello!

Efraim Flashner <efraim <at> flashner.co.il> skribis:

> I'm trying to see if the rust bootstrap process works on core-updates
> and I was unable to build for i686-linux on x86_64 linux. I failed to
> build xz, due to some assembly optimizations. It turns out that instead
> of using i686 binaries it was using x86_64 binaries and targeting i686,
> while passing flags saying it was i686.

That’s embarrassing.  I think this was fixed by
98c075c24e26798ef52ab66641faa7b0aa87726b.

Let me know if anything’s amiss!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Aug 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 261 days ago.

Previous Next


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