Bug#866855: libgettext-commons-java FTBFS: Gettext Commons build failure

2017-07-02 Thread Emmanuel Bourg
Le 2/07/2017 à 18:35, tony mancill a écrit :

> All of these build failures have libmaven-assembly-plugin-java in
> common, and after a rebuild of libmaven-assembly-plugin-java against the
> newer libplexus-interpolation-java, I'm able to build
> libgettext-commons-java locally.  Therefore, I'm going to reassign this
> bug and hopefully address it with an upload of maven-assembly.

I'd add that most of the time maven-assembly-plugin isn't required for
building our packages. So this could probably be solved by ignoring this
plugin.

Emmanuel Bourg

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


Bug#866855: libgettext-commons-java FTBFS: Gettext Commons build failure

2017-07-02 Thread tony mancill
On Sun, Jul 02, 2017 at 11:36:31AM +0300, Adrian Bunk wrote:
> Source: libgettext-commons-java
> Version: 0.9.6-3
> Severity: serious
> Tags: buster sid
> 
> Some recent change in unstable makes libgettext-commons-java FTBFS:
> 
> https://tests.reproducible-builds.org/debian/history/libgettext-commons-java.html
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libgettext-commons-java.html

Hi Adrian,

Thank you for this bug report.  This problem and several other recent
FTBFS issues you have identified appear to stem from an API change
in a recent upload of plexus-interpolation [1].  The differences between
1.21 and 1.24, as generated with japi-compliance-checker, can be seen
in [2].

All of these build failures have libmaven-assembly-plugin-java in
common, and after a rebuild of libmaven-assembly-plugin-java against the
newer libplexus-interpolation-java, I'm able to build
libgettext-commons-java locally.  Therefore, I'm going to reassign this
bug and hopefully address it with an upload of maven-assembly.

Thanks,
tony

[1] https://tracker.debian.org/news/848441
[2] 
https://people.debian.org/~tmancill/plexus-interpolation_1.21_to_1.24_compat_report.html


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

Bug#866855: libgettext-commons-java FTBFS: Gettext Commons build failure

2017-07-02 Thread Adrian Bunk
Source: libgettext-commons-java
Version: 0.9.6-3
Severity: serious
Tags: buster sid

Some recent change in unstable makes libgettext-commons-java FTBFS:

https://tests.reproducible-builds.org/debian/history/libgettext-commons-java.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libgettext-commons-java.html

...
[INFO] 

[INFO] Building Gettext Commons 0.9.6
[INFO] 

[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources 
(default-resources) @ gettext-commons ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/build/1st/libgettext-commons-java-0.9.6/src/conf
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile 
(default-compile) @ gettext-commons ---
[WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x 
is invalid, transitive dependencies (if any) will not be available, enable 
debug logging for more details
[WARNING] The POM for 
org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding 
ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 7 source files to 
/build/1st/libgettext-commons-java-0.9.6/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources 
(default-testResources) @ gettext-commons ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile 
(default-testCompile) @ gettext-commons ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test 
(default-test) @ gettext-commons ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar 
(default-jar) @ gettext-commons ---
[INFO] Building jar: 
/build/1st/libgettext-commons-java-0.9.6/target/gettext-commons-0.9.6.jar
[INFO] 
[INFO] --- maven-assembly-plugin:2.4.1:attached 
(make-assembly) @ gettext-commons ---
[INFO] Reading assembly descriptor: src/assembly/bin.xml
[INFO] 

[INFO] BUILD FAILURE
[INFO] 

[INFO] Total time: 5.092 s
[INFO] Finished at: 2017-07-01T20:03:48-12:00
[INFO] Final Memory: 20M/594M
[INFO] 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:attached 
(make-assembly) on project gettext-commons: Execution 
make-assembly of goal 
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:attached failed: An API 
incompatibility was encountered while executing 
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:attached: 
java.lang.NoSuchMethodError: 
org.codehaus.plexus.interpolation.object.FieldBasedObjectInterpolator.interpolate(Ljava/lang/Object;Lorg/codehaus/plexus/interpolation/Interpolator;Lorg/codehaus/plexus/interpolation/RecursionInterceptor;)V
[ERROR] 
-
[ERROR] realm =
plugin>org.apache.maven.plugins:maven-assembly-plugin:2.4.1
[ERROR] strategy = 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/build/1st/libgettext-commons-java-0.9.6/debian/maven-repo/org/apache/maven/plugins/maven-assembly-plugin/2.4.1/maven-assembly-plugin-2.4.1.jar
[ERROR] urls[1] = 
file:/build/1st/libgettext-commons-java-0.9.6/debian/maven-repo/org/apache/maven/wagon/wagon-file/debian/wagon-file-debian.jar
[ERROR] urls[2] = 
file:/build/1st/libgettext-commons-java-0.9.6/debian/maven-repo/org/apache/maven/wagon/wagon-http-lightweight/debian/wagon-http-lightweight-debian.jar
[ERROR] urls[3] = 
file:/build/1st/libgettext-commons-java-0.9.6/debian/maven-repo/org/apache/maven/wagon/wagon-http-shared/debian/wagon-http-shared-debian.jar
[ERROR] urls[4] = 
fil