unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34570: Failure to build swig/graphviz
@ 2019-02-19  9:11 Andreas Enge
  2019-02-19  9:16 ` Danny Milosavljevic
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2019-02-19  9:11 UTC (permalink / raw)
  To: 34570

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

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

* bug#34570: Failure to build swig/graphviz
  2019-02-19  9:11 bug#34570: Failure to build swig/graphviz Andreas Enge
@ 2019-02-19  9:16 ` Danny Milosavljevic
  2019-02-19  9:34   ` Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2019-02-19  9:16 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 34570

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

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#34570: Failure to build swig/graphviz
  2019-02-19  9:16 ` Danny Milosavljevic
@ 2019-02-19  9:34   ` Andreas Enge
  2019-02-19 22:57     ` Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2019-02-19  9:34 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 34570

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

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

* bug#34570: Failure to build swig/graphviz
  2019-02-19  9:34   ` Andreas Enge
@ 2019-02-19 22:57     ` Andreas Enge
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Enge @ 2019-02-19 22:57 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 34570-done

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

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

end of thread, other threads:[~2019-02-19 22:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-19  9:11 bug#34570: Failure to build swig/graphviz Andreas Enge
2019-02-19  9:16 ` Danny Milosavljevic
2019-02-19  9:34   ` Andreas Enge
2019-02-19 22:57     ` Andreas Enge

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