Source: openjdk-17
Version: 17.0.15+6-1
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
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):
>  debian/rules binary
> debian/rules:1006: update target 'packaging-files' due to: target is .PHONY
> for f in debian/*.in; do \
>   case "$f" in debian/control.in|debian/watch.in) continue; esac; \
>   f2=$(echo $f | sed 's/JB/openjdk-17/;s/\.in$//'); \
>   sed -e 's/@JRE@/openjdk-17-jre/g' \
>       -e 's/@JDK@/openjdk-17-jdk/g' \
>       -e 's/@vendor@/OpenJDK/g' \
>       -e 's/@RELEASE@/17/g' \
>       -e 's/@basename@/openjdk-17/g' \
>       -e 's,@TOP@,usr/lib/jvm,g' \
>       -e 's,@basedir@,usr/lib/jvm/java-17-openjdk-amd64,g' \
>       -e 's,@etcdir@,etc/java-17-openjdk,g' \
>       -e 's,@jdiralias@,java-1.17.0-openjdk-amd64,g' \
>       -e 's,@jdirname@,java-17-openjdk-amd64,g' \
>       -e 's/@srcname@//g' \
>       -e 's/@jvmarch@/amd64/g' \
>       -e 's/@tag@//g' \
>       -e 's/@priority@/1711/g' \
>       -e 's/@mantag@//g' \
>       -e 's/@multiarch@/x86_64-linux-gnu/g' \
>       -e 's/@jre_hl_tools@/java jpackage keytool rmiregistry/g' \
>       -e 's/@jre_tools@//g' \
>       -e 's/@jdk_hl_tools@/jar jarsigner javac javadoc javap jcmd jdb 
> jdeprscan jdeps jfr jimage jinfo jlink jmap jmod jps jrunscript jshell jstack 
> jstat jstatd serialver jhsdb/g' \
>       -e 's/@jdk_tools@/jconsole/g' \
>       -e 's/@corba_tools@//g' \
>       -e 's,@j2se_lib@,,g' \
>       -e 's,@j2se_share@,,g' \
>       -e 's,@java_launcher@,/usr/bin/java,g' \
>       -e 's/@cjk_fonts@/fonts-ipafont-gothic, fonts-ipafont-mincho, 
> fonts-wqy-microhei | fonts-wqy-zenhei, fonts-indic,/g' \
>     $f > $f2; \
> done
> debian/rules:1339: update target 'install' due to: target is .PHONY
> dh_testdir
> dh_testroot
> dh_prep || dh_clean -k
> rm -f debian/*.install debian/*.links
> dh_installdirs
> echo "all_jre_tools: java jpackage keytool rmiregistry"
> all_jre_tools: java jpackage keytool rmiregistry
> echo "jre_tools:     "
> jre_tools:     
> echo "jre_hl_tools:  java jpackage keytool rmiregistry"
> jre_hl_tools:  java jpackage keytool rmiregistry
> echo "all_jdk_tools: "
> all_jdk_tools: 
> echo "jdk_tools: jconsole"
> jdk_tools: jconsole
> : # install into temporary location
> mkdir -p debian/tmp/usr/lib/jvm/java-17-openjdk-amd64
> cp -a build/bootcycle-build/images/jdk/* 
> debian/tmp/usr/lib/jvm/java-17-openjdk-amd64/
> cp: cannot stat 'build/bootcycle-build/images/jdk/*': No such file or 
> directory
> make: *** [debian/rules:1351: install] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/openjdk-17_17.0.15+6-1_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