Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 991985

Summary: aqute-bnd: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: aqute-bndAssignee: Jaromír Cápík <jcapik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dmorganec, java-sig-commits, jcapik, mizdebsk, ovasik, puntogil
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-09 17:21:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 991858, 1051573    
Attachments:
Description Flags
fix rhbz#991985, add source compatibility with ant 1.9 none

Description Dennis Gilmore 2013-08-05 03:03:44 UTC
Your package aqute-bnd failed to build from source in current rawhide.

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

Build logs:
root.log: http://kojipkgs.fedoraproject.org/work/tasks/7391/5697391/root.log
build.log: http://kojipkgs.fedoraproject.org/work/tasks/7391/5697391/build.log
state.log: http://kojipkgs.fedoraproject.org/work/tasks/7391/5697391/state.log
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Comment 1 Mat Booth 2013-08-08 18:13:39 UTC
*** Bug 979498 has been marked as a duplicate of this bug. ***

Comment 2 gil cattaneo 2013-09-01 13:02:25 UTC
Created attachment 792593 [details]
fix rhbz#991985, add source compatibility with ant 1.9

- fix rhbz#991985
- add source compatibility with ant 1.9
- remove and rebuild from source aQute.runtime.jar
- update to current packaging guidelines

Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=5878867

Comment 3 Fedora End Of Life 2013-09-16 15:06:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 4 Mikolaj Izdebski 2013-09-19 11:41:16 UTC
(In reply to gil cattaneo from comment #2)
> Created attachment 792593 [details]
> fix rhbz#991985, add source compatibility with ant 1.9

I this patch, but it doesn't apply cleanly.
http://koji.fedoraproject.org/koji/taskinfo?taskID=5954759

Comment 5 Mikolaj Izdebski 2014-01-08 13:51:14 UTC
*** Bug 1015119 has been marked as a duplicate of this bug. ***

Comment 6 Mikolaj Izdebski 2014-01-08 13:52:43 UTC
Still fails to build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6373255

I'll look into it soon.

Comment 7 D Morgan 2014-01-13 13:23:38 UTC
i confirm this fixes the build.

Comment 8 Jaromír Cápík 2014-05-09 16:47:48 UTC
I merged the patch and fixed the rejected hunks, but the build still fails on Base64 ambiguity.

Comment 9 gil cattaneo 2014-05-09 17:09:58 UTC
(In reply to Jaromír Cápík from comment #8)
> I merged the patch and fixed the rejected hunks, but the build still fails
> on Base64 ambiguity.

build.log is available?
otherwise can you try to change
import aQute.lib.base64.*;
with
import aQute.lib.base64.Base64;
to the following files:
aQute/bnd/signing/Signer.java

thus is a java8 issues
regards

Comment 10 Jaromír Cápík 2014-05-09 17:21:58 UTC
I've already patched that ... closing and thanks for the patch.

Comment 11 Jaromír Cápík 2014-05-09 17:24:37 UTC
The following is the correct solution:

-                ps.print(new Base64(digest));
+                ps.print(new aQute.lib.base64.Base64(digest));

...

-                                + new Base64(digest) + "\r\n";
+                                + new aQute.lib.base64.Base64(digest) + "\r\n";