Subject: bug#35465: closed (Re: bug#35465: Ocaml-yojson build failing)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 29 Apr 2019 13:47:02 +0000

Your bug report

#35465: Ocaml-yojson build failing

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35465: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35465
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#35465: Ocaml-yojson build failing
From: Julien Lepiller <[email-masked]>
To: [email-masked]
Cc: Brett Gilio <[email-masked]>
Date: Mon, 29 Apr 2019 15:46:00 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Le Sun, 28 Apr 2019 22:15:33 -0500,
Brett Gilio <[email-masked]> a écrit :

> Julien Lepiller writes:
> >
> > Most likely this is my fault... I thought I rebuilt everything
> > locally though. Yojson can be upgraded to 1.7.0, but I think it
> > caused a build failure in merlin. Can you try?  
> 
> I actually did give this a try in my channel before sending the
> email. You are right, something with Merlin breaks because of Menhir.
> 
> I can get menhir to build just fine, but adding it as an input to
> Merlin doesnt change the behavior of the compile-time stuff.
> 
> So it is a rabbit hole.
> 
> If Ricardo is reading this, would you mind taking a look at this
> issue?
> 
> Brett

Fixed in 373a2a07975ed8e187f3baaa5c795a7ff0fd155b

Thanks for reporting this :)

Subject: Ocaml-yojson build failing
From: Brett Gilio <[email-masked]>
To: Bug guix <[email-masked]>
Date: Sat, 27 Apr 2019 17:23:34 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi all,

the ocaml-yojson build is failing. The output is short enough I just
included it all here.

brettg@guixsd ~ [env]$ guix build ocaml-yojson
building /gnu/store/kif8labifv0ydvfvfxlqc3qkzqqhd5ax-ocaml-yojson-1.4.1.drv...
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/g0805hbhcml2dhh8pbmc996ml4gzsf03-dune-1.9.1/bin:/gnu/store/yqi231fddnwhdf1jm2lgsiqahcagcbq4-ocaml-4.07.1/bin:/gnu/store/2d80m75lyraby536f68ga2zlkk2iawbl-ocaml-findlib-1.8.0/bin:/gnu/store/h365bb1sj060cgm0vir15vaw86snz1ra-ocaml-cppo-1.6.5/bin:/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/bin:/gnu/store/95m945kvmvfibq8ljb6dbb8m0wf9zibc-ocaml-biniou-1.2.0/bin:/gnu/store/fqwyydd3vjzdh4dbs8xz6y462bjc49k3-ocaml-easy-format-1.3.1/bin:/gnu/store/bl3pxxj6frg0dww8pj5dvh2d1akwvj47-tar-1.30/bin:/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/bin:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/bin:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/bin:/gnu/store/4bzzz0lzjc9b7bfsnqbq2j22d4fvf433-diffutils-3.6/bin:/gnu/store/a4rxl40jr7gmq8bp3dryq4yq67cwkwiw-patch-2.7.6/bin:/gnu/store/fd621k6fmdnr1yiw0lbvw5spqaa169j3-findutils-4.6.0/bin:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/bin:/gnu/store/lmfddplnplxd03bcqv3w9pynbnr1fp8k-sed-4.5/bin:/gnu/store/02k245xy33cvcnr8vm3lagm9zmb1s2wa-grep-3.1/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/bin:/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin:/gnu/store/9ysmg2739n1ms84lx6hifncgc5l2hiy9-ld-wrapper-0/bin:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/bin:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/bin:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/bin:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sbin'
environment variable `OCAMLPATH' set to `/gnu/store/g0805hbhcml2dhh8pbmc996ml4gzsf03-dune-1.9.1/lib/ocaml:/gnu/store/g0805hbhcml2dhh8pbmc996ml4gzsf03-dune-1.9.1/lib/ocaml/site-lib:/gnu/store/yqi231fddnwhdf1jm2lgsiqahcagcbq4-ocaml-4.07.1/lib/ocaml:/gnu/store/2d80m75lyraby536f68ga2zlkk2iawbl-ocaml-findlib-1.8.0/lib/ocaml:/gnu/store/2d80m75lyraby536f68ga2zlkk2iawbl-ocaml-findlib-1.8.0/lib/ocaml/site-lib:/gnu/store/h365bb1sj060cgm0vir15vaw86snz1ra-ocaml-cppo-1.6.5/lib/ocaml:/gnu/store/h365bb1sj060cgm0vir15vaw86snz1ra-ocaml-cppo-1.6.5/lib/ocaml/site-lib:/gnu/store/95m945kvmvfibq8ljb6dbb8m0wf9zibc-ocaml-biniou-1.2.0/lib/ocaml:/gnu/store/95m945kvmvfibq8ljb6dbb8m0wf9zibc-ocaml-biniou-1.2.0/lib/ocaml/site-lib:/gnu/store/fqwyydd3vjzdh4dbs8xz6y462bjc49k3-ocaml-easy-format-1.3.1/lib/ocaml:/gnu/store/fqwyydd3vjzdh4dbs8xz6y462bjc49k3-ocaml-easy-format-1.3.1/lib/ocaml/site-lib'
environment variable `CAML_LD_LIBRARY_PATH' unset
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/include:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/include:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/include:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/include:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/include:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/include:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include:/gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/include:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/include:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/include:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/include:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/include:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/include:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include:/gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/g0805hbhcml2dhh8pbmc996ml4gzsf03-dune-1.9.1/lib:/gnu/store/yqi231fddnwhdf1jm2lgsiqahcagcbq4-ocaml-4.07.1/lib:/gnu/store/2d80m75lyraby536f68ga2zlkk2iawbl-ocaml-findlib-1.8.0/lib:/gnu/store/h365bb1sj060cgm0vir15vaw86snz1ra-ocaml-cppo-1.6.5/lib:/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib:/gnu/store/95m945kvmvfibq8ljb6dbb8m0wf9zibc-ocaml-biniou-1.2.0/lib:/gnu/store/fqwyydd3vjzdh4dbs8xz6y462bjc49k3-ocaml-easy-format-1.3.1/lib:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/lib:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/lib:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/lib:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/lib:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/lib:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib:/gnu/store/a3p8zc23w5asxck5h4mswz4s8yl9s6pa-glibc-2.28-static/lib:/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/META.yojson.template' -> `./META.yojson.template'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/test.json' -> `./test.json'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/.gitignore' -> `./.gitignore'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/Makefile' -> `./Makefile'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/sample.json' -> `./sample.json'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/LICENSE' -> `./LICENSE'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/VERSION' -> `./VERSION'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/yojson.opam' -> `./yojson.opam'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/README.md' -> `./README.md'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/Changes' -> `./Changes'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/examples/Makefile' -> `./examples/Makefile'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/examples/filtering.json' -> `./examples/filtering.json'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/examples/run-examples.sh' -> `./examples/run-examples.sh'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/examples/jbuild' -> `./examples/jbuild'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/examples/filtering.ml' -> `./examples/filtering.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/bench/bench.ml' -> `./bench/bench.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/bench/jbuild' -> `./bench/jbuild'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/write2.ml' -> `./lib/write2.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/yojson_biniou.ml' -> `./lib/yojson_biniou.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/read.mll' -> `./lib/read.mll'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/common.mli' -> `./lib/common.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/pretty.ml' -> `./lib/pretty.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/write.ml' -> `./lib/write.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/safe.mli' -> `./lib/safe.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/common.ml' -> `./lib/common.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/yojson_biniou.mli' -> `./lib/yojson_biniou.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/yojson.cppo.ml' -> `./lib/yojson.cppo.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/safe.ml' -> `./lib/safe.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/util.mli' -> `./lib/util.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/pretty.mli' -> `./lib/pretty.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/write2.mli' -> `./lib/write2.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/util.ml' -> `./lib/util.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/jbuild' -> `./lib/jbuild'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/write.mli' -> `./lib/write.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/yojson.cppo.mli' -> `./lib/yojson.cppo.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/read.mli' -> `./lib/read.mli'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/lib/type.ml' -> `./lib/type.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/bin/ydump.ml' -> `./bin/ydump.ml'
`/gnu/store/zrvpggpxf5ggb7mdv2817fn68d17vnyn-ocaml-yojson-1.4.1-checkout/bin/jbuild' -> `./bin/jbuild'
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./examples/run-examples.sh: changing `/bin/sh' to `/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `ocaml-findlib-environment'
phase `ocaml-findlib-environment' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
File "bench/jbuild", line 1, characters 0-0:
Warning: jbuild files are deprecated, please convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "bin/jbuild", line 1, characters 0-0:
Warning: jbuild files are deprecated, please convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "examples/jbuild", line 1, characters 0-0:
Warning: jbuild files are deprecated, please convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
File "lib/jbuild", line 1, characters 0-0:
Warning: jbuild files are deprecated, please convert this file to a dune file instead.
Note: You can use "dune upgrade" to convert your project to dune.
        cppo lib/yojson.mli (exit 1)
(cd _build/default/lib && /gnu/store/h365bb1sj060cgm0vir15vaw86snz1ra-ocaml-cppo-1.6.5/bin/cppo yojson.cppo.mli -o yojson.mli)
Error: File "yojson.cppo.mli", line 43, characters 0-19
Error: Cannot find included file "type.ml"
Backtrace:
           5 (primitive-load "/gnu/store/4ran1g6dxr6md7795zsxi6n1ka4…")
In ice-9/eval.scm:
   191:35  4 (_ #f)
In srfi/srfi-1.scm:
   863:16  3 (every1 #<procedure 6db440 at /gnu/store/61hp7bcdvrbrw…> …)
In /gnu/store/61hp7bcdvrbrw0wzm6hr73hjgl8wmz0w-module-import/guix/build/gnu-build-system.scm:
   799:28  2 (_ _)
In /gnu/store/61hp7bcdvrbrw0wzm6hr73hjgl8wmz0w-module-import/guix/build/dune-build-system.scm:
     37:4  1 (build #:build-flags _ #:jbuild? _ #:use-make? _ # _)
In /gnu/store/61hp7bcdvrbrw0wzm6hr73hjgl8wmz0w-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/61hp7bcdvrbrw0wzm6hr73hjgl8wmz0w-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "dune" arguments: ("build" "@install") exit-status: 1 term-signal: #f stop-signal: #f] 89ffc0>)'.
builder for `/gnu/store/kif8labifv0ydvfvfxlqc3qkzqqhd5ax-ocaml-yojson-1.4.1.drv' failed with exit code 1
build of /gnu/store/kif8labifv0ydvfvfxlqc3qkzqqhd5ax-ocaml-yojson-1.4.1.drv failed
View build log at '/var/log/guix/drvs/ki/f8labifv0ydvfvfxlqc3qkzqqhd5ax-ocaml-yojson-1.4.1.drv.bz2'.
guix build: error: build of `/gnu/store/kif8labifv0ydvfvfxlqc3qkzqqhd5ax-ocaml-yojson-1.4.1.drv' failed
brettg@guixsd ~ [env]$