View previous topic :: View next topic |
Author |
Message |
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Tue Oct 09, 2012 6:29 pm Post subject: Libreoffice 3.6.2.2 build fails with "error 512" [ |
|
|
I've messed around with this, and googled to no avail, 3.6.2.2 will *not* build. Surely I'm not the only one this has happened to...
Code: |
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 512 occurred while making /home/portage-tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/l10ntools/prj
it seems that the error is inside 'l10ntools', please re-run build
inside this module to isolate the error and/or test your fix:
build_error.log should contain the captured output of the failed module(s)
-----------------------------------------------------------------------
To rebuild a specific module:
make l10ntools.clean # optional
make l10ntools
when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Error 1
make[1]: Leaving directory `/home/portage-tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2'
make: *** [build] Error 2
|
Emerge --info
Code: |
Merckx jesnow # emerge libreoffice --info
Portage 2.1.11.9 (default/linux/x86/10.0/desktop, gcc-4.5.4, glibc-2.15-r2, 3.3.0-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.3.0-gentoo-i686-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Tue, 09 Oct 2012 14:15:01 +0000
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.6.3-r1, 1.9.6-r3, 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo kde-sunset x-local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA googleearth AdobeFlash-10.3 dlj-1.1 skype-4.0.0.7-copyright"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4 -pipe -mcx16 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -msse4 -pipe -mcx16 -fomit-frame-pointer"
DISTDIR="/home/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de fr"
MAKEOPTS="-j10"
PKGDIR="/home/portage/packages"
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="/home/portage-tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /home/portage/local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa arts berkdb bmp branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dga divx4linux dri dts dvd dvdr emboss encode exif fam firefox flac foomatic fortran gd gdbm gif gimp gimpprint gtk hal iconv icu ipv6 java jpeg jpeg2k jpg kde lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf png policykit postscript ppds pppd print qt3 qt3support readline samba sane sdl session smp spell sql sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff tk truetype udev udisks unicode upower usb vorbis wav\ webkit win32codecs wmf wxwidgets x264 x86 xcb xml xmms xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 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"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
=================================================================
Package Settings
=================================================================
app-office/libreoffice-3.6.1.2 was built with the following:
USE="branding cups dbus gtk java kde mysql opengl svg vba webdav (-aqua) -binfilter -binfilterdebug -eds -gnome -gstreamer -jemalloc -odk -postgres -test" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer -nlpsolver -pdfimport -scripting-beanshell -scripting-javascript -wiki-publisher"
|
Last edited by jesnow on Sat Nov 03, 2012 7:14 am; edited 6 times in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Oct 09, 2012 8:00 pm Post subject: |
|
|
First of all, you didn't look far enough back - the actual error might be several pages of log back.
Second, a blind guess says its this bug. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Tue Oct 09, 2012 9:47 pm Post subject: |
|
|
VoidMage wrote: | First of all, you didn't look far enough back - the actual error might be several pages of log back.
|
No everything was compiling fine until that point.
Quote: |
Second, a blind guess says its this bug. |
I won't say its impossible, but I fail to see the relevance. their build problems don't at all resemble the ones I posted.
Sure I can always go to the gcc in unstable and see if it helps, but this is a stable system. And it's voodoo anyway, not understanding the problem. I've tried all kinds of similar voodoo already to no avail.
Still need help on this.
cheers,
Jon. |
|
Back to top |
|
|
emc Guru
Joined: 02 Jul 2004 Posts: 564 Location: Cracow, Poland
|
Posted: Tue Oct 09, 2012 10:09 pm Post subject: |
|
|
will see, maybe it solve itself ;] |
|
Back to top |
|
|
san2ban n00b
Joined: 10 Oct 2012 Posts: 1 Location: Bangalore, India
|
Posted: Wed Oct 10, 2012 5:18 pm Post subject: |
|
|
Hello friends
A Funtoo convert from ArchLinux (systemd hater)
Libre office fails to emerge for me, GCC4.6.3, boost1.49
Pl. see the below link
http://forums.funtoo.org/viewtopic.php?id=1646 _________________ When you have eliminated all other possibilities, whatever remains, however unprobable or impossible, that must be the truth - Sherlock Holmes
Registered Linux user #535257 |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Oct 11, 2012 2:37 pm Post subject: |
|
|
jesnow wrote: | VoidMage wrote: |
First of all, you didn't look far enough back - the actual error might be several pages of log back. |
No everything was compiling fine until that point.
|
My answer to that is a short one - BS.
Also, I'm nearly certain you'd see the relevance, if you'd (or rather - had you) check a large enough portion of the log, not just a couple last lines. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Thu Oct 11, 2012 7:06 pm Post subject: |
|
|
VoidMage wrote: | jesnow wrote: | VoidMage wrote: |
First of all, you didn't look far enough back - the actual error might be several pages of log back. |
No everything was compiling fine until that point.
|
:roll: My answer to that is a short one - BS.
Also, I'm nearly certain you'd see the relevance, if you'd (or rather - had you) check a large enough portion of the log, not just a couple last lines. |
OK: Money where your mouth is time:
http://pastebin.com/RFAaDH4V
That's just what was in the scrollback buffer, if you want the whole log (not small) I'll send it. I'm happy to be proved an idiot if you can figure out what's wrong. If not then my comment to you is obvious. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Thu Oct 11, 2012 7:09 pm Post subject: |
|
|
In your case the 512 error is in the tail_build section, which is different from the problem I'm having, though maybe related.
Can we all agree that "Internal Build Errors" should not occur? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Oct 11, 2012 9:30 pm Post subject: |
|
|
All I can say is .
If you expect a mere 200 lines to be enough, be prepared to be disappointed on several occasions. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Fri Oct 12, 2012 11:28 am Post subject: |
|
|
VoidMage wrote: | All I can say is .
If you expect a mere 200 lines to be enough, be prepared to be disappointed on several occasions. |
Several other people with this bug have tried with -j1 set, I'll do that but don't expect much. I haven't tried gutting a chicken on the keyboard either. You're not providing much insight O great one. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Oct 12, 2012 4:07 pm Post subject: |
|
|
jesnow wrote: | Several other people with this bug have tried with -j1 set, I'll do that but don't expect much. I haven't tried gutting a chicken on the keyboard either. You're not providing much insight O great one. |
That's cause for the time being I'm only pointing out the obvious - hard to shine at that. |
|
Back to top |
|
|
erikm l33t
Joined: 08 Feb 2005 Posts: 634
|
Posted: Tue Oct 16, 2012 10:05 am Post subject: |
|
|
@ jesnow:
I just got this build error with libreoffice-3.6.2.2 after upgrading boost to 1.49 - as in, exactly the message in your intial post - and indeed, in my case it is the bug VoidMage linked to.
Hint:
Error Message wrote: |
build_error.log should contain the captured output of the failed module(s)
|
Next hint: take a look at '$PORTAGE_TMPDIR/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/build_error.log'.
I'll see if the solution posted by Coacher in the bug report works. |
|
Back to top |
|
|
erikm l33t
Joined: 08 Feb 2005 Posts: 634
|
Posted: Tue Oct 16, 2012 11:20 am Post subject: |
|
|
... and it did (gcc-4.5.3-r2, libreoffice-3.6.2.2, boost-1.49.0-r1). |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Tue Oct 16, 2012 12:44 pm Post subject: |
|
|
erikm wrote: |
... and it did (gcc-4.5.3-r2, libreoffice-3.6.2.2, boost-1.49.0-r1). |
Glad it worked for you, but it's a different problem that occurs in a different part of the build than the bug you cite. Worth a try though. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 858
|
Posted: Tue Oct 16, 2012 2:01 pm Post subject: |
|
|
You guys don't *understand* this problem any better than I do. I pronounce you Pretty Useless, and have a different solution. Delete LibreOffice from package.keywords, go back to 3.5 and wait for the people who *do* know what they're doing stabilize it.
Works for me. Seeya. |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Oct 16, 2012 2:18 pm Post subject: |
|
|
jesnow wrote: | You guys don't *understand* this problem any better than I do. I pronounce you Pretty Useless, and have a different solution. Delete LibreOffice from package.keywords, go back to 3.5 and wait for the people who *do* know what they're doing stabilize it.
Works for me. Seeya. |
Another fine example of how frustration leads to pure cheek.
Also, and I am not a dev, but if you are going to use ~ then expect problems. _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
LinuxInside n00b
Joined: 30 Oct 2012 Posts: 2
|
Posted: Tue Oct 30, 2012 11:18 pm Post subject: |
|
|
Code: | [ build CXX ] l10ntools/source/help/HelpSearch.cxx
In file included from /usr/include/boost/functional/hash.hpp:6:0,
from /usr/include/boost/unordered/unordered_map.hpp:21,
from /usr/include/boost/unordered_map.hpp:16,
from /var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/l10ntools/source/help/HelpCompiler.hxx:33,
from /var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/l10ntools/source/help/HelpCompiler.cxx:30:
/usr/include/boost/functional/hash/hash.hpp:28:21: fatal error: typeindex: No such file or directory
|
Hmm something todo with libboost? |
|
Back to top |
|
|
LinuxInside n00b
Joined: 30 Oct 2012 Posts: 2
|
|
Back to top |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Thu Nov 01, 2012 1:24 pm Post subject: |
|
|
The last libreoffice I had that built was
Version 3.6.1.2 (Build ID: Gentoo official package)
Then 3.6.1.2 got removed from the tree and portage wanted to push me back down to 3.5.7 so I unmasked 3.6.2.2 and it would never build due to a libreoffice-l10n error quite late on in the build.
Today I've just upgraded to lib-boost 1.49.0-r2 and will try and compile libreoffice again but I'm not holding my breath, the error I always got was related to libreoffice-l10n.
Cheers,
john |
|
Back to top |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Thu Nov 01, 2012 1:40 pm Post subject: |
|
|
Hi All:
Yup, still does not build:
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 512 occurred while making /var/tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/l10ntools/prj
it seems that the error is inside 'l10ntools', please re-run build
inside this module to isolate the error and/or test your fix:
build_error.log should contain the captured output of the failed module(s)
Cheers,
John |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Nov 01, 2012 3:26 pm Post subject: |
|
|
@jserink: I'll repeat - that's not the error, just a message, that the build has failed. |
|
Back to top |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Fri Nov 02, 2012 11:52 am Post subject: |
|
|
VoidMage wrote: | @jserink: I'll repeat - that's not the error, just a message, that the build has failed. |
Well?
The last time it built properly was when there was a matching version of libreoffice-l10n to libreoffice.
Now there isn't one since libreoffice 3.6.1.2 disappeared from the tree.
jserinki7 jserink # ls -l /usr/portage/app-office/libreoffice-l10n
total 164
-rw-r--r-- 1 root root 10787 Oct 24 23:01 ChangeLog
drwxr-xr-x 2 portage portage 4096 Aug 8 20:01 files
-rw-r--r-- 1 root root 3453 Oct 24 22:47 libreoffice-l10n-3.5.7.ebuild
-rw-r--r-- 1 root root 3146 Aug 31 22:02 libreoffice-l10n-3.6.1.2.ebuild
-rw-r--r-- 1 root root 135494 Oct 24 23:01 Manifest
-rw-r--r-- 1 root root 278 May 31 18:31 metadata.xml
jserinki7 jserink # ls -l /usr/portage/app-office/libreoffice
total 172
-rw-r--r-- 1 root root 70096 Oct 31 05:01 ChangeLog
drwxr-xr-x 2 portage portage 4096 Sep 25 18:01 files
-rw-r--r-- 1 root root 15672 Aug 31 22:31 libreoffice-3.5.6.2.ebuild
-rw-r--r-- 1 root root 17397 Sep 25 22:03 libreoffice-3.6.2.2.ebuild
-rw-r--r-- 1 root root 17399 Sep 24 16:31 libreoffice-3.6.9999.ebuild
-rw-r--r-- 1 root root 17944 Oct 31 05:01 libreoffice-9999-r2.ebuild
-rw-r--r-- 1 root root 13528 Oct 31 05:01 Manifest
-rw-r--r-- 1 root root 1645 Sep 20 16:01 metadata.xml
Cheers,
John |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Nov 02, 2012 1:58 pm Post subject: |
|
|
What I'm saying is that for libreoffice the message you've posted is little more meaningful than your average portage failure message usually is.
The error might be several hundred lines back and chances are it's the one from the already mentioned bug. |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 888 Location: Germany
|
Posted: Sat Nov 03, 2012 1:14 pm Post subject: |
|
|
jesnow, try going to /home/portage-tmp/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/l10ntools, since this is where the build error might have occurred according to your error message.
Run make
The module will probably fail again, but this time you have less output to scroll through. See if you can find an error where it says something about boost missing typeindex or something similar.
If you find that message, VoidMage was right and you can (probably) solve your problem with the workaround you can find in the bug report. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 888 Location: Germany
|
Posted: Sun Nov 04, 2012 10:14 am Post subject: |
|
|
OK, now I'm getting the same error.
Code: |
[ build CXX ] xmlhelp/source/cxxhelp/provider/databases.cxx
[ build CXX ] xmlhelp/source/cxxhelp/provider/db.cxx
[ build CXX ] xmlhelp/source/cxxhelp/provider/inputstream.cxx
In file included from /usr/include/boost/functional/hash.hpp:6:0,
from /usr/include/boost/unordered/unordered_map.hpp:21,
from /usr/include/boost/unordered_map.hpp:16,
from /medien/tmp/portage/app-office/libreoffice-3.6.3.2/work/libreoffice-core-3.6.3.2/xmlhelp/source/cxxhelp/provider/db.hxx:42,
from /medien/tmp/portage/app-office/libreoffice-3.6.3.2/work/libreoffice-core-3.6.3.2/xmlhelp/source/cxxhelp/provider/databases.cxx:29:
/usr/include/boost/functional/hash/hash.hpp:28:21: fatal error: typeindex: No such file or directory
compilation terminated.
|
In the bug report VoidMage linked to the workaround was this:
"As a workaround you can create /etc/portage/env/app-office/libreoffice file with the following contents:
CXXFLAGS="${CXXFLAGS} -DBOOST_NO_0X_HDR_TYPEINDEX"
CPPFLAGS="${CXXFLAGS}""
Perhaps I went wrong here. Made a directory in /etc/portage called env, created a directory app-office inside of that and placed a file called libreoffice in there. The content of the file is:
CXXFLAGS="${CXXFLAGS} -DBOOST_NO_0X_HDR_TYPEINDEX"
CPPFLAGS="${CXXFLAGS}"
So, did I understand the workaround correctly?
This should be sufficient to build it and worked for me. _________________ Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest |
|
Back to top |
|
|
|