Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489258 - =app-office/libreoffice-4.1.2.3 - USE="java" flag issue on ARM
Summary: =app-office/libreoffice-4.1.2.3 - USE="java" flag issue on ARM
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 12:42 UTC by Mikhail Kurinnoi
Modified: 2014-09-11 18:09 UTC (History)
0 users

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 Mikhail Kurinnoi 2013-10-24 12:42:12 UTC
Faced with issue on ARM with app-office/libreoffice while trying use USE="java" flag. app-office/libreoffice "~arm" keyworded, in the same time I got this dependencies list, that contain package without arm related keyword (dev-java/icedtea-bin package):

catbus viewizard # USE="java" emerge -av libreoffice 
These are the packages that would be merged, in order: 
Calculating dependencies... done!
[ebuild  N     ] dev-java/java-config-wrapper-0.16  0 kB 
[ebuild     U ~] media-libs/libjpeg-turbo-1.3.0-r2 [1.3.0] USE="(-java) -static-libs" 0 kB 
[ebuild  N    ~] dev-java/javatoolkit-0.3.0-r9  PYTHON_TARGETS="python2_7 -python2_6" 0 kB 
[ebuild  NS   ~] virtual/jpeg-62:62 [0:0] 0 kB 
[ebuild  N    ~] dev-java/java-config-2.1.12-r1:2  PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 0 kB 
[ebuild  N    ~] virtual/jdk-1.6.0-r2:1.6  0 kB 
[ebuild  N    ~] virtual/jre-1.6.0-r1:1.6  0 kB 
[ebuild  N    *] dev-java/icedtea-bin-6.1.12.6-r1:6  USE="X alsa cups -cjk -doc -examples -nsplugin -source" 0 kB 
[ebuild  N    ~] dev-java/ant-core-1.9.2  USE="-doc -source" 0 kB 
[ebuild   R   ~] app-office/libreoffice-4.1.2.3  USE="cups dbus gtk java* opengl vba webdav (-aqua) -bluetooth -branding -debug -eds -gnome -gstreamer -gtk3 -jemalloc -kde -mysql -odk -postgres -telepathy {-test}" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver (-scripting-beanshell) (-scripting-javascript) (-wiki-publisher)" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 -python3_3" 0 kB


The issue is - dev-java/icedtea-bin don't support ARM for sure (don't have archive with pre-build binary for ARM). So, build process fail in dev-java/icedtea-bin package all the time. I think, this issue might be connected to all app-office/libreoffice ebuilds.

Probably, "java" USE flag should be disabled for ARM? Is the any chance add ARM support in dev-java/icedtea-bin?

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-24 15:30:36 UTC
=dev-java/icedtea-6* should be OK, so you need to unmask that. Having emerge select icedtea-bin instead means there is something wrong with your /etc/portage/profile settings, probably ACCEPT_KEYWORDS in make.conf or a missing entry in package.keywords.
Comment 2 Mikhail Kurinnoi 2013-10-25 00:38:26 UTC
Joroen, thanks a lot for point me to =dev-java/icedtea-6*.
I also found old thread about dev-java/icedtea issue on amd64 (when dev-java/icedtea-bin didn't have amd64 support):
http://www.gossamer-threads.com/lists/gentoo/amd64/180233#180233

I did tested this way (from link above). Works fine for me:
1) rebuild sys-devel/gcc with USE="gcj"
2) emerge dev-java/gcj-jdk
3) emerge dev-java/icedtea
4) emerge libreoffice with USE="java"

Without dev-java/gcj-jdk installed first, dev-java/icedtea fail to build due to recursive dependencies error:


catbus viewizard # emerge -1av =dev-java/icedtea-6*
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge       ] dev-java/icedtea-6.1.12.6:6  USE="X alsa cups jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}" 
[ebuild  N     ]  dev-java/icedtea-web-1.3.2:6  USE="nsplugin -build -doc -javascript {-test}" 1,015 kB
[ebuild  N     ]   dev-java/icedtea-6.1.12.6:6  USE="X alsa cups jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}" 62,572 kB
[nomerge       ] dev-java/icedtea-6.1.12.6:6  USE="X alsa cups jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}" 
[nomerge       ]  dev-java/java-config-2.1.12-r1:2  PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 
[ebuild  N     ]   virtual/jre-1.6.0-r1:1.6  0 kB
[ebuild  N     ]  dev-java/ant-nodeps-1.9.2  0 kB
[ebuild  N     ]   dev-java/ant-core-1.9.2  USE="-doc -source" 0 kB
[ebuild  N     ]    virtual/jdk-1.6.0-r2:1.6  0 kB

Total: 6 packages (6 new), Size of downloads: 63,587 kB
 * Error: circular dependencies:
(dev-java/icedtea-6.1.12.6::gentoo, ebuild scheduled for merge) depends on
 (dev-java/ant-core-1.9.2::gentoo, ebuild scheduled for merge) (buildtime)
  (virtual/jdk-1.6.0-r2::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-java/icedtea-6.1.12.6::gentoo, ebuild scheduled for merge) (runtime)


We need java binary in order to build new java binary. I think, this is the reason, why portage force me to install dev-java/icedtea-bin instead of ~arm keyworded dev-java/icedtea.
Looks like, this is not app-office/libreoffice issue, but dev-java/icedtea issue for ARM arch.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2014-09-11 18:09:13 UTC
I dont think we can do much here. icedtea is keyworded ~arm, so that should satisfy the dependencies...