Bug 896512

Summary: FTBFS maven-surefire-2.12.4-7.fc19
Product: [Fedora] Fedora Reporter: Tomas 'Sheldon' Radej <tradej>
Component: asm2Assignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akurtako, java-sig-commits, jcapik, mizdebsk, orion, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.2.3-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-22 07:03:31 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:
Attachments:
Description Flags
Build log none

Description Tomas 'Sheldon' Radej 2013-01-17 13:26:30 UTC
Created attachment 680194 [details]
Build log

Fails to build. Log attached.

http://koji.fedoraproject.org/koji/taskinfo?taskID=4877995

Comment 1 Mikolaj Izdebski 2013-01-22 06:38:47 UTC
This is caused by asm2 being resolved instead of objectweb-asm:
> [DEBUG] Artifact [asm:asm:3.3.1:pom] was resolved to /usr/share/maven2/poms/JPP.asm2-asm2.pom
> [DEBUG] Artifact [asm:asm:3.3.1:pom] is provided by asm2

This is a bug in asm2 package, reassigning to asm2.

The same bug causes FTBFS of jboss-as package.

Comment 2 Mikolaj Izdebski 2013-01-22 06:51:13 UTC
asm2 is a compatibility package, so it should provide only versioned jar files. Otherwise if both objectweb-asm and asm2 provide versionless jars and are available at the same time Maven resolver is allowed to pick either one.

The solution is to remove versionless jar files from asm2 package leaving only versioned ones.

Comment 3 Mikolaj Izdebski 2013-01-22 07:03:31 UTC
I believe that this bug is fixed in asm2-2.2.3-11,
which is available in Fedora Rawhide.  I am closing the bug now,
thank you for reporting it.  A summary of changes is included below.

* Tue Jan 22 2013 Mikolaj Izdebski <mizdebsk> - 0:2.2.3-11
- Remove versionless jar symlinks
- Resolves: rhbz#896512

Comment 4 Mikolaj Izdebski 2013-01-22 07:17:12 UTC
Definitely fixed in asm2-2.2.3-12

$ rpm -q asm2
asm2-2.2.3-10.fc18.noarch
$ xmvn-resolve asm:asm
/usr/share/maven2/poms/JPP.asm2-asm2.pom
$ xmvn-resolve asm:asm::jar
/usr/share/java/asm2/asm2-2.2.3.jar

$ rpm -q asm2
asm2-2.2.3-12.fc19.noarch
$ xmvn-resolve asm:asm
/usr/share/maven-poms/JPP.objectweb-asm-asm.pom
$ xmvn-resolve asm:asm::jar
/usr/share/java/objectweb-asm/asm.jar