Bug#893214: jaxb FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Sat Mar 17 11:20:33 UTC 2018


Source: jaxb
Version: 2.3.0-3
Severity: serious

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

...
 debian/rules build
dh build --buildsystem=maven --with javahelper
   dh_update_autotools_config -O--buildsystem=maven
   dh_autoreconf -O--buildsystem=maven
   dh_auto_configure -O--buildsystem=maven
	mh_patchpoms -plibjaxb-java --debian-build --keep-pom-version --maven-repo=/build/1st/jaxb-2.3.0/debian/maven-repo
[ERROR] Cannot find parent dependency com.sun.xml.bind:jaxb-bom-ext:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency org.glassfish.jaxb:jaxb-bom:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency com.sun.xml.bind.mvn:jaxb-parent:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency com.sun.xml.bind.mvn:jaxb-parent:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency com.sun.xml.bind.mvn:jaxb-parent:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency com.sun.xml.bind.mvn:jaxb-runtime-parent:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency com.sun.xml.bind.mvn:jaxb-runtime-parent:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency com.sun.xml.bind.mvn:jaxb-parent:pom:2.3.0, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
   jh_linkjars -O--buildsystem=maven
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/jaxb-2.3.0'
dh_auto_build -- -f jaxb-ri/pom.xml package javadoc:aggregate -DskipTests
	/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=/build/1st/jaxb-2.3.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/jaxb-2.3.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/jaxb-2.3.0/debian -Dmaven.repo.local=/build/1st/jaxb-2.3.0/debian/maven-repo --batch-mode -f jaxb-ri/pom.xml package javadoc:aggregate -DskipTests -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...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 67, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 100, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 67, column 12
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[ERROR] 'dependencies.dependency.version' for org.jmockit:jmockit:jar is missing. @ org.glassfish.jaxb:jaxb-jxc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml, line 88, column 21
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ org.glassfish.jaxb:jaxb-jxc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml, line 93, column 21
[ERROR] 'dependencies.dependency.version' for org.netbeans.external:nb-javac-api:jar is missing. @ org.glassfish.jaxb:jaxb-jxc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml, line 108, column 21
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[ERROR] 'dependencies.dependency.version' for org.jmockit:jmockit:jar is missing. @ org.glassfish.jaxb:jaxb-xjc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-xjc-jdk9/pom.xml, line 72, column 21
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ org.glassfish.jaxb:jaxb-xjc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-xjc-jdk9/pom.xml, line 77, column 21
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ com.sun.xml.bind.mvn:jaxb-parent:2.3.0, /build/1st/jaxb-2.3.0/jaxb-ri/pom.xml, line 180, column 17
[WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ line 180, column 17
 @ 
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   
[ERROR]   The project org.glassfish.jaxb:jaxb-jxc-jdk9:2.3.0 (/build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml) has 3 errors
[ERROR]     'dependencies.dependency.version' for org.jmockit:jmockit:jar is missing. @ org.glassfish.jaxb:jaxb-jxc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml, line 88, column 21
[ERROR]     'dependencies.dependency.version' for junit:junit:jar is missing. @ org.glassfish.jaxb:jaxb-jxc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml, line 93, column 21
[ERROR]     'dependencies.dependency.version' for org.netbeans.external:nb-javac-api:jar is missing. @ org.glassfish.jaxb:jaxb-jxc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-jxc-jdk9/pom.xml, line 108, column 21
[ERROR]   
[ERROR]   The project org.glassfish.jaxb:jaxb-xjc-jdk9:2.3.0 (/build/1st/jaxb-2.3.0/jaxb-ri/jaxb-xjc-jdk9/pom.xml) has 2 errors
[ERROR]     'dependencies.dependency.version' for org.jmockit:jmockit:jar is missing. @ org.glassfish.jaxb:jaxb-xjc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-xjc-jdk9/pom.xml, line 72, column 21
[ERROR]     'dependencies.dependency.version' for junit:junit:jar is missing. @ org.glassfish.jaxb:jaxb-xjc-jdk9:[unknown-version], /build/1st/jaxb-2.3.0/jaxb-ri/jaxb-xjc-jdk9/pom.xml, line 77, column 21
[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/ProjectBuildingException
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=/build/1st/jaxb-2.3.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/jaxb-2.3.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/jaxb-2.3.0/debian -Dmaven.repo.local=/build/1st/jaxb-2.3.0/debian/maven-repo --batch-mode -f jaxb-ri/pom.xml package javadoc:aggregate -DskipTests -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1



More information about the pkg-java-maintainers mailing list