bug#36238: Problems cross-compiling on core-updates

2019-06-17 Thread Marius Bakke
Carl Dong  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
Description: PGP signature


bug#36238: Problems cross-compiling on core-updates

2019-06-17 Thread Ludovic Courtès
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’.





bug#36238: Problems cross-compiling on core-updates

2019-06-16 Thread Carl Dong
Unfortunately b1593c1c4fd8f4fc6df4c43cab51334426e3aa76 still doesn't work, I've
attached the log.


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


r7dqzwhva6pgi4g3hasvbj3yf9wgq4-bison-3.4.1.drv.bz2
Description: BZip2 compressed data


bug#36238: Problems cross-compiling on core-updates

2019-06-16 Thread Marius Bakke
Carl Dong  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
Description: PGP signature


bug#36238: Problems cross-compiling on core-updates

2019-06-15 Thread Carl Dong
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
cont...@carldong.me
"I fight for the users"


riwrnisxp5skbmi8alq3m611g46lid-bison-3.4.1.drv.bz2
Description: BZip2 compressed data