Bug#912466: jaxb-api FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Wed Oct 31 20:34:43 GMT 2018


Source: jaxb-api
Version: 2.3.0-2
Severity: serious
Tags: ftbfs

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

...
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java:[43,24] package javax.activation does not exist
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java:[125,46] cannot find symbol
  symbol:   class DataHandler
  location: class javax.xml.bind.attachment.AttachmentMarshaller
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java:[214,48] cannot find symbol
  symbol:   class DataHandler
  location: class javax.xml.bind.attachment.AttachmentMarshaller
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java:[43,24] package javax.activation does not exist
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java:[131,20] cannot find symbol
  symbol:   class DataHandler
  location: class javax.xml.bind.attachment.AttachmentUnmarshaller
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.java:[52,24] package javax.activation does not exist
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java:[43,24] package javax.activation does not exist
[INFO] 7 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Java Architecture for XML Binding 2.3.0 ............ SUCCESS [  0.002 s]
[INFO] jaxb-api 2.3.0 ..................................... FAILURE [  4.549 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.616 s
[INFO] Finished at: 2019-12-03T14:55:31-12:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (base-compile) on project jaxb-api: Compilation failure: Compilation failure: 
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java:[43,24] package javax.activation does not exist
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java:[125,46] cannot find symbol
[ERROR]   symbol:   class DataHandler
[ERROR]   location: class javax.xml.bind.attachment.AttachmentMarshaller
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentMarshaller.java:[214,48] cannot find symbol
[ERROR]   symbol:   class DataHandler
[ERROR]   location: class javax.xml.bind.attachment.AttachmentMarshaller
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java:[43,24] package javax.activation does not exist
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/attachment/AttachmentUnmarshaller.java:[131,20] cannot find symbol
[ERROR]   symbol:   class DataHandler
[ERROR]   location: class javax.xml.bind.attachment.AttachmentUnmarshaller
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlInlineBinaryData.java:[52,24] package javax.activation does not exist
[ERROR] /build/1st/jaxb-api-2.3.0/jaxb-api/src/main/java/javax/xml/bind/annotation/XmlAttachmentRef.java:[43,24] package javax.activation does not exist
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jaxb-api
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-api-2.3.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/jaxb-api-2.3.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/jaxb-api-2.3.0/debian -Dmaven.repo.local=/build/1st/jaxb-api-2.3.0/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 2



More information about the pkg-java-maintainers mailing list