Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209656 - app-office/openoffice-2.3.1: Compile fails after not finding java and javac
Summary: app-office/openoffice-2.3.1: Compile fails after not finding java and javac
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-11 13:39 UTC by Shane O'Donnell
Modified: 2008-02-12 15:55 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 Shane O'Donnell 2008-02-11 13:39:12 UTC
Trying to re-install openoffice after adding LINGUAS="en_GB" to make.conf (probably unrelated) the build first warns that JAVA cannot be found and then the build fails.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDNav world
2. openoffice requires a rebuild 
3. let emerge build the package

Actual Results:  
These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild   R   ] app-office/openoffice-2.3.1  USE="cairo cups firefox java* kde odk pam -binfilter -dbus -debug -eds -gnome -gstreamer -gtk -ldap -mono -seamonkey -sound -webdav -xulrunner" LINGUAS="en_GB -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-office/openoffice-2.3.1 to /
 * oox.2007-09-05.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * OOo_2.3.1_src_l10n.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                           [ ok ]
 * OOo_2.3.1_src_core.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                           [ ok ]
 * ooo-build-2.3.1.2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * libwps-0.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                  [ ok ]
 * libwpg-0.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                  [ ok ]
 * xt-20051206-src-only.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * unowinreg.dll RMD160 SHA1 SHA256 size ;-) ...                                                                                                        [ ok ]
 * biblio.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                       [ ok ]
 * extras-2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                     [ ok ]
 * OOo_2.3.1_src_sdk.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                            [ ok ]
 * lp_solve_5.5.0.10_source.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking OOo_2.3.1_src_core.tar.bz2 ;-) ...                                                                                                          [ ok ]
 * checking ooo-build-2.3.1.2.tar.gz ;-) ...                                                                                                            [ ok ]
 * checking OOo_2.3.1_src_sdk.tar.bz2 ;-) ...                                                                                                           [ ok ]
 * checking unowinreg.dll ;-) ...                                                                                                                       [ ok ]
 * checking extras-2.tar.bz2 ;-) ...                                                                                                                    [ ok ]
 * checking biblio.tar.bz2 ;-) ...                                                                                                                      [ ok ]
 * checking xt-20051206-src-only.zip ;-) ...                                                                                                            [ ok ]
 * checking lp_solve_5.5.0.10_source.tar.gz ;-) ...                                                                                                     [ ok ]
 * checking libwps-0.1.0.tar.gz ;-) ...                                                                                                                 [ ok ]
 * checking libwpg-0.1.0.tar.gz ;-) ...                                                                                                                 [ ok ]
 * checking oox.2007-09-05.tar.bz2 ;-) ...                                                                                                              [ ok ]
 * checking OOo_2.3.1_src_l10n.tar.bz2 ;-) ...                                                                                                          [ ok ]
 *
 *  It is important to note that OpenOffice.org is a very fragile
 *  build when it comes to CFLAGS.  A number of flags have already
 *  been filtered out.  If you experience difficulty merging this
 *  package and use agressive CFLAGS, lower the CFLAGS and try to
 *  merge again. Also note that building OOo takes a lot of time and
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are
 *  the minimum requirements. If you have less, use openoffice-bin
 *  instead.
 *
 * Checking for at least 256MBytes RAM ...                                                                                                              [ ok ]
 * Checking for at least 5120MBytes disk space at ${PORTAGE_TMPDIR} ...                                                                                 [ ok ]
!!! ERROR: The java executable was not found in the Java path
!!! ERROR: The javac executable was not found in the Java path
 * Using: blackdown-jdk-1.4.2
 * Found db version 4.5

...

checking whether to add custom build version... yes, Build 2.3.1.2
checking whether to build with Java support... yes
configure: error: /opt/blackdown-jdk-1.4.2.03/bin/java not found set with_jdk_home
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.3.1 failed.
 * Call stack:
 *                 ebuild.sh, line 1701:  Called dyn_compile
 *                 ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                 ebuild.sh, line   44:  Called src_compile
 *   openoffice-2.3.1.ebuild, line  338:  Called die
 * The specific snippet of code:
 *      make || die "Build failed"
 *  The die message:
 *   Build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.3.1/temp/build.log'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Expected Results:  
Open Office should successfuly compile and install.

emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 Intel(R) Xeon(R) CPU E5335 @ 2.00GHz
Timestamp of tree: Mon, 11 Feb 2008 12:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -funroll-loops -fomit-frame-pointer -mmmx -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -funroll-loops -fomit-frame-pointer -mmmx -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X acl addbookmarks alsa amavis amd64 archive arts async bash-completion bdf berkdb bzip2 cairo cdr chm clamav clamd cli cracklib crypt cups depth16 depth32 designer-plugin dga djvu dmi dri dvd dvdr ecc enblend esd exif exiv2 fam fat fax faxonly fftw file firefox foomaticdb fpx gcj gdbm geoip gif glib glitz gphoto2 gpm gzip hal hddtemp htmlhandbook iconv imagemagick ipv6 java javascript jpeg jpeg2k kcal kde kdeenablefinal kdehiddenvisibility kdm kexi kipi lcms libnotify lm_sensors logrotate lzo lzw maildir mailwrapper mcal midi mime mmap mmx mmxext mng motif mudflap nas ncurses nepomuk netmeeting nls nptl nptlonly nsplugin oav odk openexr opengl openmp pam pcre pdf perl plasma png posix ppds python q32 qt3 qt4 rar raw readline reflection rle rtc samba scanner sdl sensord server session sift spl sse sse2 ssl ssse3 svg svgz swat syslog szip tcpd threads tiff truetype type1 unicode utempter vnc wmf xbase xcomposite xml xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Shane O'Donnell 2008-02-12 15:55:47 UTC
This was my fault.  I didn't realise /opt was mounted noexec.

I'll take myself out back and give myself a good talking to.