Bug#882525: netbeans FTBFS with jaxb 2.3.0

2017-11-28 Thread Markus Koschany
Control: reassign -1 src:jaxb
Control: found -1 2.3.0-1
Control: forwarded -1 https://github.com/javaee/jaxb-v2/issues/1144
Control: affects -1 src:netbeans

I'm going to reassign this bug to jaxb because there are currently two
issues with this package. The jar files on the classpath used relative
paths instead of absolute ones. This is problematic when jar files are
(temporarily) copied to different locations as it is the case with
Netbeans' build system. In general absolute classpaths are unambiguous
and should be preferred to avoid such issues. I have just released
version 2.3.0-3 which should address this.

Unfortunately there is another bug that prevents a successful
compilation of Netbeans now. Although all classes are generated the
build fails with the following error message (gathered with ant in debug
mode):

This appears to be upstream bug 1144.


xjc-init:

model-gen:
 [echo] java.version=1.8.0_151, ant.version=Apache Ant(TM) version
1.9.9 compiled on June 29 2017
Property "saas-service.xsd" has not been set
  [xjc]
/mnt/data/Debian-Git/netbeans/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/jaxb
is not found and thus excluded from the dependency check
  [xjc] build id of XJC is 2.3.0
  [xjc] Checking timestamp of
/mnt/data/Debian-Git/netbeans/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServices.xsd
  [xjc] the last modified time of the inputs is  1482680526000
  [xjc] the last modified time of the outputs is -9223372036854775808
  [xjc] Compiling
file:/mnt/data/Debian-Git/netbeans/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServices.xsd
  [xjc] Writing output to
/mnt/data/Debian-Git/netbeans/websvc.saas.api/src
  [xjc] Command invoked:
xjc/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
  [xjc] failure in the XJC task. Use the Ant -verbose switch for
more details
  [ant] Exiting /mnt/data/Debian-Git/netbeans/websvc.saas.api/build.xml.
  [nbmerge] Failed to build target: all-websvc.saas.api
  [antcall] Exiting /mnt/data/Debian-Git/netbeans/nbbuild/build.xml.
  [antcall] Exiting /mnt/data/Debian-Git/netbeans/nbbuild/build.xml.
  [antcall] Exiting /mnt/data/Debian-Git/netbeans/nbbuild/build.xml.

BUILD FAILED
/mnt/data/Debian-Git/netbeans/nbbuild/build.xml:433: The following error
occurred while executing this line:
/mnt/data/Debian-Git/netbeans/nbbuild/build.xml:428: The following error
occurred while executing this line:
/mnt/data/Debian-Git/netbeans/nbbuild/build.xml:463: The following error
occurred while executing this line:
/mnt/data/Debian-Git/netbeans/nbbuild/build.xml:446: The following error
occurred while executing this line:
/mnt/data/Debian-Git/netbeans/nbbuild/build.xml:428: The following error
occurred while executing this line:
/mnt/data/Debian-Git/netbeans/nbbuild/build.xml:475: The following error
occurred while executing this line:
/mnt/data/Debian-Git/netbeans/websvc.saas.api/build.xml:73: xjc failed
at com.sun.tools.xjc.XJCBase.execute(XJCBase.java:731)
at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:55)
at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:103)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.netbeans.nbbuild.NbMerge.fixedModulesBuild(Unknown Source)
at org.netbeans.nbbuild.NbMerge.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at

Bug#882525: netbeans FTBFS with jaxb 2.3.0

2017-11-23 Thread Adrian Bunk
Source: netbeans
Version: 8.1+dfsg3-4
Severity: serious

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

...
BUILD FAILED
/build/1st/netbeans-8.1+dfsg3/nbbuild/build.xml:433: The following error 
occurred while executing this line:
/build/1st/netbeans-8.1+dfsg3/nbbuild/build.xml:428: The following error 
occurred while executing this line:
/build/1st/netbeans-8.1+dfsg3/nbbuild/build.xml:463: The following error 
occurred while executing this line:
/build/1st/netbeans-8.1+dfsg3/nbbuild/build.xml:446: The following error 
occurred while executing this line:
/build/1st/netbeans-8.1+dfsg3/nbbuild/build.xml:428: The following error 
occurred while executing this line:
/build/1st/netbeans-8.1+dfsg3/nbbuild/build.xml:475: The following error 
occurred while executing this line:
/build/1st/netbeans-8.1+dfsg3/websvc.saas.api/build.xml:59: taskdef A class 
needed by class com.sun.tools.xjc.XJCTask cannot be found: 
com/sun/istack/tools/ProtectedTask
 using the classloader 
AntClassLoader[/build/1st/netbeans-8.1+dfsg3/nbbuild/netbeans/ide/modules/ext/jaxb/api/jaxb-api.jar:/build/1st/netbeans-8.1+dfsg3/nbbuild/netbeans/ide/modules/ext/jaxb/jaxb-impl.jar:/build/1st/netbeans-8.1+dfsg3/nbbuild/netbeans/ide/modules/ext/jaxb/jaxb-xjc.jar]

Total time: 5 minutes 45 seconds
debian/rules:51: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.