Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60668 - galeon fails to build if mozilla is merged with -java in USE because of missing oji headers
Summary: galeon fails to build if mozilla is merged with -java in USE because of missi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 07:11 UTC by Rainer Größlinger (RETIRED)
Modified: 2006-05-23 12:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Größlinger (RETIRED) gentoo-dev 2004-08-17 07:11:53 UTC
When mozilla is merged with -java in USE then mozilla is built without oji support and thus, the include files at /usr/include/mozilla/oji/ aren't installed.

On the other hand, galeon fails to build if those include files aren't available, so oji should probably be used even with -java in USE (building oji does *not* require a JDK or JVM, it works even if no java environment is installed).

To compile galeon properly the workaround for now is
USE="java" emerge mozilla --nodeps
(--nodeps so that you don't get the java stuff, it's not needed to build with oji, USE java so the eclass gives us oji headers)


It seems that a recent change to mozilla.eclass (rev 1.8<-->1.9 ?) changed the oji behaviour, that's why using -java with mozilla and then compiling galeon worked before.

This problem is not related to a specific version of mozilla or galeon, it can be reproduced (and worked around) with the most recent and older versions.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-08-18 09:31:25 UTC
thanks, fixed in mozilla.eclass (and bumped to mozilla-1.7.2-r1 to carry out the change)
Comment 2 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-05-23 12:17:54 UTC
Can someone address the java use flag usage in the firefox ebuild. mozilla-firefox-1.5.0.3.ebuild has java as a use flag, but it's not used anywhere.  Seems it might have been related to this bug, and the conditional of use java has been removed. So the java use flag is totally useless and does not seem to effect anything.

Furthermore I recommend adding java-pkg to the inherited virtuals, along with calling java-pkg_pkg_setup in pkg_setup. To make sure proper jdk is used.