[ 11%] Building CXX object CMakeFiles/poppler.dir/fofi/FoFiEncodings.cc.o /var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0/goo/glibc_strtok_r.cc: In function ‘char* strtok_r(char*, const char*, char**)’: /var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0/goo/glibc_strtok_r.cc:65:61: error: declaration of ‘char* strtok_r(char*, const char*, char**)’ has a different exception specifier char * strtok_r (char *s, const char *delim, char **save_ptr) ^ In file included from /var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0/goo/glibc_strtok_r.cc:61:0: /usr/include/string.h:345:14: error: from previous declaration ‘char* strtok_r(char*, const char*, char**) throw ()’ extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^ /usr/bin/x86_64-pc-linux-gnu-g++ -Dpoppler_EXPORTS -I/var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0 -I/var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0/fofi -I/var/tmp/portage/app-text/poppler-0.62.0-r1/wor k/poppler-0.62.0/goo -I/var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0/poppler -I/var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0_build -I/var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0_buil d/poppler -I/usr/include/freetype2 -I/usr/include/openjpeg-2.3 -DNDEBUG -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op -Wmissing-form at-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wsuggest-override -march=core2 -mtune=generic -O2 -pipe -std=c++11 -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -pthread -std=c++11 -o CMakeFiles/pop pler.dir/fofi/FoFiEncodings.cc.o -c /var/tmp/portage/app-text/poppler-0.62.0-r1/work/poppler-0.62.0/fofi/FoFiEncodings.cc make[2]: *** [CMakeFiles/poppler.dir/build.make:447: CMakeFiles/poppler.dir/goo/glibc_strtok_r.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... emerge --info output: Portage 2.3.19 (python 2.7.14-final-0, hardened/linux/amd64/no-multilib, gcc-5.4.0, glibc-2.26-r5, 3.3.2-hardened x86_64) ================================================================= System uname: Linux-3.3.2-hardened-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.4.1 KiB Mem: 8167824 total, 1184692 free KiB Swap: 16016792 total, 15903516 free Timestamp of repository gentoo: Mon, 08 Jan 2018 03:45:01 +0000 Head commit of repository gentoo: ca867bcc34fa438c48e0632de7fe07db7c986fb8 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p2) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.6.4::gentoo dev-util/cmake: 3.10.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo, 7.1.0-r1::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: x-portage location: /usr/local/portage masters: gentoo priority: 0 gentoo-xvilka location: /var/lib/layman/gentoo-xvilka masters: gentoo priority: 1 godin location: /var/lib/layman/godin masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1" 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/bind /var/qmail/alias /var/qmail/control /var/spool/munin-async/.ssh /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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 merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt cvs cxx dri gdbm git gnutls hardened iconv ipv6 lighttpd mercurial mmx modules ncurses nls nptl openmp pam pcre perl php pie postgresql python readline sbcl seccomp sse sse2 sse4 ssl ssp ssse3 subversion tcpd unicode urandom xattr xml xmlrpc xsl xtpax zlib" ABI_X86="64" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same problem here.
Thank you for the report. Please *attach* the logfiles, https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket and reopen this ticket (Status:unconfirmed).
Created attachment 513850 [details] full build log
(In reply to Ivan Iraci from comment #1) > Same problem here. Please attach your build.log as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c145c4b7287e9dd9e80724030be17b7ee1944afc commit c145c4b7287e9dd9e80724030be17b7ee1944afc Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-01-09 10:13:18 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-01-09 10:15:31 +0000 app-text/poppler: Fix build (missing include) Closes: https://bugs.gentoo.org/643858 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-text/poppler/files/poppler-0.62.0-glibc.patch | 34 +++++++++++++++++++++++ app-text/poppler/poppler-0.62.0-r1.ebuild | 1 + 2 files changed, 35 insertions(+)
I think I got it, please reopen if it still does not build (sync in a few hours).