Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512278 - app-office/libreoffice-4.2.3.3-r1 - In file included from .../vcl/unx/generic/printer/printerinf omanager.cxx:25: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/tuple:99:33: internal compiler error: in iterative_hash_template_arg, at cp/pt .c:1645
Summary: app-office/libreoffice-4.2.3.3-r1 - In file included from .../vcl/unx/generic...
Status: RESOLVED OBSOLETE
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 11:21 UTC by Carsten Böcker
Modified: 2014-06-03 23:11 UTC (History)
2 users (show)

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


Attachments
app-office:libreoffice-4.2.3.3-r1:20140603-151154.log.gz (app-office:libreoffice-4.2.3.3-r1:20140603-151154.log.gz,278.96 KB, application/gzip)
2014-06-03 17:29 UTC, Carsten Böcker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Böcker 2014-06-03 11:21:47 UTC
app-office/libreoffice-4.2.3.3-r1 fails to compile with

In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/algorithm:63:0,
                 from /usr/include/boost/function/detail/prologue.hpp:13,
                 from /usr/include/boost/function.hpp:24,
                 from /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/include/sfx2/thumbnailview.hxx:16,
                 from /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/sfx2/source/control/thumbnailview.cxx:10:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/bits/stl_algo.h:1200:38: Fehler: »_ForwardItebator« wurde nicht deklariert
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CxxObject/sfx2/source/control/thumbnailview.o] Fehler 1


Reproducible: Always

Steps to Reproduce:
1. emerge app-office/libreoffice-4.2.3.3-r1
2.
3.
Comment 1 Carsten Böcker 2014-06-03 11:25:27 UTC
forget to add

GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.12.7"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
Comment 2 Carsten Böcker 2014-06-03 11:28:08 UTC
and also emerge --info =libreoffice-4.2.3.3:

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.12.20-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.20-gentoo-x86_64-AMD_Phenom-tm-_II_X4_910e_Processor-with-gentoo-2.2
KiB Mem:    16175696 total,   1839696 free
KiB Swap:   33554424 total,  33545048 free
Timestamp of tree: Tue, 03 Jun 2014 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8@euro.UTF-8"
LC_ALL="de_DE.utf8@euro.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/usr/local/portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apm bash-completion berkdb branding bzip2 cairo caps cdb cdda cdparanoia cdr cli cracklib crypt cups cxx dbus declarative divx4linux dri dts dvd dvdr dvdread emboss encode exif fam fbcon filecaps firefox flac fortran ftp gd gdbm gif gpm iconv ipv6 java jpeg kde kipi kvm lcms libnotify lm_sensors logrotate mad maildir mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl phonon php plasma png policykit ppds pulseaudio qt qt3support qt4 readline recode sdl semantic-desktop session spell sse sse2 sse4a ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="snd-hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon vesa" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

tried to also add build.log but it's to big. If you need it let me know and I upload it elsewhere and give you the url
Comment 3 Ben Kohler gentoo-dev 2014-06-03 14:34:13 UTC
I think this may be related to your boost version, what boost are you on?

And can you try the build with LC_ALL=C temporarily set to get an english build log, and then compress it and attach it here?
Comment 4 Carsten Böcker 2014-06-03 15:38:38 UTC
dev-libs/boost-1.52.0-r6:0/1.52
dev-util/boost-build-1.52.0-r1

emerge -1 -v dev-util/boost-build dev-libs/boost

did not install newer version

this compile with LC_ALL=C:

[build CXX] vcl/unx/generic/printer/printerinfomanager.cxx
S=/var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/vcl/unx/generic/printer/ $W/Dep/CxxObject/vcl/unx/generic/printer/ && cd /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3 &&  x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=420 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DVCL_DLLIMPLEMENTATION -DCUI_DLL_NAME=\"libcuilo.so\" -DDLLPOSTFIX=lo  -DSYSTEM_NSS  -DSAL_DLLPREFIX=\"lib\" -DSAL_DLLPOSTFIX=\"lo.so\" -D_XSALSET_LIBNAME=\"libspalo.so\"  -DENABLE_CUPS  -DENABLE_DBUS   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -DLIBO_MERGELIBS -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++11  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -march=native -O2 -pipe  -c $S/vcl/unx/generic/printer/printerinfomanager.cxx -o $W/CxxObject/vcl/unx/generic/printer/printerinfomanager.o  -I$S/vcl/unx/generic/printer/  -I$S/include  -I/opt/icedtea-bin-6.1.12.7/include -I/opt/icedtea-bin-6.1.12.7/include/linux -I$S/config_host  -I$W/CustomTarget/officecfg/registry -I$W/CustomTarget/vcl/generic/fontmanager -I$S/vcl/inc   -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I$W/CustomTarget/officecfg/registry  -isystem/usr/include/nss -isystem/usr/include/nspr   -I/usr/include   -isystem/usr/include/harfbuzz     -Wno-long-long      -isystem/usr/include/dbus-1.0 -isystem/usr/lib64/dbus-1.0/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include       -isystem/usr/include/freetype2     
[build CXX] toolkit/source/awt/asynccallback.cxx
S=/var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/toolkit/source/awt/ $W/Dep/CxxObject/toolkit/source/awt/ && cd /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3 &&  x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=420 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DTOOLKIT_DLLIMPLEMENTATION   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -DLIBO_MERGELIBS -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++11  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -march=native -O2 -pipe  -c $S/toolkit/source/awt/asynccallback.cxx -o $W/CxxObject/toolkit/source/awt/asynccallback.o  -I$S/toolkit/source/awt/  -I$S/include  -I/opt/icedtea-bin-6.1.12.7/include -I/opt/icedtea-bin-6.1.12.7/include/linux -I$S/config_host  -I/usr/include  -I$S/toolkit/source  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal   
[build CXX] toolkit/source/awt/stylesettings.cxx
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/functional:56:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/memory:81,
                 from /usr/include/boost/unordered/unordered_map_fwd.hpp:14,
                 from /usr/include/boost/unordered/unordered_map.hpp:16,
                 from /usr/include/boost/unordered_map.hpp:16,
                 from /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/include/vcl/printerinfomanager.hxx:23,
                 from /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/vcl/inc/cupsmgr.hxx:23,
                 from /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/vcl/unx/generic/printer/printerinfomanager.cxx:25:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include/g++-v4/tuple:99:33: internal compiler error: in iterative_hash_template_arg, at cp/pt.c:1645
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CxxObject/vcl/unx/generic/printer/printerinfomanager.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/count_word_fi.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_fi.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/count_word_fi.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/char.brk /var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3/workdir/CustomTarget/i18npool/breakiterator/dict_word_fi.txt
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-4.2.3.3-r1/work/libreoffice-4.2.3.3'
make: *** [build] Error 2

and output of emerge -pqv '=app-office/libreoffice-4.2.3.3-r1::gentoo'

emerge -pqv '=app-office/libreoffice-4.2.3.3-r1::gentoo'
[ebuild     U ] app-office/libreoffice-4.2.3.3-r1 [4.1.4.2] USE="branding cups dbus java kde mysql opengl vba webdav (-aqua) -bluetooth -debug -eds (-firebird) -gnome -gstreamer -gtk -gtk3 -jemalloc -odk -postgres -telepathy {-test} -vlc%" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher (-presenter-minimizer%*)" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 python3_3"
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-03 17:21:09 UTC
Please attach the entire build log to this bug report.
Comment 6 Carsten Böcker 2014-06-03 17:29:40 UTC
Created attachment 378182 [details]
app-office:libreoffice-4.2.3.3-r1:20140603-151154.log.gz
Comment 7 Carsten Böcker 2014-06-03 23:11:32 UTC
after rebuild of boost before comment 4 libreoffice did not compile second time.
Because of a long workday I run nice -n 19 emerge -ev libreoffice,
emerge says 506 reinstalls and 1 update which was libreoffice,
did compile a long time but now libreoffice-4.2.3.3-r1 compiled without failure.

Don't know what it was but can't restore the situation when compile failed so bug closed.