FS#52566 - [zlib] 1.2.10-1 breaks my java builds

Attached to Project: Arch Linux
Opened by Urs Joss (ursus) - Monday, 16 January 2017, 06:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 16 January 2017, 23:31 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Upgrading from zlib-1.2.8-7 to 1.2.10-1 breaks my java builds (using maven). The error in the maven build was:

=== snip ===
Error: Invalid or corrupt jarfile /home/urs/work/git/ct/git/SecondCDRFeed/Implementation/SecondCDRFeed/target/surefire/surefirebooter3940298660474383440.jar
=== snip ===

and the build breaks with:

=== snip ===
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project secondCDRFeedServices: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/urs/work/git/ct/git/SecondCDRFeed/Implementation/SecondCDRFeed && /usr/lib/jvm/java-8-openjdk/jre/bin/java -jar /home/urs/work/git/ct/git/SecondCDRFeed/Implementation/SecondCDRFeed/target/surefire/surefirebooter3940298660474383440.jar /home/urs/work/git/ct/git/SecondCDRFeed/Implementation/SecondCDRFeed/target/surefire/surefire1659470256020212952tmp /home/urs/work/git/ct/git/SecondCDRFeed/Implementation/SecondCDRFeed/target/surefire/surefire_06339922540365681115tmp
=== snap ===

Downgrading to 1.2.8-7 immediatly resolves the issue.

Additional info:
* Upstream has issued an urgent bug-fix release to 1.2.9/1.2.10, indicating

=== snip ===
Due to the bug fixes, any installations of 1.2.9 or 1.2.10 should be immediately replaced with 1.2.11.
=== snap ===

However, I have not tried to compile 1.2.11 and see if it resolves my issue as well.


Steps to reproduce:
* upgrade zlib to 1.2.10-1
* run a maven build with a project using the surefire-plugin

Thanks
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 16 January 2017, 23:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  zlib 1.2.11-1
Comment by Urs Joss (ursus) - Monday, 16 January 2017, 22:37 GMT
zlib-1.2.11-1 does solve the issue. You can close the ticket. Thanks!

Loading...