On 17/07/2017 09:00, Daniel Kahn Gillmor wrote:
Some recent change in unstable makes sks FTBFS:
https://tests.reproducible-builds.org/debian/history/sks.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sks.html
...
ocamlopt -I lib -I bdb -I +cryptokit -ccopt -g -ccopt -O2 -ccopt
-fstack-protector-strong -ccopt -Wformat -ccopt -Werror=format-security
-ccopt -O3 -ccopt -Werror-implicit-function-declaration -ccopt
-I/usr/lib/ocaml -ccopt -I -ccopt . -ccopt -Wdate-time -ccopt
-D_FORTIFY_SOURCE=2 -ccopt -Wl,-z,relro -ccopt -Wl,-z,now -runtime-variant
_pic -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa bdb.cmxa nums.cmxa
bigarray.cmxa cryptokit.cmxa -c sks.ml
ocamlopt -o sks -I lib -I bdb -I +cryptokit -ccopt -g -ccopt -O2 -ccopt
-fstack-protector-strong -ccopt -Wformat -ccopt -Werror=format-security
-ccopt -O3 -ccopt -Werror-implicit-function-declaration -ccopt
-I/usr/lib/ocaml -ccopt -I -ccopt . -ccopt -Wdate-time -ccopt
-D_FORTIFY_SOURCE=2 -ccopt -Wl,-z,relro -ccopt -Wl,-z,now -runtime-variant
_pic -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa bdb.cmxa nums.cmxa
bigarray.cmxa cryptokit.cmxa crc.o pSet.cmx pMap.cmx utils.cmx heap.cmx
mList.cmx mTimer.cmx mArray.cmx settings.cmx pstyle.cmx getfileopts.cmx
common.cmx channel.cmx eventloop.cmx ehandlers.cmx bitstring.cmx
meteredChannel.cmx number.cmx prime.cmx zZp.cmx rMisc.cmx linearAlg.cmx
poly.cmx decode.cmx fqueue.cmx prefixTree.cmx msgContainer.cmx
nbMsgContainer.cmx cMarshal.cmx reconMessages.cmx server.cmx client.cmx
reconCS.cmx number_test.cmx decode_test.cmx poly_test.cmx Unique_time.cmx
version.cmx packet.cmx parsePGP.cmx sStream.cmx bdbwrap.cmx key.cmx key
Ha
sh.cmx keyMerge.cmx fixkey.cmx fingerprint.cmx keydb.cmx armor.cmx
dbMessages.cmx htmlTemplates.cmx wserver.cmx membership.cmx tester.cmx
request.cmx stats.cmx index.cmx mRindex.cmx pTreeDB.cmx sendmail.cmx
recvmail.cmx mailsync.cmx clean_keydb.cmx build.cmx fastbuild.cmx pbuild.cmx
merge_keyfiles.cmx sksdump.cmx incdump.cmx dbserver.cmx reconComm.cmx
recoverList.cmx catchup.cmx reconserver.cmx update_subkeys.cmx sks_do.cmx
unit_tests.cmx sks.cmx
File "_none_", line 1:
Error: No implementations provided for the following modules:
Z referenced from
/usr/lib/ocaml/cryptokit/cryptokit.cmxa(CryptokitBignum)
Makefile:180: recipe for target 'sks' failed
make[2]: *** [sks] Error 2
I suspect this is due to the upgrade of libcryptokit-ocaml-dev from
1.10-1+b1 to 1.11-1. If this isn't the case, hopefully the OCaml
Maintainers can identify the actual cause.
Indeed. cryptokit now depends on zarith. This should be transparent to
packages using ocamlfind. However, it does not seem to be the case for sks.
You just have to add "-I +zarith zarith.cmxa" (before cryptokit.cmxa) to
the command line generating sks.
Cheers,
--
Stéphane