Bug#1099295: uncommons-watchmaker: FTBFS: error: package org.jfree.ui does not exist
Santiago Vila
sanvila at debian.org
Sat Mar 1 21:03:18 GMT 2025
Package: src:uncommons-watchmaker
Version: 0.7.1-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=gradle --with=javahelper,maven-repo-helper
dh_auto_clean -O--buildsystem=gradle
sh -c "find . -wholename .*build/tmp | xargs echo | sed -e 's^build/tmp^build^g' | xargs rm -Rf"
sh -c "find . -wholename .*build/debian | xargs echo | sed -e 's^build/tmp^build^g' | xargs rm -Rf"
rm -Rf /<<PKGBUILDDIR>>/.gradle /<<PKGBUILDDIR>>/buildSrc/.gradle .m2
dh_autoreconf_clean -O--buildsystem=gradle
jh_clean -O--buildsystem=gradle
Duplicate specification "unlink|u" for option "u"
dh_clean -O--buildsystem=gradle
debian/rules binary
dh binary --buildsystem=gradle --with=javahelper,maven-repo-helper
dh_update_autotools_config -O--buildsystem=gradle
dh_autoreconf -O--buildsystem=gradle
dh_auto_configure -O--buildsystem=gradle
jh_linkjars -O--buildsystem=gradle
Duplicate specification "unlink|u" for option "u"
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- --settings-file debian/settings.gradle -x :javadocAll \
--project-prop DEB_VERSION_UPSTREAM=0.7.1
mkdir -p .gradle/init.d
cp /usr/share/gradle-debian-helper/init.gradle .gradle/init.d/
gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian -Ddebian.package=uncommons-watchmaker -Dfile.encoding=UTF-8 --parallel --max-workers=2 --settings-file debian/settings.gradle -x :javadocAll --project-prop DEB_VERSION_UPSTREAM=0.7.1
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
openjdk version "21.0.6" 2025-01-21
OpenJDK Runtime Environment (build 21.0.6+7-Debian-1)
OpenJDK 64-Bit Server VM (build 21.0.6+7-Debian-1, mixed mode, sharing)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Initialized native services in: /<<PKGBUILDDIR>>/.gradle/native
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.4.1/userguide/gradle_daemon.html.
Starting process 'Gradle build daemon'. Working directory: /<<PKGBUILDDIR>>/.gradle/daemon/4.4.1 Command: /usr/lib/jvm/java-21-openjdk-amd64/bin/java --add-opens java.base/java.lang=ALL-UNNAMED -Xbootclasspath/a:/usr/share/java/gradle-helper-hook.jar:/usr/share/java/maven-repo-helper.jar -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /usr/share/gradle/lib/gradle-launcher-4.4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.4.1
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.561 secs.
The client will now receive all logging from the daemon (pid: 30974). The daemon log file: /<<PKGBUILDDIR>>/.gradle/daemon/4.4.1/daemon-30974.out.log
Daemon will be stopped at the end of the build stopping after processing
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Using 2 worker leases.
Creating new cache for fileHashes, path /<<PKGBUILDDIR>>/.gradle/caches/4.4.1/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess at 643572b
Creating new cache for resourceHashesCache, path /<<PKGBUILDDIR>>/.gradle/caches/4.4.1/fileHashes/resourceHashesCache.bin, access org.gradle.cache.internal.DefaultCacheAccess at 643572b
Creating new cache for fileHashes, path /<<PKGBUILDDIR>>/debian/.gradle/4.4.1/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess at 73bfaac1
Starting Build
Compiling initialization script '/<<PKGBUILDDIR>>/.gradle/init.d/init.gradle' using SubsetScriptTransformer.
Creating new cache for metadata-1.1/results, path /<<PKGBUILDDIR>>/.gradle/caches/transforms-1/metadata-1.1/results.bin, access org.gradle.cache.internal.DefaultCacheAccess at 1ab357d7
Compiling initialization script '/<<PKGBUILDDIR>>/.gradle/init.d/init.gradle' using BuildScriptTransformer.
Compiling settings file '/<<PKGBUILDDIR>>/debian/settings.gradle' using SubsetScriptTransformer.
Compiling settings file '/<<PKGBUILDDIR>>/debian/settings.gradle' using BuildScriptTransformer.
Settings evaluated using settings file '/<<PKGBUILDDIR>>/debian/settings.gradle'.
Settings file found (/<<PKGBUILDDIR>>/debian/settings.gradle), but rootProject.name isn't defined
Root project name not defined in settings.gradle, defaulting to 'uncommons-watchmaker' instead of the name of the root directory 'debian'
Projects loaded. Root project using build file '/<<PKGBUILDDIR>>/debian/build.gradle'.
Included projects: [root project 'uncommons-watchmaker', project ':framework', project ':swing']
Keep-alive timer started
Adding Debian repository to project 'uncommons-watchmaker'
Adding Debian repository to project 'framework'
Adding Debian repository to project 'swing'
Parallel execution is an incubating feature.
Evaluating root project 'uncommons-watchmaker' using build file '/<<PKGBUILDDIR>>/debian/build.gradle'.
Compiling build file '/<<PKGBUILDDIR>>/debian/build.gradle' using SubsetScriptTransformer.
Compiling build file '/<<PKGBUILDDIR>>/debian/build.gradle' using BuildScriptTransformer.
Evaluating project ':framework' using build file '/<<PKGBUILDDIR>>/framework/build.gradle'.
Adding Maven pom generation to project 'framework'
Linking the generated javadoc to the system JDK API documentation
Evaluating project ':swing' using build file '/<<PKGBUILDDIR>>/swing/build.gradle'.
Adding Maven pom generation to project 'swing'
Linking the generated javadoc to the system JDK API documentation
All projects evaluated.
No tasks specified. Using project default tasks 'assemble', 'javadocAll'
Selected primary task 'assemble' from project :
Creating new cache for annotation-processors, path /<<PKGBUILDDIR>>/.gradle/4.4.1/fileContent/annotation-processors.bin, access org.gradle.cache.internal.DefaultCacheAccess at 6148167
Selected primary task 'javadocAll' from project :
Tasks to be executed: [task ':framework:compileJava', task ':framework:processResources', task ':framework:classes', task ':framework:debianMavenPom', task ':framework:jar', task ':framework:assemble', task ':swing:compileJava', task ':swing:processResources', task ':swing:classes', task ':swing:debianMavenPom', task ':swing:jar', task ':swing:assemble']
Creating new cache for resourceHashesCache, path /<<PKGBUILDDIR>>/debian/.gradle/4.4.1/fileHashes/resourceHashesCache.bin, access org.gradle.cache.internal.DefaultCacheAccess at 73bfaac1
Creating new cache for taskHistory, path /<<PKGBUILDDIR>>/.gradle/4.4.1/taskHistory/taskHistory.bin, access org.gradle.cache.internal.DefaultCacheAccess at 758966d3
Creating new cache for outputFiles, path /<<PKGBUILDDIR>>/.gradle/buildOutputCleanup/outputFiles.bin, access org.gradle.cache.internal.DefaultCacheAccess at 1aad6ed1
:framework:compileJava (Thread[#26,Daemon worker,5,main]) started.
:framework:compileJava
Putting task artifact state for task ':framework:compileJava' into context took 0.011 secs.
:swing:processResources (Thread[#38,Task worker for ':',5,main]) started.
:swing:processResources
Putting task artifact state for task ':swing:processResources' into context took 0.0 secs.
file or directory '/<<PKGBUILDDIR>>/swing/src/main/resources', not found
Skipping task ':swing:processResources' as it has no source files and no previous output files.
:swing:processResources NO-SOURCE
:swing:processResources (Thread[#38,Task worker for ':',5,main]) completed. Took 0.01 secs.
:swing:debianMavenPom (Thread[#38,Task worker for ':',5,main]) started.
:swing:debianMavenPom
Putting task artifact state for task ':swing:debianMavenPom' into context took 0.0 secs.
file or directory '/<<PKGBUILDDIR>>/framework/src/main/java', not found
Up-to-date check for task ':swing:debianMavenPom' took 0.008 secs. It is not up-to-date because:
No history is available.
Loading the Maven rules...
Passing through com.google.guava:guava:jar:debian
Generating pom file /<<PKGBUILDDIR>>/swing/build/debian/watchmaker-swing.pom
:swing:debianMavenPom (Thread[#38,Task worker for ':',5,main]) completed. Took 0.093 secs.
Passing through com.google.guava:guava-parent:jar:debian
Passing through org.uncommons.maths:uncommons-maths:jar:debian
Passing through org.jsr-305:jsr305:jar:0.x
Passing through com.google.errorprone:error_prone_annotations:jar:debian
Passing through com.google.errorprone:error_prone_parent:jar:debian
file or directory '/<<PKGBUILDDIR>>/framework/src/main/java', not found
Up-to-date check for task ':framework:compileJava' took 0.6 secs. It is not up-to-date because:
No history is available.
All input files are considered out-of-date for incremental task ':framework:compileJava'.
file or directory '/<<PKGBUILDDIR>>/framework/src/main/java', not found
Compiling with JDK Java compiler API.
/<<PKGBUILDDIR>>/framework/src/java/main/org/uncommons/watchmaker/framework/FitnessEvaluationWorker.java:107: warning: [removal] finalize() in Object has been deprecated and marked for removal
protected void finalize() throws Throwable
^
/<<PKGBUILDDIR>>/framework/src/java/main/org/uncommons/watchmaker/framework/FitnessEvaluationWorker.java:110: warning: [removal] finalize() in Object has been deprecated and marked for removal
super.finalize();
^
2 warnings
:framework:compileJava (Thread[#26,Daemon worker,5,main]) completed. Took 1.678 secs.
:framework:processResources (Thread[#38,Task worker for ':',5,main]) started.
:framework:processResources
Putting task artifact state for task ':framework:processResources' into context took 0.0 secs.
file or directory '/<<PKGBUILDDIR>>/framework/src/main/resources', not found
Skipping task ':framework:processResources' as it has no source files and no previous output files.
:framework:processResources NO-SOURCE
:framework:processResources (Thread[#38,Task worker for ':',5,main]) completed. Took 0.0 secs.
:framework:classes (Thread[#38,Task worker for ':',5,main]) started.
:framework:classes
Skipping task ':framework:classes' as it has no actions.
:framework:classes (Thread[#38,Task worker for ':',5,main]) completed. Took 0.0 secs.
:framework:debianMavenPom (Thread[#38,Task worker for ':',5,main]) started.
:framework:debianMavenPom
Putting task artifact state for task ':framework:debianMavenPom' into context took 0.0 secs.
Up-to-date check for task ':framework:debianMavenPom' took 0.0 secs. It is not up-to-date because:
No history is available.
Generating pom file /<<PKGBUILDDIR>>/framework/build/debian/watchmaker-framework.pom
:framework:debianMavenPom (Thread[#38,Task worker for ':',5,main]) completed. Took 0.003 secs.
:framework:jar (Thread[#38,Task worker for ':',5,main]) started.
:framework:jar
Putting task artifact state for task ':framework:jar' into context took 0.0 secs.
Up-to-date check for task ':framework:jar' took 0.007 secs. It is not up-to-date because:
No history is available.
:framework:jar (Thread[#38,Task worker for ':',5,main]) completed. Took 0.031 secs.
:framework:assemble (Thread[#26,Daemon worker,5,main]) started.
:framework:assemble
Skipping task ':framework:assemble' as it has no actions.
:framework:assemble (Thread[#26,Daemon worker,5,main]) completed. Took 0.0 secs.
:swing:compileJava (Thread[#38,Task worker for ':',5,main]) started.
:swing:compileJava
Putting task artifact state for task ':swing:compileJava' into context took 0.0 secs.
file or directory '/<<PKGBUILDDIR>>/swing/src/main/java', not found
Passing through org.jfree:jfreechart:jar:debian
file or directory '/<<PKGBUILDDIR>>/swing/src/main/java', not found
Up-to-date check for task ':swing:compileJava' took 0.126 secs. It is not up-to-date because:
No history is available.
All input files are considered out-of-date for incremental task ':swing:compileJava'.
file or directory '/<<PKGBUILDDIR>>/swing/src/main/java', not found
Compiling with JDK Java compiler API.
/<<PKGBUILDDIR>>/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/JVMView.java:40: error: package org.jfree.ui does not exist
import org.jfree.ui.RectangleAnchor;
^
/<<PKGBUILDDIR>>/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/JVMView.java:41: error: package org.jfree.ui does not exist
import org.jfree.ui.TextAnchor;
^
/<<PKGBUILDDIR>>/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/JVMView.java:110: error: cannot find symbol
marker.setLabelTextAnchor(TextAnchor.BOTTOM_RIGHT);
^
symbol: variable TextAnchor
location: class JVMView
/<<PKGBUILDDIR>>/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/JVMView.java:111: error: cannot find symbol
marker.setLabelAnchor(RectangleAnchor.RIGHT);
^
symbol: variable RectangleAnchor
location: class JVMView
/<<PKGBUILDDIR>>/swing/src/java/main/org/uncommons/watchmaker/swing/evolutionmonitor/IslandsView.java:76: error: cannot find symbol
meanRenderer.setBaseLinesVisible(false);
^
symbol: method setBaseLinesVisible(boolean)
location: variable meanRenderer of type StatisticalLineAndShapeRenderer
Note: /<<PKGBUILDDIR>>/swing/src/java/main/org/uncommons/watchmaker/swing/SelectionStrategyControl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
:swing:compileJava FAILED
:swing:compileJava (Thread[#38,Task worker for ':',5,main]) completed. Took 0.428 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':swing:compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':swing:compileJava'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:50)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:98)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:51)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:37)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:207)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:192)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:124)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
... 29 more
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
5 actionable tasks: 5 executed
dh_auto_build: error: gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian -Ddebian.package=uncommons-watchmaker -Dfile.encoding=UTF-8 --parallel --max-workers=2 --settings-file debian/settings.gradle -x :javadocAll --project-prop DEB_VERSION_UPSTREAM=0.7.1 returned exit code 1
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:uncommons-watchmaker, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list