Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430754 - app-office/libreoffice-3.6.0.4 - fatal error: jvmfwk/framework.h: No such file or directory
Summary: app-office/libreoffice-3.6.0.4 - fatal error: jvmfwk/framework.h: No such fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard: in 3.6.1
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 11:55 UTC by Justin Lecher (RETIRED)
Modified: 2012-08-14 20:56 UTC (History)
0 users

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


Attachments
libreoffice-3.6.0.4:20120810-113911.log.xz (libreoffice-3.6.0.4:20120810-113911.log.xz,180.91 KB, application/octet-stream)
2012-08-10 11:56 UTC, Justin Lecher (RETIRED)
Details
Attempt to fix the dep order (0001-Depend-on-headers-so-we-wont-get-crasher-on-missing-.patch,884 bytes, patch)
2012-08-13 18:49 UTC, Tomáš Chvátal (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2012-08-10 11:55:38 UTC
 S=/mnt/extData/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/ $W/Dep/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/ && x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DENABLE_GRAPHITE -DENABLE_GTK -DGCC -DGXX_INCLUDE_PATH=/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4 -DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSOLAR_JAVA -DSUPD=360 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT  -DBOOST_NO_0X_HDR_TYPEINDEX  -DJVMFWK_PLUGIN_DLLIMPLEMENTATION  -DJVM_ONE_PATH_CHECK=\"/usr/lib64/\"    -Wall -Wendif-labels -Wextra -fmessage-length=0 -fno-common -pipe  -DLIBO_MERGELIBS -fPIC -Wshadow -Wsign-promo -Woverloaded-virtual  -Wnon-virtual-dtor -fvisibility=hidden  -fvisibility-inlines-hidden  -std=gnu++0x  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wenum-compare -c $S/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx -o $W/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/otherjre.o -MMD -MT $W/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/otherjre.o -MP -MF $W/Dep/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/otherjre.d_ -I$S/jvmfwk/plugins/sunmajor/pluginlib/  -I$O/inc/external -I$O/inc -I$S/solenv/inc -I/opt/oracle-jdk-bin-1.7.0.5/include -I/opt/oracle-jdk-bin-1.7.0.5/include/linux -I/opt/oracle-jdk-bin-1.7.0.5/include/native_threads/include -I$O/inc/udkapi && mv $W/Dep/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/otherjre.d_ $W/Dep/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/otherjre.d
In file included from /mnt/extData/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx:61:0:
/mnt/extData/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/solver/unxlngx6.pro/inc/jvmfwk/vendorplugin.h:34:30: fatal error: jvmfwk/framework.h: No such file or directory
compilation terminated.
make[2]: *** [/mnt/extData/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CxxObject/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: INTERNAL: Exiting with 17 jobserver tokens available; should be 16!
make[2]: Leaving directory `/mnt/extData/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/jvmfwk'






$ einfo =app-office/libreoffice-3.6.0.4
Portage 2.2.0_alpha120 (default/linux/amd64/10.0, gcc-4.7.1-asneeded, glibc-2.15-r2, 3.5.0-lh x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.0-lh-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Fri, 10 Aug 2012 06:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.0, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sunrise bicatali betagarden dummy neurogeek science last-hope g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=12 -t --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks ebuild-locks fixlafiles metadata-transfer multilib-strict news noinfo parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j16 -l12"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/lh/ebuilds /local/overlays/g-ctan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gif gmp gnome gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k ldap logrotate mmx mmxext modules mudflap multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre png pppd pulseaudio qt3support readline session smp sse sse2 sse3 sse4 sse4_1 sse4a ssl startup-notification tcpd threads tiff truetype unicode vaapi vdpau xinerama zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="fastcgi rewrite dav stub_status" PYTHON_TARGETS="python2_7 python2_6 python3_2 pypy1_9" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.6 2.7 3.1 3.2 2.7-pypy-1.9"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-08-10 11:56:22 UTC
Created attachment 320872 [details]
libreoffice-3.6.0.4:20120810-113911.log.xz

build.log
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-10 11:58:44 UTC
This seems to fall under the other bug with includes bug#430612.

From what I see that dep is properly stated there in the gnumake...

There is something fishy on testing and I am getting scared when it gets to stable tree :P
Comment 3 Richard Cox 2012-08-11 17:33:50 UTC
I have one other odd thing to add to this bug that may (or may not) be significant.  This version built perfectly fine for me yesterday morning.  I tried to build it again this morning when I saw someone posted this error on the forums and I had the same failure.  Here's exactly what changed on my system between yesterday morning and this morning (output from genlop -l):

     Fri Aug 10 06:16:52 2012 >>> sys-libs/glibc-2.15-r2
     Fri Aug 10 06:18:07 2012 >>> dev-lang/v8-3.11.10.18
     Fri Aug 10 06:20:01 2012 >>> media-plugins/kipi-plugins-2.7.0-r1
     Fri Aug 10 07:25:32 2012 >>> app-office/libreoffice-3.6.0.4
     Fri Aug 10 07:25:38 2012 >>> app-office/libreoffice-l10n-3.6.0.4
     Sat Aug 11 07:58:53 2012 >>> net-fs/samba-3.6.7
     Sat Aug 11 07:59:21 2012 >>> net-wireless/bluez-4.101-r2
     Sat Aug 11 12:49:50 2012 >>> sys-devel/gcc-4.7.1
     Sat Aug 11 13:10:31 2012 >>> sys-devel/gcc-4.7.1

You can see it built fine on Aug 10...it's failing on Aug 11 and you can see the only system changes that happened between then and now.  I haven't touched use-flags or anything else since it built successfully on Aug 10.  Hope this information helps somehow.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-11 17:51:27 UTC
could you try gcc-4.6? maybe we have bug in our 4.7 (note that it builds fine on suse with 4.7)
Comment 5 Richard Cox 2012-08-11 18:59:18 UTC
Sorry, I should have stated that in my comment.  That was with gcc-4.6.3.  I've got several slotted gcc's installed, but I use 4.6 as my main compiler.  Also, I'm running X86_64
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-13 18:41:48 UTC
@Justin:
do you have any chance to tarball and upload somewhere the full build folder?

I know it is large as shit but by the dep solver it should be dependency of that crashed module, so it should not fail...

So I would need to see whole stage to try to sort it out.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-13 18:49:52 UTC
Created attachment 321230 [details, diff]
Attempt to fix the dep order

Or better try this patch and let me know if it works for you.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2012-08-13 18:57:48 UTC
(In reply to comment #6)
> @Justin:
> do you have any chance to tarball and upload somewhere the full build folder?

sure, give me some minutes to compile.
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2012-08-13 20:40:41 UTC
It works now. Why so ever.
Closing?
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-13 21:06:18 UTC
(In reply to comment #9)
> It works now. Why so ever.
> Closing?

Nah it is prolly really parallel bug, fuu, I will commit it to the git anyway tomorow.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-14 20:56:39 UTC
Commit by tchvatal on libreoffice-3-6 :: re77bbc82f98c core/jvmfwk/Library_sunjavaplugin.mk:
Depend on headers so we wont get crasher on missing framework.h.