Bug#919874: bsaf: FTBFS

Santiago Vila sanvila at debian.org
Sun Jan 20 12:21:13 GMT 2019


Package: src:bsaf
Version: 1.9.2-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
	mh_patchpoms -plibbetter-appframework-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
   dh_auto_build -i
	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.jdesktop.bsaf:bsaf:jar:1.9.2
[WARNING] 'dependencies.dependency.systemPath' for javax.jnlp:jnlp:jar should use a variable instead of a hard-coded path /usr/share/java/netx.jar @ line 129, column 16
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] -----------------------< org.jdesktop.bsaf:bsaf >-----------------------
[INFO] Building bsaf 1.9.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ bsaf ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ bsaf ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 38 source files to /<<PKGBUILDDIR>>/target/classes
[WARNING] bootstrap class path not set in conjunction with -source 6
[WARNING] source value 6 is obsolete and will be removed in a future release
[WARNING] target value 1.6 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/SessionStorage.java:[13,19] java.applet.Applet in java.applet has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ResourceMap.java:[15,16] java.awt.Event in java.awt has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/SessionStorage.java:[210,84] java.applet.Applet in java.applet has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/Application.java:[232,18] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ResourceMap.java:[1257,31] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ResourceMap.java:[1277,27] isAccessible() in java.lang.reflect.AccessibleObject has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ResourceMap.java:[1511,74] getMenuShortcutKeyMask() in java.awt.Toolkit has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ResourceMap.java:[1512,13] java.awt.Event in java.awt has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ResourceMap.java:[1522,52] getMenuShortcutKeyMask() in java.awt.Toolkit has been deprecated
[WARNING] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/TextActions.java:[168,52] getModifiers() in java.awt.event.InputEvent has been deprecated
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/SessionStorage.java: Some input files use unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/SessionStorage.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ bsaf ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ bsaf ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ bsaf ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ bsaf ---
[INFO] Building jar: /<<PKGBUILDDIR>>/target/bsaf-1.9.2.jar
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ bsaf ---
[INFO] Adding the --ignore-source-errors option
[INFO] 
Loading source files for package org.jdesktop.application...
Loading source files for package org.jdesktop.application.session...
Loading source files for package org.jdesktop.application.utils...
Constructing Javadoc information...
Standard Doclet version 11.0.2
Building tree for all the packages and classes...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/AbstractBean.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Action.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Action.Parameter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ActionManager.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Application.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Application.ExitListener.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ApplicationAction.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ApplicationActionMap.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ApplicationContext.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/FrameView.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/LocalStorage.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ProxyActions.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Resource.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceConverter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceConverter.ResourceConverterException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceManager.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceMap.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceMap.InjectFieldException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceMap.LookupException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/ResourceMap.PropertyInjectionException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/SessionStorage.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/SingleFrameApplication.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Task.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Task.BlockingScope.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/Task.InputBlocker.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/TaskEvent.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/TaskListener.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/TaskListener.Adapter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/TaskMonitor.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/TaskService.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/View.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/PropertySupport.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/SplitPaneProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/SplitPaneState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/TabbedPaneProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/TabbedPaneState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/TableProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/TableState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/WindowProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/WindowState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/AppHelper.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/OSXAdapter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/PlatformType.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/SwingHelper.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/package-summary.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/package-tree.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/package-summary.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/package-tree.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/package-summary.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/package-tree.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/constant-values.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/serialized-form.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceMap.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceMap.InjectFieldException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceMap.PropertyInjectionException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceMap.LookupException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceConverter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceConverter.ResourceConverterException.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Application.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Application.ExitListener.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/LocalStorage.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/TaskListener.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/TaskListener.Adapter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Action.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Action.Parameter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ActionManager.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/SessionStorage.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/SingleFrameApplication.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ProxyActions.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/TaskMonitor.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ApplicationContext.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Task.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Task.InputBlocker.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Task.BlockingScope.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/TaskService.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/Resource.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/TaskEvent.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/AbstractBean.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ResourceManager.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/FrameView.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ApplicationActionMap.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/View.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/class-use/ApplicationAction.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/TableState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/WindowState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/SplitPaneState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/WindowProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/PropertySupport.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/TableProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/SplitPaneProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/TabbedPaneState.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/class-use/TabbedPaneProperty.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/class-use/SwingHelper.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/class-use/PlatformType.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/class-use/OSXAdapter.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/class-use/AppHelper.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/package-use.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/session/package-use.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/org/jdesktop/application/utils/package-use.html...
Building index for all the packages and classes...
Generating /<<PKGBUILDDIR>>/target/apidocs/overview-tree.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/index-all.html...
Building index for all classes...
Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses-index.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/allpackages-index.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/deprecated-list.html...
Building index for all classes...
Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/index.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/overview-summary.html...
Generating /<<PKGBUILDDIR>>/target/apidocs/help-doc.html...
1 error
3 warnings
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping bsaf
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  32.302 s
[INFO] Finished at: 2019-01-20T01:29:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project bsaf: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/6/docs/api/ are in the unnamed module.
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/ApplicationAction.java:165: warning - invalid usage of tag &
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/Task.java:49: warning - invalid usage of tag <
[ERROR] /<<PKGBUILDDIR>>/src/main/java/org/jdesktop/application/Task.java:49: warning - invalid usage of tag >
[ERROR] 
[ERROR] Command line was: /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc @options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in '/<<PKGBUILDDIR>>/target/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/bsaf.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list