Summary: | dev-java/icedtea fails to cross-compile: ld: cannot find -ljvm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Sachau <tommy> |
Component: | Current packages | Assignee: | Andrew John Hughes <gnu_andrew> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | caster, chewi, gyakovlev, java, jstein, mgorny, proxy-maint, v10lator |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 247140 | ||
Attachments: |
build.log of working 6.1.7-r1
adjusted icedtea-6.1.6.0.ebuild for work with multilib-portage |
Description
Thomas Sachau
2010-02-28 17:57:23 UTC
Created attachment 221693 [details]
build.log of working 6.1.7-r1
It's not designed to cross compile. I have a local, modified and adjusted ebuild of icedtea, which does the needed work for me and does allow me to crosscompile it. It needs $arch to be set before compiling and does only work, if dpkg is not installed. Created attachment 228271 [details]
adjusted icedtea-6.1.6.0.ebuild for work with multilib-portage
this version is not available anymore. please try latest version. if the problem persists, feel free to reopen this bug. (In reply to comment #5) > this version is not available anymore. please try latest version. if the > problem persists, feel free to reopen this bug. Please check the content of the bug before closing it because of the version specified in the original summary. Cross-compiling icedtea will always fail with the current ebuilds, since it will always get the path to the 64bit java libs, even when cross-compiling for 32bit. So i am dropping the version bit from the summary and reopen the bug. (In reply to comment #6) > (In reply to comment #5) > > this version is not available anymore. please try latest version. if the > > problem persists, feel free to reopen this bug. > > Please check the content of the bug before closing it because of the version > specified in the original summary. > > Cross-compiling icedtea will always fail with the current ebuilds, since it > will always get the path to the 64bit java libs, even when cross-compiling for > 32bit. > > So i am dropping the version bit from the summary and reopen the bug. sorry, with the amount of open bugs java herd has (~750) it's hard to dig deep into each of those years old bugs rather than just check versions and dates (here 18 months since last post) and some basic info than digging into each such bug in depth. if the bug still exists and it is still of interest to the interested parties, someone comes and reopens it (as you did). but most of these bugs are just outdated. it would be definitely great if you could help andrew to adjust the latest ebuilds (6.1.10.4 and 7.2.0 as of this writing) so that they would crosscompile as there are people like you that need this feature. i guess patches for these latest ebuilds would be best. Is there anything that can be realistically done here? I've been told by upstream that it should be possibly to cross-compile icedtea but I've never tried it. I could give it a shot. Package removed. |