GNU bug report logs - #34570
Failure to build swig/graphviz

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Tue, 19 Feb 2019 09:12:01 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

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 34570 in the body.
You can then email your comments to 34570 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#34570; Package guix. (Tue, 19 Feb 2019 09:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 19 Feb 2019 09:12:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Failure to build swig/graphviz
Date: Tue, 19 Feb 2019 10:11:31 +0100
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 <at> 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 <at> gnu.org>.


Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#34570; Package guix. (Tue, 19 Feb 2019 09:17:01 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 34570 <at> debbugs.gnu.org
Subject: Re: bug#34570: Failure to build swig/graphviz
Date: Tue, 19 Feb 2019 10:16:32 +0100
[Message part 1 (text/plain, inline)]
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 graphviz <at> 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 <at> gnu.org>.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34570; Package guix. (Tue, 19 Feb 2019 09:35:01 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 34570 <at> debbugs.gnu.org
Subject: Re: bug#34570: Failure to build swig/graphviz
Date: Tue, 19 Feb 2019 10:34:01 +0100
On Tue, Feb 19, 2019 at 10:16:32AM +0100, Danny Milosavljevic wrote:
> 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:
> > \@ 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





Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Tue, 19 Feb 2019 22:58:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Tue, 19 Feb 2019 22:58:04 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 34570-done <at> debbugs.gnu.org
Subject: Re: bug#34570: Failure to build swig/graphviz
Date: Tue, 19 Feb 2019 23:57:01 +0100
On Tue, Feb 19, 2019 at 10:34:01AM +0100, Andreas Enge wrote:
> 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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 20 Mar 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 148 days ago.

Previous Next


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