From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Binutils build failure on MIPS
Date: Sun, 18 Sep 2016 20:47:22 +0200 [thread overview]
Message-ID: <20160918184722.GA7719@solar> (raw)
In-Reply-To: <87zinc3r4b.fsf@gnu.org>
Hello,
Hello,
On Tue, Sep 13, 2016 at 02:45:40PM +0200, Ludovic Courtès wrote:
> You need a mips64el machine to run:
> ./pre-inst-env guix build -e '(@@ (gnu packages commencement) binutils-boot0)'
I just did this (together with the paramater "-K"!), but the problem is
that I have no idea what is happening inside...
The configure phase actually passes, the problem appears inside the build
phase, which itself launches a number of configure runs in subdirectories.
The last lines of the log are:
checking size of void *... 4
/tmp/guix-build-binutils-cross-boot0-2.27.drv-0/binutils-2.27/ld/configure: unhandled emulation
make[1]: *** [Makefile:7125: configure-ld] Error 1
make[1]: Leaving directory '/tmp/guix-build-binutils-cross-boot0-2.27.drv-0/binutils-2.27'
make: *** [Makefile:852: all] Error 2
phase `build' failed after 1434.0 seconds
note: keeping build directory `/tmp/guix-build-binutils-cross-boot0-2.27.drv-1'
builder for `/gnu/store/yw6kb2vqqws3gnrmvlp44h60rlpw4ldr-binutils-cross-boot0-2.27.drv' failed with exit code 1
@ build-failed /gnu/store/yw6kb2vqqws3gnrmvlp44h60rlpw4ldr-binutils-cross-boot0-2.27.drv - 1 builder for `/gnu/store/yw6kb2vqqws3gnrmvlp44h60rlpw4ldr-binutils-cross-boot0-2.27.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/yw6kb2vqqws3gnrmvlp44h60rlpw4ldr-binutils-cross-boot0-2.27.drv' failed
I launched a ./configure by hand inside the ld subdirectory, after sourcing
the environment variables; it succeeds with
checking size of void *... 4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
So even during the build, configure runs until the last test.
However, it does not write ./config.status etc.
The error message above contains
make[1]: *** [Makefile:7125: configure-ld] Error 1
Lines 7125 and following of the Makefile (one level up from the ld
subdirectory) are
configure-ld:
@r=`${PWD_COMMAND}`; export r; \
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
$(HOST_EXPORTS) \
echo Configuring in $(HOST_SUBDIR)/ld; \
cd "$(HOST_SUBDIR)/ld" || exit 1; \
case $(srcdir) in \
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
*) topdir=`echo $(HOST_SUBDIR)/ld/ | \
sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
esac; \
module_srcdir=ld; \
$(SHELL) \
$$s/$$module_srcdir/configure \
--srcdir=$${topdir}/$$module_srcdir \
$(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
--target=${target_alias} \
|| exit 1
So apparently the "exit 1" is triggered.
The beginning of the configure log looks like this:
Configuring in ./ld
configure: creating cache ./config.cache
checking build system type... mips64el-unknown-linux-gnu
checking host system type... mips64el-unknown-linux-gnu
checking target system type... mips64el-guix-linux-gnu
So it looks as if build_alias, host_alias and target_alias are set
correctly.
Do you have any ideas of what to check?
Andreas
next prev parent reply other threads:[~2016-09-18 18:47 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 8:59 Freezing core-updates Ludovic Courtès
2016-05-17 11:29 ` Leo Famulari
2016-05-17 21:21 ` Ludovic Courtès
[not found] ` <D79FF867-A6E4-480B-8D0C-FD597A836F6E@famulari.name>
2016-05-17 11:47 ` Leo Famulari
2016-05-17 12:03 ` Matthew Jordan
2016-05-17 12:11 ` Ben Woodcroft
2016-05-17 21:22 ` Ludovic Courtès
2016-05-26 16:59 ` Andreas Enge
2016-05-28 15:25 ` Ludovic Courtès
2016-05-31 19:33 ` Andreas Enge
2016-05-31 21:36 ` Ludovic Courtès
2016-06-01 9:41 ` Andreas Enge
2016-06-02 8:09 ` Ludovic Courtès
2016-06-04 15:33 ` Andreas Enge
2016-06-01 12:23 ` GCC bootstrap failure on ARM Ludovic Courtès
2016-06-01 18:45 ` Andreas Enge
2016-06-06 9:22 ` Ludovic Courtès
2016-06-07 9:58 ` Ludovic Courtès
2016-06-07 16:04 ` Leo Famulari
2016-06-08 0:55 ` Leo Famulari
2016-06-10 9:13 ` Andreas Enge
2016-06-10 12:16 ` Efraim Flashner
2016-06-10 12:22 ` Efraim Flashner
2016-08-21 2:55 ` Mark H Weaver
2016-08-21 11:44 ` David Craven
2016-08-21 12:17 ` David Craven
2016-08-21 12:26 ` Andreas Enge
2016-08-21 20:24 ` Mark H Weaver
2016-08-22 0:14 ` David Craven
2016-08-29 15:23 ` Ludovic Courtès
2016-09-10 13:16 ` Ludovic Courtès
2016-09-10 13:22 ` David Craven
2016-09-12 21:17 ` Ludovic Courtès
[not found] ` <CAL1_imniMsSJd+K=BTda+whFTKaErzwa+qSaUE0qeF=zA-Jv6A@mail.gmail.com>
[not found] ` <CAL1_imnQFeTU52eWJt6kcwzuCFmP6Si-y0kdPm9SmZyprkm5NA@mail.gmail.com>
2016-09-13 6:11 ` David Craven
2016-09-13 8:23 ` Ludovic Courtès
2016-09-13 8:26 ` Binutils build failure on MIPS Ludovic Courtès
2016-09-13 9:05 ` Vincent Legoll
2016-09-13 9:14 ` Vincent Legoll
2016-09-13 12:45 ` Ludovic Courtès
2016-09-13 14:00 ` Vincent Legoll
2016-09-13 14:05 ` David Craven
2016-09-13 14:19 ` Vincent Legoll
2016-09-13 14:27 ` David Craven
2016-09-13 14:36 ` Vincent Legoll
2016-09-13 22:02 ` Ludovic Courtès
2016-09-18 18:47 ` Andreas Enge [this message]
2016-09-21 16:02 ` Ludovic Courtès
2016-09-28 20:48 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160918184722.GA7719@solar \
--to=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).