Source: openjdk-25
Version: 25~20ea-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:1013: 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-25/;s/\.in$//'); \
>   sed -e 's/@JRE@/openjdk-25-jre/g' \
>       -e 's/@JDK@/openjdk-25-jdk/g' \
>       -e 's/@vendor@/OpenJDK/g' \
>       -e 's/@RELEASE@/25/g' \
>       -e 's/@basename@/openjdk-25/g' \
>       -e 's,@TOP@,usr/lib/jvm,g' \
>       -e 's,@basedir@,usr/lib/jvm/java-25-openjdk-amd64,g' \
>       -e 's,@etcdir@,etc/java-25-openjdk,g' \
>       -e 's,@jdiralias@,java-1.25.0-openjdk-amd64,g' \
>       -e 's,@jdirname@,java-25-openjdk-amd64,g' \
>       -e 's/@srcname@//g' \
>       -e 's/@jvmarch@/amd64/g' \
>       -e 's/@tag@//g' \
>       -e 's/@priority@/2511/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 jnativescan jps jrunscript 
> jshell jstack jstat jstatd jwebserver 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:1361: 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-25-openjdk-amd64
> cp -a build/bootcycle-build/images/jdk/* 
> debian/tmp/usr/lib/jvm/java-25-openjdk-amd64/
> cp: cannot stat 'build/bootcycle-build/images/jdk/*': No such file or 
> directory
> make: *** [debian/rules:1373: install] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/openjdk-25_25~20ea-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