I can't build libreoffice, issue is probably caused by pdfimport extensions set in /etc/make.conf How do I know that? I just googled and read that this compilation error always occur when pdfimport extension is set. Proof: http://forums.gentoo.org/viewtopic-p-7113010.html Reproducible: Always Steps to Reproduce: 1. emerge libreoffice Actual Results: /svtools_filters_test.test.log && echo; echo "Error: a unit test failed, please do one of:"; echo; echo "export DEBUGCPPUNIT=TRUE # for exception catching"; echo "export GDBCPPUNITTRACE=\"gdb --args\" # for interactive debugging"; echo "export VALGRIND=memcheck # for memory checking" ; echo "and retry." && false)) tests.cxx:132:Assertion Test name: (anonymous namespace)::PDFITest::testXPDFParser assertion failed - Expression: rtl::math::approxEqual(m_aHyperlinkBounds.X1,34.7 ) && rtl::math: :approxEqual(m_aHyperlinkBounds.Y1,386.0) && rtl::math::approxEqual(m_aHyperlin kBounds.X2,166.7) && rtl::math::approxEqual(m_aHyperlinkBounds.Y2,406.2) - Correct hyperlink bounding box Failures !!! Run: 3 Failure total: 1 Failures: 1 Errors: 0 Error: a unit test failed, please do one of: export DEBUGCPPUNIT=TRUE # for exception catching export GDBCPPUNITTRACE="gdb --args" # for interactive debugging export VALGRIND=memcheck # for memory checking and retry. make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CppunitTest/sdext_pdfimport.test] Error 1 make[2]: *** Waiting for unfinished jobs.... rm /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libm.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libICE.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/StaticLibrary/libxmlsec1.a /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_ca.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_ca.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libX11.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char_in.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char_in.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libXrender.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libGL.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libGLU.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libSM.so /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/StaticLibrary/libxmlsec1-nss.a /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libXext.so make[2]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/tail_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.0.4/work/libreoffice-core-3.6.0.4/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: 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]: *** [build-packimages] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4' make: *** [build] Error 2 emerge --info Portage 2.1.11.10 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.5.1 x86_64) ================================================================= System uname: Linux-3.5.1-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.1 Timestamp of tree: Tue, 14 Aug 2012 15:15:01 +0000 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1 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.11.6, 1.12.2 sys-devel/binutils: 2.22.90 sys-devel/gcc: 4.6.3 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 roslin sunrise ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth AdobeFlash-10.3 Nero-EULA-US Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/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/splash /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/" LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl" 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/roslin /var/lib/layman/sunrise" SYNC="rsync://ftp.vectranet.pl/gentoo-portage" USE="64bit X a52 accessibility acl acpi additions alsa amd64 apng ass audacious automount bash-completion berkdb binary-drivers branding bzip2 cairo cdda cdr clamdtop cli color consolekit cracklib crashreporter crypt css cups cxx dbus device-mapper dri dvd dvdnav edit emerald enca fastscroll fat fbcon fbcondecor ffmpeg fontconfig fortran gadu gcj gdbm gdu gif git gnome gnome-online-accounts gnome-shell gpm gtk gudev hddtemp hires-icons hwdb iconv idn imlib introspection iostats ipv6 java jpeg lame libburn libnotify lua lua-cairo lua-imlib mmx mmxext modules mp3 mudflap multilib nautilus ncurses network-cron nls nptl nsplugin nss ntfs ntfsprogs opengl openmp osdmenu pam pcre png policykit portmon pppd pulseaudio python qt3support readline session slang spell sqlite sse sse2 ssl ssse3 subversion symlink syslog tcpd templates threads truetype udev unicode usb weather-metar weather-xoap webm xcb xv xvfb 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" CURL_SSL="openssl" 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="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="pl" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON -------------------------------------------------------------------------------- emerge -pqv '=app-office/libreoffice-3.6.0.4' [ebuild N ] app-office/libreoffice-3.6.0.4 USE="branding cups dbus gnome graphite gtk java opengl vba webdav xmlsec (-aqua) -binfilter -binfilterdebug -eds -gstreamer -jemalloc -kde -mysql -odk -postgres -svg -test" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher"
*** This bug has been marked as a duplicate of bug 430670 ***