Bug 1085903

Summary: sisu bundles version of asm
Product: [Fedora] Fedora Reporter: Robert Rati <rrati>
Component: sisuAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: mizdebsk, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.3.0-0.2.M1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-19 10:04:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Rati 2014-04-09 15:34:33 UTC
Description of problem:
sisu's bundled version of asm causes problems with java 8 classes.  From a package build using mvn_install:

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GMhyNj
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/oozie-4.0.1-1.fc21.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/oozie-4.0.1-1.fc21.x86_64
++ dirname /root/rpmbuild/BUILDROOT/oozie-4.0.1-1.fc21.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/oozie-4.0.1-1.fc21.x86_64
+ cd oozie-fe8d85a4f0467f3ad7e8d7fc8ab4ebd89fa5fe3f
+ xmvn-install -R .xmvn-reactor -n oozie -d /root/rpmbuild/BUILDROOT/oozie-4.0.1-1.fc21.x86_64
[INFO] ===============================================
[INFO] SOURCE ARTIFACT:
[INFO]     groupId: org.apache.oozie
[INFO]  artifactId: oozie-main
[INFO]   extension: pom
[INFO]  classifier: 
[INFO]     version: 4.0.1
[INFO]  stereotype: pom
[INFO]   namespace: 
[INFO]        file: /root/rpmbuild/BUILD/oozie-fe8d85a4f0467f3ad7e8d7fc8ab4ebd89fa5fe3f/pom.xml
[INFO] -----------------------------------------------
[INFO] TARGET ARTIFACT:
[INFO]     groupId: JPP/oozie
[INFO]  artifactId: oozie-main
[INFO]   extension: pom
[INFO]  classifier: 
[INFO]     version: SYSTEM
[INFO]  stereotype: pom
[INFO]   namespace: 
[INFO]        file: usr/share/maven-poms/JPP.oozie-oozie-main.pom
[INFO] ===============================================
java.lang.IllegalArgumentException
	at org.eclipse.sisu.space.asm.ClassReader.<init>(ClassReader.java:170)
	at org.eclipse.sisu.space.asm.ClassReader.<init>(ClassReader.java:153)
	at org.eclipse.sisu.space.asm.ClassReader.<init>(ClassReader.java:424)
	at org.fedoraproject.maven.installer.impl.DefaultInstaller.usesNativeCode(DefaultInstaller.java:545)
	at org.fedoraproject.maven.installer.impl.DefaultInstaller.installArtifact(DefaultInstaller.java:574)
	at org.fedoraproject.maven.installer.impl.DefaultInstaller.install(DefaultInstaller.java:758)
	at org.fedoraproject.maven.tools.installer.InstallerCli.run(InstallerCli.java:174)
	at org.fedoraproject.maven.tools.installer.InstallerCli.main(InstallerCli.java:187)
error: Bad exit status from /var/tmp/rpm-tmp.GMhyNj (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GMhyNj (%install)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Mikolaj Izdebski 2014-04-09 15:44:46 UTC
It is a known issue that ASM is source-bundled in sisu.  I wanted to replace it with a shaded version, in which case bumping and rebuilding sisu would be enough to solve issues like that.  But FPC didn't agree to my proposal, see [1].

Feel free to comment on the FPC ticket, it may help getting the exception.

[1] https://fedorahosted.org/fpc/ticket/346

Comment 2 Fedora Admin XMLRPC Client 2014-04-24 12:47:33 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Mikolaj Izdebski 2015-02-16 11:24:37 UTC
Bundling exception request was rejected by FPC.

Comment 4 Mikolaj Izdebski 2015-02-18 14:46:57 UTC
Fixed in sisu-0.3.0-0.2.M1

Comment 5 Mikolaj Izdebski 2015-02-19 10:04:41 UTC
I believe that this bug is fixed in sisu-0.3.0-0.2.M1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=612609

Comment 6 Fedora Update System 2015-02-25 15:02:43 UTC
sisu-0.3.0-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/sisu-0.3.0-1.fc22

Comment 7 Fedora Update System 2015-03-13 17:25:50 UTC
sisu-0.3.0-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.