Bug 991985 - aqute-bnd: FTBFS in rawhide
aqute-bnd: FTBFS in rawhide
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: aqute-bnd (Show other bugs)
20
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jaromír Cápík
Fedora Extras Quality Assurance
: Patch, Triaged
: 979498 1015119 (view as bug list)
Depends On:
Blocks: F20FTBFS 1009784 F-ExcludeArch-ppc64le/PPC64LETracker
  Show dependency treegraph
 
Reported: 2013-08-04 23:03 EDT by Dennis Gilmore
Modified: 2016-01-31 20:58 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-05-09 13:21:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fix rhbz#991985, add source compatibility with ant 1.9 (5.28 KB, patch)
2013-09-01 09:02 EDT, gil cattaneo
no flags Details | Diff

  None (edit)
Description Dennis Gilmore 2013-08-04 23:03:44 EDT
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 14:13:39 EDT
*** Bug 979498 has been marked as a duplicate of this bug. ***
Comment 2 gil cattaneo 2013-09-01 09:02:25 EDT
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 11:06:57 EDT
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 07:41:16 EDT
(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 08:51:14 EST
*** Bug 1015119 has been marked as a duplicate of this bug. ***
Comment 6 Mikolaj Izdebski 2014-01-08 08:52:43 EST
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 08:23:38 EST
i confirm this fixes the build.
Comment 8 Jaromír Cápík 2014-05-09 12:47:48 EDT
I merged the patch and fixed the rejected hunks, but the build still fails on Base64 ambiguity.
Comment 9 gil cattaneo 2014-05-09 13:09:58 EDT
(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 13:21:58 EDT
I've already patched that ... closing and thanks for the patch.
Comment 11 Jaromír Cápík 2014-05-09 13:24:37 EDT
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";

Note You need to log in before you can comment on or make changes to this bug.