unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36238: Problems cross-compiling on core-updates
@ 2019-06-16  0:21 Carl Dong
  2019-06-16  7:45 ` Marius Bakke
  0 siblings, 1 reply; 5+ messages in thread
From: Carl Dong @ 2019-06-16  0:21 UTC (permalink / raw)
  To: 36238

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

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@carldong.me
"I fight for the users"

[-- Attachment #2: riwrnisxp5skbmi8alq3m611g46lid-bison-3.4.1.drv.bz2 --]
[-- Type: application/x-bzip2, Size: 10878 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#36238: Problems cross-compiling on core-updates
  2019-06-16  0:21 bug#36238: Problems cross-compiling on core-updates Carl Dong
@ 2019-06-16  7:45 ` Marius Bakke
  2019-06-16 15:31   ` Carl Dong
  0 siblings, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2019-06-16  7:45 UTC (permalink / raw)
  To: Carl Dong, 36238-done

[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]

Carl Dong <contact@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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#36238: Problems cross-compiling on core-updates
  2019-06-16  7:45 ` Marius Bakke
@ 2019-06-16 15:31   ` Carl Dong
  2019-06-17  9:29     ` Ludovic Courtès
  2019-06-17  9:51     ` Marius Bakke
  0 siblings, 2 replies; 5+ messages in thread
From: Carl Dong @ 2019-06-16 15:31 UTC (permalink / raw)
  To: Marius Bakke, 36238@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

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


Cheers,
Carl Dong
contact@carldong.me
"I fight for the users"

[-- Attachment #2: r7dqzwhva6pgi4g3hasvbj3yf9wgq4-bison-3.4.1.drv.bz2 --]
[-- Type: application/x-bzip2, Size: 11907 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#36238: Problems cross-compiling on core-updates
  2019-06-16 15:31   ` Carl Dong
@ 2019-06-17  9:29     ` Ludovic Courtès
  2019-06-17  9:51     ` Marius Bakke
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-06-17  9:29 UTC (permalink / raw)
  To: Carl Dong; +Cc: 36238@debbugs.gnu.org

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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#36238: Problems cross-compiling on core-updates
  2019-06-16 15:31   ` Carl Dong
  2019-06-17  9:29     ` Ludovic Courtès
@ 2019-06-17  9:51     ` Marius Bakke
  1 sibling, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2019-06-17  9:51 UTC (permalink / raw)
  To: Carl Dong, 36238@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]

Carl Dong <contact@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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-17  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-16  0:21 bug#36238: Problems cross-compiling on core-updates Carl Dong
2019-06-16  7:45 ` Marius Bakke
2019-06-16 15:31   ` Carl Dong
2019-06-17  9:29     ` Ludovic Courtès
2019-06-17  9:51     ` Marius Bakke

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).