Bug#1105475: libsvm: FTBFS with make --shuffle=reverse: svm_toy.java:280: error: cannot find symbol

Lucas Nussbaum lucas at debian.org
Tue May 13 20:06:22 BST 2025


Source: libsvm
Version: 3.24+ds-6.1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at 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):
> make[3]: Entering directory '/build/reproducible-path/libsvm-3.24+ds/java'
> Makefile:17: update target 'svm_scale.class' due to: target does not exist
> javac -target 8 -source 8 svm_scale.java
> warning: [options] bootstrap class path not set in conjunction with -source 8
> warning: [options] source value 8 is obsolete and will be removed in a future release
> warning: [options] target value 8 is obsolete and will be removed in a future release
> warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> 4 warnings
> Makefile:17: update target 'svm_toy.class' due to: target does not exist
> javac -target 8 -source 8 svm_toy.java
> warning: [options] bootstrap class path not set in conjunction with -source 8
> warning: [options] source value 8 is obsolete and will be removed in a future release
> warning: [options] target value 8 is obsolete and will be removed in a future release
> warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> svm_toy.java:8: warning: [removal] Applet in java.applet has been deprecated and marked for removal
> public class svm_toy extends Applet {
>                              ^
> svm_toy.java:280: error: cannot find symbol
> 			svm_model model = svm.svm_train(prob, param);
> 			                  ^
>   symbol:   variable svm
>   location: class svm_toy
> svm_toy.java:290: error: cannot find symbol
> 				j[i] = (int)(YLEN*svm.svm_predict(model, x));
> 				                  ^
>   symbol:   variable svm
>   location: class svm_toy
> svm_toy.java:342: error: cannot find symbol
> 			svm_model model = svm.svm_train(prob, param);
> 			                  ^
>   symbol:   variable svm
>   location: class svm_toy
> svm_toy.java:354: error: cannot find symbol
> 					double d = svm.svm_predict(model, x);
> 					           ^
>   symbol:   variable svm
>   location: class svm_toy
> svm_toy.java:487: warning: [removal] Applet in java.applet has been deprecated and marked for removal
> 	AppletFrame(String title, Applet applet, int width, int height)
> 	                          ^
> 4 errors
> 6 warnings
> make[3]: *** [Makefile:17: svm_toy.class] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/libsvm_3.24+ds-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



More information about the debian-science-maintainers mailing list