Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552916 - [java-overlay] icedtea-3.0.0-pre04 fails emerge in install phase
Summary: [java-overlay] icedtea-3.0.0-pre04 fails emerge in install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-23 09:28 UTC by M. B.
Modified: 2015-06-25 01:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tail -n300 /var/tmp/portage/dev-java/icedtea-3.0.0_pre04/temp/build.log (file_552916.txt,30.16 KB, text/plain)
2015-06-23 09:30 UTC, M. B.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. B. 2015-06-23 09:28:37 UTC
Emerge of icedtea-3.0.0-pre04 fails emerge during its install phase.
Please see attached excerpt from build.log.

Reproducible: Always
Comment 1 M. B. 2015-06-23 09:30:20 UTC
Created attachment 405576 [details]
tail -n300 /var/tmp/portage/dev-java/icedtea-3.0.0_pre04/temp/build.log
Comment 2 Andrew John Hughes 2015-06-24 21:58:10 UTC
You haven't provided details of how you are building, but I assume this issue here is that you have USE="-X" and thus hit this ugly hack from the 7 ebuild:

    if ! use X; then
        rm -r "${ddest}"/jre/lib/$(get_system_arch)/xawt || die
    fi

This directory doesn't exist on 8, which is why the build fails.

The hack is kind of pointless on 7 because /usr/lib/icedtea7/jre/lib/amd64/libjawt.so is linked against X anyway.

In 8, all the X linkage has moved to /usr/lib/icedtea8/jre/lib/amd64/libawt_xawt.so.

For now, we can delete that instead, but OpenJDK 8 actually supports the build option --disable-headful which should allow us to get rid of X dependencies at build-time. I'll look at supporting this in IcedTea.
Comment 3 Andrew John Hughes 2015-06-25 01:19:06 UTC
Should be fixed by icedtea-3.0.0_pre04-r1:

rm -vf "${ddest}"/jre/lib/$(get_system_arch)/libawt_xawt.so