Failure to build swig/graphviz

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Danny Milosavljevic
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal
A
A
Andreas Enge wrote on 19 Feb 2019 10:11
(address . bug-guix@gnu.org)
20190219091131.GA6251@jurong
Hello,

the following happens when using "guix pull -n" on my Overdrive with
Guix 0.16.0. So maybe it has been solved in the meantime.

When building swig-3.0.12 (for whatever reason...), the build fails with
the following error during the check phase. Actually there are two errors;
I suppose the first one complaining that "make check" fails is the real one,
and the error around computing a derivation just follows from this?

...
\@ build-log 23167 506
In file included from /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/bits/libc-header-start.h:33:0,
from /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/string.h:26,
from multi_import_b_wrap.cxx:341:
/gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
|@ build-log 23167 23
514 perl5 tests passed
@ build-log 23167 34

Test suite failed, dumping logs.
@ build-log 23167 11
Backtrace:
@ build-log 23167 74
4 (primitive-load "/gnu/store/bjd20p2a8a6hcqp5gip98xgwd8j?")
@ build-log 23167 19
In ice-9/eval.scm:
@ build-log 23167 19
191:35 3 (_ _)
@ build-log 23167 20
In srfi/srfi-1.scm:
@ build-log 23167 77
863:16 2 (every1 #<procedure 6c0f20 at /gnu/store/p6nx31x59dzzq?> ?)
@ build-log 23167 94
In /gnu/store/p6nx31x59dzzqbqd572986f1jilg2n2f-module-import/guix/build/gnu-build-system.scm:
@ build-log 23167 19
799:28 1 (_ _)
@ build-log 23167 70
369:6 0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)
@ build-log 23167 1

@ build-log 23167 117
/gnu/store/p6nx31x59dzzqbqd572986f1jilg2n2f-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check:
@ build-log 23167 167
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("check" "-j" "3") exit-status: 2 term-signal: #f stop-signal: #f] 49ffc0>)'.
-builder for `/gnu/store/kpg54qz7nlw5ygx5lmyd4d05cx423ysq-swig-3.0.12.drv' failed with exit code 1
@ build-failed /gnu/store/kpg54qz7nlw5ygx5lmyd4d05cx423ysq-swig-3.0.12.drv - 1 builder for `/gnu/store/kpg54qz7nlw5ygx5lmyd4d05cx423ysq-swig-3.0.12.drv' failed with exit code 1
cannot build derivation `/gnu/store/hmg3xwghi64jqqv4ya90bh8pny3d03zn-graphviz-2.40.1.drv': 1 dependencies couldn't be built
Backtrace:
19 (primitive-load "/gnu/store/a84xx8gbasmxp3s0n1hi7w8dglk?")
In ice-9/eval.scm:
155:9 18 (_ _)
159:9 17 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
1737:24 16 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
1610:8 15 (_ _)
In ./guix/gexp.scm:
703:2 14 (_ _)
In ./guix/monads.scm:
482:9 13 (_ _)
In ./guix/gexp.scm:
573:13 12 (_ _)
In ./guix/store.scm:
1610:8 11 (_ _)
In ./guix/gexp.scm:
703:2 10 (_ _)
In ./guix/monads.scm:
482:9 9 (_ _)
In ./guix/gexp.scm:
573:13 8 (_ _)
In ./guix/store.scm:
1610:8 7 (_ _)
1610:8 6 (_ _)
1633:38 5 (_ #<store-connection 256.99 41affaf0>)
In ./guix/packages.scm:
904:16 4 (cache! #<weak-table 491/883> #<package graphviz@2.40.?> ?)
In ./guix/grafts.scm:
314:4 3 (graft-derivation #<store-connection 256.99 41affaf0> # ?)
192:4 2 (references-oracle #<store-connection 256.99 41affaf0> #)
201:20 1 (_ _ _)
In ./guix/store.scm:
1151:15 0 (_ #<store-connection 256.99 41affaf0> _ _)

./guix/store.scm:1151:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "build of `/gnu/store/hmg3xwghi64jqqv4ya90bh8pny3d03zn-graphviz-2.40.1.drv' failed" status: 100] 41c5f030>)'.
guix pull: error: You found a bug: the program '/gnu/store/a84xx8gbasmxp3s0n1hi7w8dglky5pvy-compute-guix-derivation'
failed to compute the derivation for Guix (version: "33756922bbe1d54c34ecaa77509e34746b779ac9"; system: "aarch64-linux";
host version: "0.16.0"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.


Andreas
D
D
Danny Milosavljevic wrote on 19 Feb 2019 10:16
(name . Andreas Enge)(address . andreas@enge.fr)(address . 34570@debbugs.gnu.org)
20190219101632.7b0c1b7d@scratchpost.org
Hi Andreas,

I think that the test suite contains multiple sets of tests and and earlier set
failed (the 514 perl5 tests apparently didn't fail; the warning shouldn't
make tests fail anyway). What's before what you posted in the log?

Toggle quote (3 lines)
> I suppose the first one complaining that "make check" fails is the real one,
> and the error around computing a derivation just follows from this?

Yes.

Toggle quote (80 lines)
> ...
> \@ build-log 23167 506
> In file included from /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/bits/libc-header-start.h:33:0,
> from /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/string.h:26,
> from multi_import_b_wrap.cxx:341:
> /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
> # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
> ^
> |@ build-log 23167 23
> 514 perl5 tests passed
> @ build-log 23167 34
>
> Test suite failed, dumping logs.
> @ build-log 23167 11
> Backtrace:
> @ build-log 23167 74
> 4 (primitive-load "/gnu/store/bjd20p2a8a6hcqp5gip98xgwd8j?")
> @ build-log 23167 19
> In ice-9/eval.scm:
> @ build-log 23167 19
> 191:35 3 (_ _)
> @ build-log 23167 20
> In srfi/srfi-1.scm:
> @ build-log 23167 77
> 863:16 2 (every1 #<procedure 6c0f20 at /gnu/store/p6nx31x59dzzq?> ?)
> @ build-log 23167 94
> In /gnu/store/p6nx31x59dzzqbqd572986f1jilg2n2f-module-import/guix/build/gnu-build-system.scm:
> @ build-log 23167 19
> 799:28 1 (_ _)
> @ build-log 23167 70
> 369:6 0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)
> @ build-log 23167 1
>
> @ build-log 23167 117
> /gnu/store/p6nx31x59dzzqbqd572986f1jilg2n2f-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check:
> @ build-log 23167 167
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("check" "-j" "3") exit-status: 2 term-signal: #f stop-signal: #f] 49ffc0>)'.
> -builder for `/gnu/store/kpg54qz7nlw5ygx5lmyd4d05cx423ysq-swig-3.0.12.drv' failed with exit code 1
> @ build-failed /gnu/store/kpg54qz7nlw5ygx5lmyd4d05cx423ysq-swig-3.0.12.drv - 1 builder for `/gnu/store/kpg54qz7nlw5ygx5lmyd4d05cx423ysq-swig-3.0.12.drv' failed with exit code 1
> cannot build derivation `/gnu/store/hmg3xwghi64jqqv4ya90bh8pny3d03zn-graphviz-2.40.1.drv': 1 dependencies couldn't be built
> Backtrace:
> 19 (primitive-load "/gnu/store/a84xx8gbasmxp3s0n1hi7w8dglk?")
> In ice-9/eval.scm:
> 155:9 18 (_ _)
> 159:9 17 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ./guix/store.scm:
> 1737:24 16 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
> 1610:8 15 (_ _)
> In ./guix/gexp.scm:
> 703:2 14 (_ _)
> In ./guix/monads.scm:
> 482:9 13 (_ _)
> In ./guix/gexp.scm:
> 573:13 12 (_ _)
> In ./guix/store.scm:
> 1610:8 11 (_ _)
> In ./guix/gexp.scm:
> 703:2 10 (_ _)
> In ./guix/monads.scm:
> 482:9 9 (_ _)
> In ./guix/gexp.scm:
> 573:13 8 (_ _)
> In ./guix/store.scm:
> 1610:8 7 (_ _)
> 1610:8 6 (_ _)
> 1633:38 5 (_ #<store-connection 256.99 41affaf0>)
> In ./guix/packages.scm:
> 904:16 4 (cache! #<weak-table 491/883> #<package graphviz@2.40.?> ?)
> In ./guix/grafts.scm:
> 314:4 3 (graft-derivation #<store-connection 256.99 41affaf0> # ?)
> 192:4 2 (references-oracle #<store-connection 256.99 41affaf0> #)
> 201:20 1 (_ _ _)
> In ./guix/store.scm:
> 1151:15 0 (_ #<store-connection 256.99 41affaf0> _ _)
>
> ./guix/store.scm:1151:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "build of `/gnu/store/hmg3xwghi64jqqv4ya90bh8pny3d03zn-graphviz-2.40.1.drv' failed" status: 100] 41c5f030>)'.
> guix pull: error: You found a bug: the program '/gnu/store/a84xx8gbasmxp3s0n1hi7w8dglky5pvy-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "33756922bbe1d54c34ecaa77509e34746b779ac9"; system: "aarch64-linux";
> host version: "0.16.0"; pull-version: 1).
> Please report it by email to <bug-guix@gnu.org>.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxryXAACgkQ5xo1VCww
uqVUfgf/RiIDIk1Mp+4VS0rzabU1d6gM59tlhgUYYenkcNdbH7eAL5IcdtlZodKI
K6LVDkr7pUaxAoArXhOLWyoTcpncq7aVtJ/RfcQMOiuUeHyimFs3EUDbCkKj+Sil
7Jf6ZGoDg7b/ifk1jvCxhDbev2de4WcwRO9fqe5tZIa+SWyGwgLPHtf2Reo8VNyO
sA/oc732VdUIAZtxqdlT00GWXCpUJ+nAG6jqP0ZyEyRL2VbBNZkf7zl1V6wV6s2f
feF8icRcvI0+a6cvbCU1UmUb4GI507MvI3BDLifz6Sz5F3FkCtUd9R2FbZQwBiBJ
VrMPSMEqZxJ5U5hYdmiKg6LJiVjSvg==
=ygKZ
-----END PGP SIGNATURE-----


A
A
Andreas Enge wrote on 19 Feb 2019 10:34
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 34570@debbugs.gnu.org)
20190219093401.GA6522@jurong
On Tue, Feb 19, 2019 at 10:16:32AM +0100, Danny Milosavljevic wrote:
Toggle quote (4 lines)
> I think that the test suite contains multiple sets of tests and and earlier set
> failed (the 514 perl5 tests apparently didn't fail; the warning shouldn't
> make tests fail anyway). What's before what you posted in the log?

Lots of lines similar to these:
Toggle quote (7 lines)
> > \@ build-log 23167 506
> > In file included from /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/bits/libc-header-start.h:33:0,
> > from /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/string.h:26,
> > from multi_import_b_wrap.cxx:341:
> > /gnu/store/im7irb1qnmvwypz53dxv5i75wy94dcz5-glibc-2.28/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
> > # warning _FORTIFY_SOURCE requires compiling with optimization (-O)

In the meantime I got around the problem by copying the build from berlin,
so I also cannot reproduce the failed build. Apparently some machine did
correctly compute the derivation; if there is not an obvious error somewhere,
it might be easier to close the bug report as not reproducible or non-deter-
ministic.

Andreas
A
A
Andreas Enge wrote on 19 Feb 2019 23:57
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 34570-done@debbugs.gnu.org)
20190219225701.GB3238@jurong
On Tue, Feb 19, 2019 at 10:34:01AM +0100, Andreas Enge wrote:
Toggle quote (4 lines)
> if there is not an obvious error somewhere,
> it might be easier to close the bug report as not reproducible or non-deter-
> ministic.

Doing so.

Andreas
Closed
?