Hello, Thanks for reaching out. I will have a look it sounds like coccinelle (spatch) has changed behavior and is now returning an error at compile-time, I will investigate this week.
Cheers, Thomas On Sun, May 3, 2020 at 2:12 PM Lucas Nussbaum <lu...@debian.org> wrote: > Source: caml-crush > Version: 1.0.8-1 > Severity: serious > Justification: FTBFS on amd64 > Tags: bullseye sid ftbfs > Usertags: ftbfs-20200501 ftbfs-bullseye > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on amd64. > > Relevant part (hopefully): > > make[3]: Entering directory > '/<<PKGBUILDDIR>>/build-SERVER/src/bindings-pkcs11' > > camlidl -header ../../../src/bindings-pkcs11/pkcs11.idl > > cat ../../../src/bindings-pkcs11/pkcs11_stubs.c | sed -e > 's/Begin_roots_block(\(.*\)).*/Begin_roots_block(\1);/g' | sed -e > 's/Begin_root(\(.*\)).*/Begin_root(\1);/g' | sed -e > 's/End_roots(\(.*\)).*/End_roots(\1);/g' > ./tmp > > mv ./tmp ../../../src/bindings-pkcs11/pkcs11_stubs.c > > #Sed to patch (GetSlotList/GetMechList/FindObjects/GetObjectSize) > > sed -i "s/* int/\* nativeint/g" ../../../src/bindings-pkcs11/pkcs11.mli > > sed -i "s/* int/\* nativeint/g" ../../../src/bindings-pkcs11/pkcs11.ml > > spatch --no-show-diff --in-place --sp-file > ../../../src/bindings-pkcs11/pkcs11_stubs.cocci > ../../../src/bindings-pkcs11/pkcs11_stubs.c > > init_defs_builtins: /usr/bin/../lib/coccinelle/standard.h > > warning: line 96: _ctxs, previously declared as a metavariable, is used > as an identifier > > warning: line 97: _ctx, previously declared as a metavariable, is used > as an identifier > > warning: line 97: _ctxs, previously declared as a metavariable, is used > as an identifier > > warning: line 98: _c1, previously declared as a metavariable, is used as > an identifier > > warning: line 99: _c2, previously declared as a metavariable, is used as > an identifier > > warning: line 104: _v3, previously declared as a metavariable, is used > as an identifier > > warning: line 104: _c2, previously declared as a metavariable, is used > as an identifier > > warning: line 104: _ctx, previously declared as a metavariable, is used > as an identifier > > warning: line 105: _c2, previously declared as a metavariable, is used > as an identifier > > warning: line 105: _v3, previously declared as a metavariable, is used > as an identifier > > warning: line 802: _ctxs, previously declared as a metavariable, is used > as an identifier > > warning: line 821: _ctxs, previously declared as a metavariable, is used > as an identifier > > HANDLING: ../../../src/bindings-pkcs11/pkcs11_stubs.c > > #Sed because spatch is not able to preprocess > > sed -i 's/^_CAMLIDL_EXTERN_C/extern/g' > ../../../src/bindings-pkcs11/pkcs11.h > > #Sed to change the structure packing pragma in WIN32 mode: CamlIDL fixes > it to 8 while > > #PKCS11 header fixes it to 1 => this can create binary interoperability > issues > > sed -i 's/push,8/push,1\/* Replaced for PKCS11 compatibiliy *\//g' > ../../../src/bindings-pkcs11/pkcs11.h > > spatch --no-show-diff --in-place --sp-file > ../../../src/bindings-pkcs11/pkcs11.cocci > ../../../src/bindings-pkcs11/pkcs11.h > > init_defs_builtins: /usr/bin/../lib/coccinelle/standard.h > > HANDLING: ../../../src/bindings-pkcs11/pkcs11.h > > SP line 7: Not found a value in env for: session > > make[3]: *** [Makefile:37: idl] Error 255 > > The full build log is available from: > http://qa-logs.debian.net/2020/05/01/caml-crush_1.0.8-1_unstable.log > > A list of current common problems and possible solutions is available at > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! > > About the archive rebuild: The rebuild was done on EC2 VM instances from > Amazon Web Services, using a clean, minimal and up-to-date chroot. Every > failed build was retried once to eliminate random failures. >