Summary: | dev-java/jakarta-regexp-1.3-r2 fails with sun-jdk-1.4.2.09: java-config error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ernst de Haan <ernst.dehaan> |
Component: | New packages | Assignee: | Java team <java> |
Status: | VERIFIED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ernst de Haan
2005-08-31 00:17:56 UTC
Was the first emerge an update of sun-jdk? After updating your jdk you need to run env-update && source /etc/profile as the message in the ebuild tells you. @ #c2 no that does not seem to be the error it can't find the python module1.2.11-r1 do you have a PYTHONHOME or PYTHONPATH env var defined ? if you do and you can't life with it try java-config-1.2.11-r1 $ java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
$ echo $PATH
/home/ernst/bin:/bin:/usr/bin:/opt/kde3/bin:/opt/sun-jdk-1.4.2.09/bin:/home/ernst/apache-ant-1.6.5/bin:/home/ernst/xins-1.2.4/bin:/home/ernst/RealPlayer:/usr/local/bin:/usr/X11R6/bin
$ echo $PYTHONHOME
$ echo $PYTHONPATH
/usr/lib/portage/pym
$ epm -qa | grep python
python-2.4.1-r1
python-2.3.4
python-fchksum-1.7.1
$ epm -qa | grep java-config
java-config-1.2.11-r1
And then as root:
zaphod ernst # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
zaphod ernst # java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
So problem fixed! Cheers!
I was to optimistic. The problem persists: # env-update && source /etc/profile >>> Regenerating /etc/ld.so.cache... # emerge dev-java/ant Calculating dependencies ...done! >>> emerge (1 of 6) dev-java/jakarta-regexp-1.3-r2 to / >>> md5 files ;-) jakarta-regexp-1.3-r2.ebuild >>> md5 files ;-) files/digest-jakarta-regexp-1.3-r2 >>> md5 src_uri ;-) jakarta-regexp-1.3.tar.gz >>> Unpacking source... >>> Unpacking jakarta-regexp-1.3.tar.gz to /var/tmp/portage/jakarta-regexp-1.3-r2/work tar: A lone zero block at 1722 >>> Source unpacked. Traceback (most recent call last): File "/usr/bin/java-config", line 14, in ? from java_config import jc_options ImportError: No module named java_config Error: JAVA_HOME is not defined correctly. We cannot execute !!! ERROR: dev-java/jakarta-regexp-1.3-r2 failed. !!! Function src_compile, Line 32, Exitcode 1 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Oh! you must have just updated python and forgot too run python-updater like the post install message tells you too Trying to do that: # python-updater * Starting Python Updater from 2.3 to 2.4 : * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3 /usr/lib64/python2.3 .. Adding to list: media-libs/lcms-1.13 Adding to list: sys-apps/file-4.15 Adding to list: dev-java/java-config-1.2.11-r1 Adding to list: dev-libs/libxml2-2.6.20-r2 Adding to list: dev-libs/libxslt-1.1.14-r2 Adding to list: dev-python/python-fchksum-1.7.1 * Calculating Upgrade Package List .. * Re-ordering packages to merge .. * Preparing to merge these packages in this order: dev-libs/libxml2-2.6.20-r2 dev-java/java-config-1.2.11-r1 sys-apps/file-4.15 dev-python/python-fchksum-1.7.1 dev-libs/libxslt-1.1.14-r2 media-libs/lcms-1.13 * Starting to merge (1/6) dev-libs/libxml2-2.6.20-r2 .. Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/libxml2-2.6.20-r2 to / ... checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.20, ltmain.sh = 1.5) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/lcms-1.13/work/lcms-1.13/config.log !!! ERROR: media-libs/lcms-1.13 failed. !!! Function econf, Line 496, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. * Failed merging media-libs/lcms-1.13 (6/6)! * ************************************************************ * * Packages that still need to be manually emerged : * * ************************************************************ * Failed Packaged: * ---------------- * These packages have failed and need to be re-emerged again. * Alternatively, try re-running this script again to see if it * can be fixed. * emerge -p \=media-libs/lcms-1.13 Ok, so I try to run libtoolize (which I never heard of before): # libtoolize --copy --force libtoolize: `configure.ac' does not exist Try `libtoolize --help' for more information. Ok, so I try to re-emerge lcms: # emerge -p \=media-libs/lcms-1.13 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/lcms-1.13 # emerge \=media-libs/lcms-1.13 Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/lcms-1.13 to / ... checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.20, ltmain.sh = 1.5) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/lcms-1.13/work/lcms-1.13/config.log !!! ERROR: media-libs/lcms-1.13 failed. !!! Function econf, Line 496, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. So I remain optimistic and try re-emerging jakarta-regexp anyway: ... >>> dev-java/jakarta-regexp-1.3-r2 merged. >>> Recording dev-java/jakarta-regexp in "world" favorites file... It works! :-) So I'll leave this bug report as FIXED, but I may file a new one for the other problem... |