Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510506

Summary: sys-libs/db:{5.3,6.0}[java] fails to build due to incorrect path to jarManifestEntries
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=285516
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: db-5.3.28-r2:20140516-202948.log
db-5.3.28-r2.ebuild.patch

Description Arfrever Frehtes Taifersar Arahesis 2014-05-16 20:55:06 UTC
sys-libs/db:5.3[java] fails to build due to incorrect path to jarManifestEntries.
All ebuilds present in the tree are affected: 5.3.21, 5.3.28, 5.3.28-r1, 5.3.28-r2.
sys-libs/db-5.2.42 is not affected.


cd ./classes && \
     jar cfm ../db-5.3.jar ..//var/tmp/portage/sys-libs/db-5.3.28-r2/work/db-5.3.28/lang/java/jarManifestEntries ./com/sleepycat
java.io.FileNotFoundException: ../var/tmp/portage/sys-libs/db-5.3.28-r2/work/db-5.3.28/lang/java/jarManifestEntries (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at java.io.FileInputStream.<init>(FileInputStream.java:101)
        at sun.tools.jar.Main.run(Main.java:171)
        at sun.tools.jar.Main.main(Main.java:1177)
Makefile:973: recipe for target 'db-5.3.jar' failed
make: *** [db-5.3.jar] Error 1
 * ERROR: sys-libs/db-5.3.28-r2::gentoo failed (compile phase):
 *   emake failed
Comment 1 Arfrever Frehtes Taifersar Arahesis 2014-05-16 20:56:12 UTC
Created attachment 377080 [details]
db-5.3.28-r2:20140516-202948.log
Comment 2 Arfrever Frehtes Taifersar Arahesis 2014-05-16 21:11:01 UTC
Created attachment 377082 [details, diff]
db-5.3.28-r2.ebuild.patch

db-4.8.24-java-manifest-location.patch needs to be applied again.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-20 13:19:04 UTC
+  20 May 2014; Lars Wendler <polynomial-c@gentoo.org> db-5.3.21.ebuild,
+  db-5.3.28.ebuild, db-5.3.28-r1.ebuild, db-5.3.28-r2.ebuild,
+  db-6.0.20-r1.ebuild, db-6.0.30.ebuild:
+  Fixed compilation with java USE flag being enabled.
+