Subject: bug#34570: Failure to build swig/graphviz

From: Danny Milosavljevic <[email-masked]>
Date: Tue, 19 Feb 2019 10:16:32 +0100

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?

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

> ...
> \@ 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 [email-masked].?> ?)
> 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 <[email-masked]>.