Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579112 - libreoffice-5.0.5.2 fails to configure, java is not 64bit icedtea-7.2.6.4-r1
Summary: libreoffice-5.0.5.2 fails to configure, java is not 64bit icedtea-7.2.6.4-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 21:47 UTC by deference
Modified: 2016-04-09 20:54 UTC (History)
1 user (show)

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


Attachments
emerge --info (emergeinfo-libreoffice.txt,28.75 KB, text/plain)
2016-04-05 21:47 UTC, deference
Details
emerge --info icedtea (emergeinfo-icedtea.txt,28.58 KB, text/plain)
2016-04-05 21:48 UTC, deference
Details
build log (build-libreoffice.log,17.09 KB, text/plain)
2016-04-05 21:49 UTC, deference
Details
config log (config-libreoffice.log,100.31 KB, text/plain)
2016-04-05 21:51 UTC, deference
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2016-04-05 21:47:46 UTC
Created attachment 429706 [details]
emerge --info

Libreoffice fails to configure, complaining that java is 32bit, which it is not AFAIK (my processor is 64bit only).

emerge -pqv libreoffice
[ebuild     U ] app-office/libreoffice-5.0.5.2 [5.0.3.2] USE="branding collada cups gltf gstreamer gtk java jemalloc mysql odk postgres vlc (-aqua) -bluetooth (-coinmp) -dbus -debug -eds (-firebird) -gnome (-gtk3) -kde (-libressl) (-telepathy) {-test}" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_4 -python2_7 (-python3_5)" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 

The output of java -version is:
java version "1.7.0_95"
IcedTea Runtime Environment (2.6.4) (Gentoo icedtea-7.2.6.4-r1)
CACAO (build 1.6.2pre+rc182f119eaad, compiled mode)

emerge -pqv icedtea
[ebuild   R   ] dev-java/icedtea-7.2.6.4-r1  USE="alsa cacao cups gtk infinality javascript jbootstrap kerberos nsplugin nss sctp sunec webstart -cjk -debug -doc -examples -headless-awt -jamvm -pax_kernel -pulseaudio (-selinux) -smartcard -source {-test} -zero"
Comment 1 deference 2016-04-05 21:48:25 UTC
Created attachment 429708 [details]
emerge --info icedtea
Comment 2 deference 2016-04-05 21:49:49 UTC
Created attachment 429710 [details]
build log
Comment 3 deference 2016-04-05 21:51:40 UTC
Created attachment 429712 [details]
config log
Comment 4 deference 2016-04-05 21:52:40 UTC
I think I gave you everything now, If this is a duplicate I apologize, I did search.
Comment 5 James Le Cuirot gentoo-dev 2016-04-06 21:32:08 UTC
You built icedtea with the cacao USE flag. Don't do that.
Comment 6 deference 2016-04-09 05:32:30 UTC
Out of curiosity, why not?
How about jamvm?
Comment 7 James Le Cuirot gentoo-dev 2016-04-09 20:54:33 UTC
(In reply to deference from comment #6)
> Out of curiosity, why not?
> How about jamvm?

CACAO dates back to before Java was open sourced. It's not terrible and offers a reasonable degree of compatibility. It's not perfect though and I have encountered some rather awful bugs in it, some of which I have had fixed upstream. In this case, it only failed because configure didn't find the "64-bit" string in its version output. Who knows, it might have worked otherwise? It's now only useful for platforms that lack a native HotSpot port and Gentoo no longer supports Java on any of those platforms since we dropped ppc. It doesn't support Java 8 and I doubt it ever will so it will fade away soon.

I know less about JamVM but it is still relatively maintained and does support Java 8. It's much slower than HotSpot and CACAO though so you shouldn't use it unless you have to. It may prove useful in allowing icedtea-3 to be built without a prerequisite JVM.

I have thought about masking both these flags but since icedtea-3 supports neither of them, they'll be going away along with Java 7 eventually anyway.