Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Libreoffice build fails[Workaround]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 648

PostPosted: Sat Aug 11, 2012 3:22 pm    Post subject: Libreoffice build fails[Workaround] Reply with quote

Hi All:

The new libreoffice build fails:

ERROR: error 512 occurred while making /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/tail_build/prj


jserinki7 jserink # emerge --info '=app-office/libreoffice-3.6.0.4'
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.3.8-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.1
Timestamp of tree: Sat, 11 Aug 2012 11:15:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4::pentoo
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.4.5, 4.5.3-r2
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo zugaina science x11 graaff games rebutia perl-experimental kde-sunset sabayon dottout pentoo my_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -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 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/science /var/lib/layman/x11 /var/lib/layman/graaff /var/lib/layman/games /var/lib/layman/rebutia /var/lib/layman/perl-experimental /var/lib/layman/kde-sunset /var/lib/layman/sabayon /var/lib/layman/dottout /var/lib/layman/pentoo /usr/local/portage"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bluetooth bzip2 cdr cleartype cli consolekit corefonts cracklib crypt cups curl cxx dbus dri dvd dvdr encode ffmpeg fontforge foomaticdb fortran gdbm geoip gimp gnuplot gpm gstreamer gtk gzip hddtemp iconv ieee1394 ipv6 java java6 jpeg jpeg2k libnotify lm_sensors lock lzma lzo matroska mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mssql mudflap multilib ncurses nls nptl nsplugin opengl openmp pam pcmcia pcre pdf perl png policykit posix ppds pppd python qt3support quicktime rdesktop readline samba sdl seamonkey session smp sockets sound spell sse sse2 ssl startup-notification svg szip tcl tcpd theora threads thunar tiff tk truetype type1 udev unicode usb v4l2 videos vim-syntax vorbis wavpack wifi wmf wxwidgets x264 xcomposite xft xine xinerama xinetd xml xmp xpm xscreensaver xulrunner xv xvid 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" LINGUAS="en en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Any ideas on this one?

Cheers,
john


Last edited by jserink on Sun Aug 19, 2012 7:27 am; edited 2 times in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5249

PostPosted: Sat Aug 11, 2012 4:14 pm    Post subject: Reply with quote

Yeah - use libreoffice-bin. I love Gentoo, and all my machines run it, but there are three packages I always use the binaries for: Firefox, Thunderbird and Open/Libre/Whateveroffice. These packages take a long time to compile, and office ALWAYS fails at some point/version.

Go with the binary on this one and save yourself the headache.

The old OpenOffice ebuild always issued a warning about it being a fragile build. I guess it's no less true for Libreoffice.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1553
Location: Just over the horizon

PostPosted: Sat Aug 11, 2012 5:24 pm    Post subject: Reply with quote

Same failure here. Bug posted. It'll get fixed soon:

https://bugs.gentoo.org/show_bug.cgi?id=430754
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 648

PostPosted: Sun Aug 12, 2012 12:02 am    Post subject: FIXED...sort of Reply with quote

Ok, commented this out of my /etc/make.conf file:

#LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport"


And now it builds fine.

Problem of course is, I want nlpsolver and pdfimport and to exclude presenter-minimizer but ...
I put "-presentation-minimizer" in the extensions def, I get errors about the '-', if I put the above line, it won't build.

Suggestions?

Cheers,
John
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5249

PostPosted: Sun Aug 12, 2012 2:21 am    Post subject: Reply with quote

Again, binary. It always gets fixed and something else always breaks later. I've seen this happening for YEARS. 8O
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 648

PostPosted: Sun Aug 12, 2012 12:41 pm    Post subject: Reply with quote

audiodef wrote:
Again, binary. It always gets fixed and something else always breaks later. I've seen this happening for YEARS. 8O


Not been my experience. This is the first problem I've had with building it ever.
I use the binary on my kids' netbook but that's because it takes 9 hours to build on that.

on my i7 rig it only takes an hour.

Cheers,
john
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 648

PostPosted: Sun Aug 12, 2012 11:45 pm    Post subject: Reply with quote

Ok, tried this in my make.conf file:
LIBREOFFICE_EXTENSIONS="pdfimport"

And the compile fails right at the end. There appears to be something about including the extensions that everything fails.

cheers,
John
Back to top
View user's profile Send private message
scarabeus
Developer
Developer


Joined: 25 Oct 2008
Posts: 95
Location: Europe/Prague

PostPosted: Tue Aug 14, 2012 7:44 am    Post subject: Re: FIXED...sort of Reply with quote

jserink wrote:
Ok, commented this out of my /etc/make.conf file:

#LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport"


And now it builds fine.

Problem of course is, I want nlpsolver and pdfimport and to exclude presenter-minimizer but ...
I put "-presentation-minimizer" in the extensions def, I get errors about the '-', if I put the above line, it won't build.

Suggestions?

Cheers,
John


These are not useflags, If you set it in make.conf you override the default values completely.
There is no need to set -value, as they are all turned off already by that variable definition. So you already should've disabled the presentation-minimizer.
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 648

PostPosted: Tue Aug 14, 2012 1:08 pm    Post subject: Re: FIXED...sort of Reply with quote

scarabeus wrote:
jserink wrote:
Ok, commented this out of my /etc/make.conf file:

#LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport"


And now it builds fine.

Problem of course is, I want nlpsolver and pdfimport and to exclude presenter-minimizer but ...
I put "-presentation-minimizer" in the extensions def, I get errors about the '-', if I put the above line, it won't build.

Suggestions?

Cheers,
John


These are not useflags, If you set it in make.conf you override the default values completely.
There is no need to set -value, as they are all turned off already by that variable definition. So you already should've disabled the presentation-minimizer.


You are right, presentation-minimizer is disabled, but I'd like to enable pdfimport and nlpsolver, how do I do that?

Cheers,
John
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2080
Location: イタリアのロヂで

PostPosted: Wed Aug 15, 2012 10:21 am    Post subject: Reply with quote

Please Change the title of the topic.
Yours is not a solution, it is a [Workaround]!

I'm in the same "sad sad situation"(cit.).
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 648

PostPosted: Sun Sep 02, 2012 2:41 pm    Post subject: Reply with quote

Hi All;

just tried with this new version:
app-office/libreoffice-3.6.1.2

The old ebuild used to allow pdfimport if it was set in the use flags in the package.use file, the new one ignores that and you must use this:
LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport"

in your make.conf.

Problem is...if anything exists in the LIBREOFFICE_EXTENSIONS the build fails:
jserinki7 jserink # emerge --info '=app-office/libreoffice-3.6.1.2'
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.1
Timestamp of tree: Sun, 02 Sep 2012 08: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.8-r3
dev-util/pkgconfig: 0.27
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4::pentoo
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.4.5, 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.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo zugaina science x11 graaff games rebutia perl-experimental kde-sunset sabayon dottout pentoo my_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -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 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/science /var/lib/layman/x11 /var/lib/layman/graaff /var/lib/layman/games /var/lib/layman/rebutia /var/lib/layman/perl-experimental /var/lib/layman/kde-sunset /var/lib/layman/sabayon /var/lib/layman/dottout /var/lib/layman/pentoo /usr/local/portage"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bluetooth bzip2 cdr cleartype cli consolekit corefonts cracklib crypt cups curl cxx dbus dri dvd dvdr encode ffmpeg fontforge foomaticdb fortran gdbm geoip gimp gnuplot gpm gstreamer gtk gzip hddtemp iconv ieee1394 ipv6 java java6 jpeg jpeg2k libnotify lm_sensors lock lzma lzo matroska mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mssql mudflap multilib ncurses nls nptl nsplugin opengl openmp pam pcmcia pcre pdf perl png policykit posix ppds pppd python qt3support quicktime rdesktop readline samba sdl seamonkey session smp sockets sound spell sse sse2 ssl startup-notification svg szip tcl tcpd theora threads thunar tiff tk truetype type1 udev unicode usb v4l2 videos vim-syntax vorbis wavpack wifi wmf wxwidgets x264 xcomposite xft xine xinerama xinetd xml xmp xpm xscreensaver xulrunner xv xvid 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


The pain is it fails right at the end of the compile which means a 60 minute wait.

If you comment out the LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" line in your make file, it builds fine.

Cheers,
John
Back to top
View user's profile Send private message
Freeky
n00b
n00b


Joined: 11 Mar 2011
Posts: 71
Location: Novosibirsk, Russia

PostPosted: Mon Sep 03, 2012 6:16 pm    Post subject: Reply with quote

Pdfimport extension is broken now:
https://bugs.gentoo.org/show_bug.cgi?id=430670#c3
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 387
Location: Cracow, Poland

PostPosted: Sun Sep 30, 2012 8:58 pm    Post subject: Reply with quote

I will try disabled variable from make.conf
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2080
Location: イタリアのロヂで

PostPosted: Mon Oct 01, 2012 6:11 am    Post subject: Reply with quote

Latest version is now working.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 387
Location: Cracow, Poland

PostPosted: Tue Oct 02, 2012 1:22 pm    Post subject: Reply with quote

I have same problem with libreoffice-3.6.2.2"
Code:
make[2]: Leaving directory `/var/tmp/notmpfs/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/stoc'
stoc deliver

=============
(35/43) Building module cli_ure
=============
Entering /var/tmp/notmpfs/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/cli_ure/inc

Entering /var/tmp/notmpfs/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2/cli_ure/version

/bin/cp version.txt ../unxlngx6.pro/bin/cliureversion.mk
cli_ure deliver
Module 'cli_ure' delivered successfully. 1 files copied, 4 files unchanged

-----------------------------------------------------------------------
        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/notmpfs/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 `/var/tmp/notmpfs/portage/app-office/libreoffice-3.6.2.2/work/libreoffice-core-3.6.2.2'
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-3.6.2.2 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 8995:  Called die
 * The specific snippet of code:
 *       make build || die
 *

USE flags:
Code:
[ebuild     U ~] app-office/libreoffice-3.6.2.2 [3.5.5.3] USE="branding cups dbus gstreamer gtk java opengl svg vba webdav (-aqua) -binfilter -binfilterdebug -eds -gnome -jemalloc -kde -mysql -odk -postgres -test (-graphite%*) (-nlpsolver%) (-nsplugin%*) (-pdfimport%*) (-xmlsec%*)" LIBREOFFICE_EXTENSIONS="presenter-console%* presenter-minimizer%* -nlpsolver% -pdfimport% -scripting-beanshell% -scripting-javascript% -wiki-publisher%" 128,605 kB

My emerge --info:
Code:
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.15-r2, 3.2.1-gentoo x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-x86_64-AMD_E-450_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
Timestamp of tree: Mon, 01 Oct 2012 20:15:01 +0000
ccache version 3.1.7 [enabled]
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/ccache:          3.1.7
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.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sunrise x-lila-theme elementary local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer -mno-3dnow -mcx16 -mpopcnt -mssse3 -msse4a"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/splash /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer -mno-3dnow -mcx16 -mpopcnt -mssse3 -msse4a"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://tux.rainside.sk/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl en_US pl_PL"
MAKEOPTS="-j1"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/lila-theme /var/lib/layman/elementary /usr/local/portage"
SYNC="rsync://rsync6.pl.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus directfb dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k lame lcms ldap libnotify libv4l libv4l2 lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses network-cron nls nptl ntfs ogg opengl openmp orc pam pango pcre pdf png policykit ppds pppd quicktime raw readline samba sdl session smp spell sse sse2 sse4a ssl ssse3 startup-notification svg tcpd threads thunar tiff truetype udev udisks unicode upower usb v4l vim-syntax vorbis wifi wma wmf wxwidgets x264 xcb xcomposite xinerama xml xpm xv xvid 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 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl en_US pl_PL" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="brightness menu trash logout" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2080
Location: イタリアのロヂで

PostPosted: Tue Oct 02, 2012 1:34 pm    Post subject: Reply with quote

Sorry.
Now it compiled and it is working for me.
I have both nlpsolver and pdfimport active.
Back to top
View user's profile Send private message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 454

PostPosted: Tue Oct 09, 2012 6:25 pm    Post subject: Reply with quote

I have the identical problem with emc above: it's libreoffice-core-3.6.2.2/l10ntools/prj that fails with error 512. Since this thread is marked [workaround] I am starting a new thread.

Jon.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 387
Location: Cracow, Poland

PostPosted: Tue Oct 09, 2012 10:06 pm    Post subject: Reply with quote

I've give up... and back to 3.5.6.2
Back to top
View user's profile Send private message
HomeUser
n00b
n00b


Joined: 22 Jan 2006
Posts: 51

PostPosted: Thu Nov 29, 2012 12:30 pm    Post subject: Reply with quote

The problems I have with version libreoffice-3.6.3.2 on two computers are looking similar, I think.

I don't find any reference to libreoffice in the make.conf file.

Quote:

ERROR: error 512 occurred while making /mnt/ext_usb_disk/temp_portage/portage/app-office/libreoffice-3.6.3.2/work/libreoffice-core-3.6.3.2/tail_build/prj

it seems that the error is inside 'tail_build', please re-run build
inside this module to isolate the error and/or test your fix:


Quote:
emerge --info '=app-office/libreoffice-3.6.3.2'
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.3.8-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.1
Timestamp of tree: Sun, 18 Nov 2012 15:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
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.10.1
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.10.3, 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.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/ /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-pipe -O2 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="nl_BE.utf8"
LC_ALL="nl_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/mnt/ext_usb_disk/temp_portage/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.65/gentoo-portage"
USE="X a52 acl acpi alsa amd64 apache2 apng arts berkdb bzip2 cairo captury cdr clamav cli clucene consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dvd dvdnav dvdr dvdread encode extras ffmpeg flac fortran ftp gd gdbm gdu gnutls gphoto2 gpm gstreamer gtk gudev hwdb iconv icu imap ipv6 jadetex java javascript jinja2 jpeg kde kerberos lirc loop-aes mad matroska matrox mikmod minizip mmx modules moonlight motif mozilla mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pda pdo perl pkcs11 png policykit pppd python qt qt3 qt3support qt4 quicktime radio readline reports sdl semantic-desktop session smartcard spell sql sse sse2 ssl static-libs svg tcpd teletext theora threads tiff truetype tv tv_check tv_combiner tv_pick_cgi tvtime udev unicode usb v4l v4l2 video vlc vorbis vpx webkit webm xext xfce xine xml xml2 xv xvid zlib zvbi" 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="nl en" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3," PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Back to top
View user's profile Send private message
HomeUser
n00b
n00b


Joined: 22 Jan 2006
Posts: 51

PostPosted: Thu Nov 29, 2012 12:37 pm    Post subject: ‎sequel Reply with quote

Perhaps this error from the buildlog is important

Quote:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libGLU
.a(mipmap.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libGLU.a: could not read symbols: Bad value
collect2: ld gaf exit-status 1 terug
make[2]: *** [/mnt/ext_usb_disk/temp_portage/portage/app-office/libreoffice-3.6.3.2/work/libreoffice-core-3.6.3.2/workdir/unxlngx6.pro/LinkTar
get/Library/OGLTrans.uno.so] Fout 1
make[2]: *** Wachten op onvoltooide taken...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum