Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448764 - app-office/libreoffice- fails with dev-libs/boost-1.52.0-r5 (bug 425356 strikes again!)
Summary: app-office/libreoffice- fails with dev-libs/boost-1.52.0-r5 (bug 42535...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
Depends on:
Reported: 2012-12-27 04:27 UTC by Howard B. Golden
Modified: 2013-09-15 10:35 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Howard B. Golden 2012-12-27 04:27:37 UTC
With boost-1.52.0-r5, app-office/libreoffice- fails in a similar way to bug 425356. The patch given in that bug applies in this case as well.

Relevant log:

[ build CMP ] sw/util/vbaswobj
S=/var/tmp/paludis/app-office-libreoffice- && O=$S/solver/ && W=$S/workdir/ &&  mkdir -p $W/ComponentTarget/sw/util/ && xsltproc --nonet --stringparam uri '$LO_LIB_DIR/' -o $W/ComponentTarget/sw/util/vbaswobj.component $S/solenv/bin/createcomponent.xslt $S/sw/util/vbaswobj.component
/bin/cp --remove-destination --no-dereference --force --preserve=timestamps /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice-
TEMPFILE=/var/tmp/paludis/app-office-libreoffice- &&  mv ${TEMPFILE} /var/tmp/paludis/app-office-libreoffice-
S=/var/tmp/paludis/app-office-libreoffice- && O=$S/solver/ && W=$S/workdir/ &&  /bin/cp --remove-destination --no-dereference --force --preserve=timestamps $W/LinkTarget/Library/ $O/lib/ 
[ build MOD ] sw
S=/var/tmp/paludis/app-office-libreoffice- && O=$S/solver/ && W=$S/workdir/ &&  mkdir -p $W/Module/ && touch $W/Module/sw
/var/tmp/paludis/app-office-libreoffice- In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/paludis/app-office-libreoffice-] Error 1
rm /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice- /var/tmp/paludis/app-office-libreoffice-
make[2]: Leaving directory `/var/tmp/paludis/app-office-libreoffice-'

        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:

  internal build errors:

ERROR: error 512 occurred while making /var/tmp/paludis/app-office-libreoffice-

 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:

build_error.log should contain the captured output of the failed module(s)

To rebuild a specific module:

make tail_build.clean # not recommended, this will re-build almost everything
make tail_build

when the problem is isolated and fixed, re-run 'make'
make[1]: Leaving directory `/var/tmp/paludis/app-office-libreoffice-'
make[1]: *** [build-packimages] Error 1
make: *** [build] Error 2
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-12-27 04:46:30 UTC
Please don't randomly CC people. That's what our bug wranglers are good for. Thanks.

By the way, where's your emerge --info output and the attached build.log file?
Comment 2 Howard B. Golden 2012-12-27 05:37:52 UTC
(In reply to comment #1)
> Please don't randomly CC people. That's what our bug wranglers are good for.
> Thanks.

Sorry for CC-ing you, but you were a CC on bug 425356 which this bug is a repeat with later versions of libreoffice and boost. 

> By the way, where's your emerge --info output and the attached build.log
> file?

Respectfully, this isn't necessary since bug 425356 already identified the bug and the patch. The relevant errors are in the portion of the log I attached. I USE PALUDIS, so I don't usually run emerge --info, but I am copying it below.

hbg-srv3 ~ # emerge --info
Portage (hardened/linux/amd64, gcc-4.6.3, glibc-2.16.0, 3.3.4-gentoo x86_64)
System uname: Linux-3.3.4-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.2
Timestamp of tree: Wed, 26 Dec 2012 18:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.8 [disabled]
app-shells/bash:          4.2_p39-r1::<unknown repository>
dev-java/java-config:     2.1.12-r1::<unknown repository>
dev-lang/python:          2.5.4-r4::<unknown repository>, 2.6.7-r2::<unknown repository>, 2.7.2-r3::<unknown repository>, 3.1.4-r3::<unknown repository>, 3.2.3-r2::<unknown repository>
dev-util/ccache:          3.1.8::<unknown repository>
dev-util/cmake: <unknown repository>
dev-util/pkgconfig:       0.27.1::<unknown repository>
sys-apps/baselayout:      2.2::<unknown repository>
sys-apps/openrc:          0.11.8::<unknown repository>
sys-apps/sandbox:         2.6::<unknown repository>
sys-devel/autoconf:       2.13::<unknown repository>, 2.69::<unknown repository>
sys-devel/automake:       1.5-r1::<unknown repository>, 1.7.9-r2::<unknown repository>, 1.8.5-r4::<unknown repository>, 1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.5::<unknown repository>, 1.12.6::<unknown repository>
sys-devel/binutils:       2.23.1::<unknown repository>
sys-devel/gcc:            4.3.6-r1::<unknown repository>, 4.4.6-r1::<unknown repository>, 4.5.4::<unknown repository>, 4.6.3::<unknown repository>
sys-devel/gcc-config:     1.8::<unknown repository>
sys-devel/libtool:        1.5.26-r1::<unknown repository>, 2.4.2::<unknown repository>
sys-devel/make:           3.82-r4::<unknown repository>
sys-kernel/linux-headers: 3.7::<unknown repository> (virtual/os-headers)
sys-libs/glibc:           2.16.0::<unknown repository>
Repositories: gentoo java-overlay sunrise pythonhead x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe -ggdb"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/pythonhead /usr/local/portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alsa amd64 apache2 arts autoipd avahi bash-completion berkdb bsf bzip2 cairo cdb cdparanoia cdr cgi cgraph cheetah clamav cli consolekit cracklib crypt cscope ctype ctypes-python cups curl curlwrappers cxx dbase dbm dbus dbx device-mapper dga doc docbook dot dri dssi dvb dvd dvdr emacs examples exif expat fastcgi fat ffmpeg firefox3 foomaticdb ftp fuse gcj gd gdbm genshi ginac git glade glib glitz glut gnome gnomecanvas gnutls google-gadgets gpg gpgme gphoto2 gpm graphviz groovy gstreamer gtk gtkhtml guile hal hardened haskell hbci hddtemp hdf5 hfs highlight hscolour html htmlhandbook httpd hunspell iconv identity idn ieee1394 imagemagick imap imlib inifile innodb inquisitio iodbc ipod ipv6 jabber jack java java5 java6 javacomm javascript jce jfs jinja2 jpeg justify kde kde4 kdeenablefinal kdehiddenvisibility kerberos kid kpathsea ladcca ladspa latex ldap libffi libgda libwww lm_sensors maildir math mbox mdnsresponder-compat mime mmap mmx mmxext mng modules mono mozdevelop mp3 mpeg mplayer mssql mudflap multilib myghty mysql mysqli ncurses network networking networkmanager nls nptl nsplugin ntfs nvidia objc objc++ objc-gc ocaml ocamlduce ocamlopt odbc odk ofx openexr opengl openmp oracle oscar pam pax_kernel pcre perl php png pop pop3d portage posix postgres ppds pppd profile profiler python python-bindings qa qmail qt3support qt4 quicktime quotes radius readline reiserfs rss ruby ruby-bindings samba sasl sdl seamonkey session sharedext simplexml smime smtp snmp soap sockets sound source sourceview spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification svg syslog tcl tcpd templates threads tidy tiff timidity tk tokenizer tools truetype unicode urandom usb utils v4l2 vboxwebsrv vhosts vim-syntax visibility vnc vorbis wddx webdav webkit wlm wmf wxwidgets wxwindows x264 xattr xcomposite xforms xine xinetd xml xmlreader xmlrpc xmlwriter xorg xslt xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="sbawe hdsp hdspm" 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" APACHE2_MPMS="worker" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" NETBEANS_MODULES="cnd dlight enterprise ergonomics groovy identity mobility php profiler ruby webcommon apisupport harness ide java nb websvccommon" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev nv" 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"
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2013-09-15 10:35:59 UTC
Works for me with all current lo versions in cvs. Sorry I was not able to figure it out for the 3.6.