GNU bug report logs - #36238
Problems cross-compiling on core-updates

Previous Next

Package: guix;

Reported by: Carl Dong <contact <at> carldong.me>

Date: Sun, 16 Jun 2019 00:23:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

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 36238 in the body.
You can then email your comments to 36238 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#36238; Package guix. (Sun, 16 Jun 2019 00:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Carl Dong <contact <at> carldong.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 16 Jun 2019 00:23:02 GMT) Full text and rfc822 format available.

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

From: Carl Dong <contact <at> carldong.me>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Problems cross-compiling on core-updates
Date: Sun, 16 Jun 2019 00:21:06 +0000
[Message part 1 (text/plain, inline)]
Hi all,

I noticed that cross-compiling isn't working on the core-updates branch. I'm on
commit cfd4e4d06e3cda0f3eed8d6b9277ce53e55404b8 and all you need to reproduce is
to invoke:

./pre-inst-env guix build --target=aarch64-linux-gnu coreutils

Attached is the build log.

Cheers,
Carl Dong
contact <at> carldong.me
"I fight for the users"
[riwrnisxp5skbmi8alq3m611g46lid-bison-3.4.1.drv.bz2 (application/x-bzip2, attachment)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Sun, 16 Jun 2019 07:46:01 GMT) Full text and rfc822 format available.

Notification sent to Carl Dong <contact <at> carldong.me>:
bug acknowledged by developer. (Sun, 16 Jun 2019 07:46:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Carl Dong <contact <at> carldong.me>, 36238-done <at> debbugs.gnu.org
Subject: Re: bug#36238: Problems cross-compiling on core-updates
Date: Sun, 16 Jun 2019 09:45:00 +0200
[Message part 1 (text/plain, inline)]
Carl Dong <contact <at> carldong.me> writes:

> Hi all,
>
> I noticed that cross-compiling isn't working on the core-updates branch. I'm on
> commit cfd4e4d06e3cda0f3eed8d6b9277ce53e55404b8 and all you need to reproduce is
> to invoke:
>
> ./pre-inst-env guix build --target=aarch64-linux-gnu coreutils
>
> Attached is the build log.

Including the plain text for posterity:

--8<---------------cut here---------------start------------->8---
starting phase `build'
  LEX      examples/c/reccalc/scan.stamp
  GEN      lib/alloca.h
  GEN      lib/fcntl.h
  GEN      lib/configmake.h
  GEN      lib/limits.h
  GEN      lib/inttypes.h
  GEN      lib/textstyle.h
  GEN      lib/math.h
  GEN      lib/signal.h
  GEN      lib/spawn.h
  GEN      lib/stdio.h
  GEN      lib/stdlib.h
  GEN      lib/string.h
  GEN      lib/sys/resource.h
  GEN      lib/time.h
  GEN      lib/unitypes.h
  GEN      lib/sys/time.h
  GEN      lib/unistd.h
  GEN      lib/sys/times.h
  GEN      lib/sys/types.h
  GEN      lib/sys/wait.h
  GEN      lib/uniwidth.h
  GEN      lib/wchar.h
  GEN      lib/wctype.h
make[1]: Entering directory '/tmp/guix-build-bison-3.4.1.drv-0/bison-3.4.1'
make[1]: Entering directory '/tmp/guix-build-bison-3.4.1.drv-0/bison-3.4.1'
  LEX      examples/c/reccalc/scan.stamp
  LEX      examples/c/reccalc/scan.stamp
make[1]: Leaving directory '/tmp/guix-build-bison-3.4.1.drv-0/bison-3.4.1'
mv: cannot stat 'examples/c/reccalc/scan.stamp.tmp': No such file or directory
make[1]: *** [Makefile:6855: examples/c/reccalc/scan.stamp] Error 1
make[1]: Leaving directory '/tmp/guix-build-bison-3.4.1.drv-0/bison-3.4.1'
make: *** [Makefile:6847: examples/c/reccalc/scan.c] Error 2
command "make" "-j" "48" failed with status 2
--8<---------------cut here---------------end--------------->8---

This looks like a parallelism issue, and should be fixed in
b1593c1c4fd8f4fc6df4c43cab51334426e3aa76.  Thanks!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36238; Package guix. (Sun, 16 Jun 2019 15:32:02 GMT) Full text and rfc822 format available.

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

From: Carl Dong <contact <at> carldong.me>
To: Marius Bakke <mbakke <at> fastmail.com>,
 "36238 <at> debbugs.gnu.org" <36238 <at> debbugs.gnu.org>
Subject: Re: bug#36238: Problems cross-compiling on core-updates
Date: Sun, 16 Jun 2019 15:31:09 +0000
[Message part 1 (text/plain, inline)]
Unfortunately b1593c1c4fd8f4fc6df4c43cab51334426e3aa76 still doesn't work, I've
attached the log.


Cheers,
Carl Dong
contact <at> carldong.me
"I fight for the users"
[r7dqzwhva6pgi4g3hasvbj3yf9wgq4-bison-3.4.1.drv.bz2 (application/x-bzip2, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#36238; Package guix. (Mon, 17 Jun 2019 09:30:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Carl Dong <contact <at> carldong.me>
Cc: Marius Bakke <mbakke <at> fastmail.com>,
 "36238 <at> debbugs.gnu.org" <36238 <at> debbugs.gnu.org>
Subject: Re: bug#36238: Problems cross-compiling on core-updates
Date: Mon, 17 Jun 2019 11:29:41 +0200
Hello,

--8<---------------cut here---------------start------------->8---
starting phase `check'

[...]

  CC       examples/c/lexcalc/lexcalc-scan.o
./examples/c/reccalc/scan.l:13:10: fatal error: parse.h: No such file or directory
 #include "parse.h"
          ^~~~~~~~~
compilation terminated.

[...]

command "make" "check" "-j" "48" failed with status 2
--8<---------------cut here---------------end--------------->8---

Looks like the same issue.  Could you try adding:

  #:parallel-tests? #f

to ‘bison’?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#36238; Package guix. (Mon, 17 Jun 2019 09:53:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Carl Dong <contact <at> carldong.me>,
 "36238\@debbugs.gnu.org" <36238-done <at> debbugs.gnu.org>
Subject: Re: bug#36238: Problems cross-compiling on core-updates
Date: Mon, 17 Jun 2019 11:51:56 +0200
[Message part 1 (text/plain, inline)]
Carl Dong <contact <at> carldong.me> writes:

> Unfortunately b1593c1c4fd8f4fc6df4c43cab51334426e3aa76 still doesn't work, I've
> attached the log.

Drat.

Plain text log:

--8<---------------cut here---------------start------------->8---
Making check in .
make[2]: Entering directory '/tmp/guix-build-bison-3.4.1.drv-0/bison-3.4.1'
  GEN      doc/bison.help
make  examples/c/calc/calc examples/c/lexcalc/lexcalc examples/c/mfcalc/mfcalc examples/c/reccalc/reccalc examples/c/rpcalc/rpcalc examples/c++/calc++/calc++ examples/c++/simple examples/c++/variant examples/c++/variant-11   ./tests/bison tests/atconfig tests/atlocal
make[3]: Entering directory '/tmp/guix-build-bison-3.4.1.drv-0/bison-3.4.1'
  YACC     examples/c/calc/calc.c
  YACC     examples/c/lexcalc/parse.c
  LEX      examples/c/lexcalc/scan.c
  YACC     examples/c/mfcalc/mfcalc.c
  YACC     examples/c/reccalc/parse.c
  YACC     examples/c/rpcalc/rpcalc.c
  YACC     examples/c++/calc++/parser.stamp
  LEX      examples/c++/calc++/scanner.cc
  YACC     examples/c++/simple.cc
make[3]: 'tests/bison' is up to date.
make[3]: Nothing to be done for 'tests/atconfig'.
make[3]: 'tests/atlocal' is up to date.
  YACC     examples/c++/variant.cc
  YACC     examples/c++/variant-11.cc
  CC       examples/c/reccalc/reccalc-scan.o
  CC       examples/c/lexcalc/lexcalc-scan.o
./examples/c/reccalc/scan.l:13:10: fatal error: parse.h: No such file or directory
 #include "parse.h"
          ^~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:4148: examples/c/reccalc/reccalc-scan.o] Error 1
make[3]: *** Waiting for unfinished jobs....
examples/c/lexcalc/scan.l:10:10: fatal error: parse.h: No such file or directory
 #include "parse.h"
          ^~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:4106: examples/c/lexcalc/lexcalc-scan.o] Error 1
--8<---------------cut here---------------end--------------->8---

Hopefully fixed in 2c35ae82192fd6f1732b15fa41aec87aa61a1879, thanks for
reporting it!
[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. (Mon, 15 Jul 2019 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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