Source: jni-inchi
Version: 0.8+dfsg-8
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[1]: Entering directory 
> '/build/reproducible-path/jni-inchi-0.8+dfsg/src/main/native'
> Makefile:161: update target 
> '../../../target/generated-sources/net_sf_jniinchi_JniInchiWrapper.h' due to: 
> target does not exist
> "/usr/lib/jvm/default-java/bin/javac" -classpath ../../../target/classes  -h 
> ../../../target/generated-sources ../java/net/sf/jniinchi/JniInchiWrapper.java
> Makefile.gcc:32: update target '../../../target/o/jni/JniInchiWrapper.o' due 
> to: target does not exist
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/jni-inchi-0.8+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection 
> -I/usr/lib/jvm/default-java/include/linux -fPIC 
> -I"/usr/lib/jvm/default-java/include" -Iinchi-1.03 -Os -ansi -pedantic 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c jni-inchi/JniInchiWrapper.c -o 
> ../../../target/o/jni/JniInchiWrapper.o -I../../../target/generated-sources
> jni-inchi/JniInchiWrapper.c: In function 
> ‘Java_net_sf_jniinchi_JniInchiWrapper_GetINCHIInputFromAuxInfo’:
> jni-inchi/JniInchiWrapper.c:804:39: warning: passing argument 1 of 
> ‘Get_inchi_Input_FromAuxInfo’ discards ‘const’ qualifier from pointer target 
> type [-Wdiscarded-qualifiers]
>   804 |     ret = Get_inchi_Input_FromAuxInfo(szAuxInfo, bDoNotAddH, 
> bDiffUnkUndfStereo, &idat);
>       |                                       ^~~~~~~~~
> In file included from jni-inchi/JniInchiWrapper.c:24:
> /usr/include/inchi_api.h:957:67: note: expected ‘char *’ but argument is of 
> type ‘const char *’
>   957 |                                                             char 
> *szInchiAuxInfo,
>       |                                                             
> ~~~~~~^~~~~~~~~~~~~~
> Assembler messages:
> Fatal error: can't create ../../../target/o/jni/JniInchiWrapper.o: No such 
> file or directory
> make[1]: *** [Makefile.gcc:32: ../../../target/o/jni/JniInchiWrapper.o] Error 
> 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/jni-inchi_0.8+dfsg-8_unstable_reverse.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Reply via email to