Bug#792158: FTBFS: FactoryLocator.java:30: error: package org.apache.geronimo.osgi.locator does not exist

2015-07-13 Thread Emmanuel Bourg
The StAX API 1.2 was integrated to the JRE in the version 6u18 [1]. The
geronimo-stax-1.2-spec package is probably obsolete and could be removed.

Emmanuel Bourg

[1]
http://www.oracle.com/technetwork/java/javase/6u18-142093.html#stax1.2-1.6.0_18

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


Bug#792158: FTBFS: FactoryLocator.java:30: error: package org.apache.geronimo.osgi.locator does not exist

2015-07-12 Thread Chris West (Faux)
Source: geronimo-stax-1.2-spec
Version: 1.1-1
Severity: serious
Tags: sid
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build in sid:
compile:
[mkdir] Created dir: /tmp/buildd/geronimo-stax-1.2-spec-1.1/build/classes
[javac] /tmp/buildd/geronimo-stax-1.2-spec-1.1/debian/build.xml:31: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 37 source files to 
/tmp/buildd/geronimo-stax-1.2-spec-1.1/build/classes
[javac] 
/tmp/buildd/geronimo-stax-1.2-spec-1.1/src/main/java/javax/xml/stream/FactoryLocator.java:30:
 error: package org.apache.geronimo.osgi.locator does not exist
[javac] import org.apache.geronimo.osgi.locator.ProviderLocator;
[javac]^
[javac] 
/tmp/buildd/geronimo-stax-1.2-spec-1.1/src/main/java/javax/xml/stream/FactoryLocator.java:86:
 error: cannot find symbol
[javac] String factoryClassName =  
ProviderLocator.lookupByJREPropertyFile("lib" + File.separator + 
"stax.properties", factoryId);


I guess this is incompatability with libgeronimo-osgi-support-java 1.1 (1.0 in 
testing works).

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/geronimo-stax-1.2-spec.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

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