GNU bug report logs - #48084
ustr fails to cross-compile, even when using cc-for-target

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 28 Apr 2021 17:17:02 UTC

Severity: minor

Done: Maxime Devos <maximedevos <at> telenet.be>

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 48084 in the body.
You can then email your comments to 48084 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#48084; Package guix. (Wed, 28 Apr 2021 17:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 28 Apr 2021 17:17:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: ustr fails to cross-compile, even when using cc-for-target
Date: Wed, 28 Apr 2021 19:16:17 +0200
[Message part 1 (text/plain, inline)]
Severity: minor

This is without transparant qemu emulation, on a x86-64 Linux box.
Command: ./pre-inst-env guix build ustr --target=aarch64-linux-gnu.
(First patch ustr to use "CC=TARGET-gcc").
The package fails to build.  Some parts of the log that seem relevant:

(during configuration)
	sed -e "s,@HAVE_STDINT_H@,$have_stdint_h,g" -e "s,@USE_ASSERT@,$dbg1,g" -e "s,@USE_EOS_MARK@,$dbg2,g" -e "s,@HAVE_64bit_SIZE_MAX@,$sz64,g" -e "s,@HAVE_RETARDED_VSNPRINTF@,$vsnp,g" < ustr-
conf.h.in > ustr-conf-debug.h
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh: line 1: ./autoconf_64b: cannot execute binary file: Exec format error
(during compilation

ustr-main.h:204:34: error: #if with no expression
 #if USTR_CONF_HAVE_64bit_SIZE_MAX

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Maxime Devos <maximedevos <at> telenet.be>:
You have taken responsibility. (Wed, 28 Apr 2021 18:55:02 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Wed, 28 Apr 2021 18:55:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: 48084-done <at> debbugs.gnu.org
Subject: Re: bug#48084: ustr fails to cross-compile, even when using
 cc-for-target
Date: Wed, 28 Apr 2021 20:54:13 +0200
[Message part 1 (text/plain, inline)]
Fixed in 1059d1570b7078e6a83e067577b42ed24ee25b55
<https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1059d1570b7078e6a83e067577b42ed24ee25b55>
by nckx.
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 4 years and 75 days ago.

Previous Next


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