#942747 FTBFS: "Error: Unbound module Parser"

#942747#5
Date:
2019-10-20 20:31:28 UTC
From:
To:
While test building packages build depending on nettle, ocamlnet failed to build both on
experimental and on sid (I'm using an amd64 sbuild chroot).

Here's the end of the build log. I don't know anything about OCaml, so I can't help you.

make[3]: Entering directory '/<<PKGBUILDDIR>>/src/rpc-generator'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/rpc-generator'
ocamlyacc parser.mly
sed -e 's/@VERSION@/4.1.6/' \
    -e 's/@AUTHDHREQS@//' \
    -e 's/@PREFERRED_CGI_PKG@//' \
    -e 's/@REGEXP_PROVIDER@/str/' \
    -e 's/@COMPAT_PCRE_PROVIDER@//' \
    -e 's/@ZIP_PROVIDER@/zip/' \
        META.in >META
echo "let cpp = \"cpp\";;" > config.ml
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/rpc-generator'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/rpc-generator'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/rpc-generator'
ocamlfind ocamldep  -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " *.ml *.mli >depend || { rm -f depend; exit 1; }
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/rpc-generator'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/rpc-generator'
ocamlfind ocamlc -g  -safe-string -I ../../src/netstring -package "bytes unix" -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " -w -25 -c  config.ml
ocamlfind ocamlc -g  -safe-string -I ../../src/netstring -package "bytes unix" -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " -w -25 -c  syntax.ml
ocamllex lexer.mll
echo /usr/bin/ocamlrpcgen >rpcgen-packlist
127 states, 803 transitions, table size 3974 bytes
ocamlfind ocamlc -g  -safe-string -I ../../src/netstring -package "bytes unix" -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " -w -25 -c  lexer.ml
ocamlfind ocamlc -g  -safe-string -I ../../src/netstring -package "bytes unix" -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " -w -25 -c  options.ml
opts="-opaque"; \
        if [ -f "$(basename parser.mli .ml)".nopaque ]; then opts=""; fi; \
ocamlfind ocamlc -g  -safe-string -I ../../src/netstring -package "bytes unix" -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " -w -25 -c  $opts parser.mli
ocamlfind ocamlc -g  -safe-string -I ../../src/netstring -package "bytes unix" -pp "../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D HAVE_BYTES " -w -25 -c  rename.ml
File "lexer.mll", line 5, characters 7-13:
Error: Unbound module Parser
make[3]: *** [../../Makefile.rules:129: lexer.cmo] Error 2
make[3]: *** Waiting for unfinished jobs....
rm lexer.ml
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/rpc-generator'
make[2]: *** [Makefile:23: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:49: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:26: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

#942747#10
Date:
2019-10-28 09:10:20 UTC
From:
To:
Hello,

I cannot reproduce. And it seems ocamlnet has been binNMUed ~2 days ago,
and it successfully built on all architectures.

Maybe there is something unclean in your environment?


Cheers,