Bug#868631: sks FTBFS: No implementations provided for module Z referenced from cryptokit.cmxa

2017-07-17 Thread Stéphane Glondu

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


Processed: Re: Bug#868631: sks FTBFS: No implementations provided for module Z referenced from cryptokit.cmxa

2017-07-17 Thread Debian Bug Tracking System
Processing control commands:

> reassign 868631 libcryptokit-ocaml-dev 1.11-1
Bug #868631 [src:sks] sks FTBFS: No implementations provided for module Z 
referenced from cryptokit.cmxa
Bug reassigned from package 'src:sks' to 'libcryptokit-ocaml-dev'.
No longer marked as found in versions sks/1.1.6-4.
Ignoring request to alter fixed versions of bug #868631 to the same values 
previously set
Bug #868631 [libcryptokit-ocaml-dev] sks FTBFS: No implementations provided for 
module Z referenced from cryptokit.cmxa
Marked as found in versions cryptokit/1.11-1.
> affects 868631 sks
Bug #868631 [libcryptokit-ocaml-dev] sks FTBFS: No implementations provided for 
module Z referenced from cryptokit.cmxa
Added indication that 868631 affects sks

-- 
868631: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868631
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#868631: sks FTBFS: No implementations provided for module Z referenced from cryptokit.cmxa

2017-07-17 Thread Daniel Kahn Gillmor
Control: reassign 868631 libcryptokit-ocaml-dev 1.11-1
Control: affects 868631 sks

On Mon 2017-07-17 04:22:35 +0300, Adrian Bunk 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.

Thanks for catching this, Adrian!

   --dkg


signature.asc
Description: PGP signature


Bug#868631: sks FTBFS: No implementations provided for module Z referenced from cryptokit.cmxa

2017-07-16 Thread Adrian Bunk
Source: sks
Version: 1.1.6-4
Severity: serious
Tags: buster sid

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 keyHa
 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