make[2]: Entering directory '/var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/build.Intel/perlx-5.18.2-x86_64-linux' /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Customize.xs > Customize.xsc && mv Customize.xsc Customize.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Ext.xs > Ext.xsc && mv Ext.xsc Ext.c In file included from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/GenericMatrix.h:22:0, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/permutations.h:21, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/IncidenceMatrix.h:29, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core-wrappers/polymake/IncidenceMatrix.h:21, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/FacetList.h:26, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core-wrappers/polymake/FacetList.h:21, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/lib/core/src/FacetList.cc:22: /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/CascadedContainer.h: In member function 'void pm::cascaded_iterator<Iterator, ExpectedFeatures, depth>::rewind()': /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/CascadedContainer.h:138:70: warning: typedef 'error_if_unimplemented' locally defined but not used [-Wunused-local-typedefs] typedef typename enable_if_iterator<Iterator,rewindable>::type error_if_unimplemented; ^ /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap namespaces.xs > namespaces.xsc && mv namespaces.xsc namespaces.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Object.xs > Object.xsc && mv Object.xsc Object.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Overload.xs > Overload.xsc && mv Overload.xsc Overload.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Poly.xs > Poly.xsc && mv Poly.xsc Poly.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap RefHash.xs > RefHash.xsc && mv RefHash.xsc RefHash.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Scope.xs > Scope.xsc && mv Scope.xsc Scope.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Shell.xs > Shell.xsc && mv Shell.xsc Shell.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Struct.xs > Struct.xsc && mv Struct.xsc Struct.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap Weight.xs > Weight.xsc && mv Weight.xsc Weight.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap XMLfile.xs > XMLfile.xsc && mv XMLfile.xsc XMLfile.c /usr/bin/perl5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.18.2/ExtUtils/typemap CPlusPlus.xxs > CPlusPlus.xsc && mv CPlusPlus.xsc CPlusPlus.cc x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.18.2/x86_64-linux/CORE" -DPerlVersion=5182 -Wno-nonnull Customize.c x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.18.2/x86_64-linux/CORE" -DPerlVersion=5182 -Wno-nonnull Ext.c x86_64-pc-linux-gnu-gcc -c -I/var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.18.2/x86_64-linux/CORE" -DPerlVersion=5182 -Wno-nonnull namespaces.c In file included from /usr/lib64/perl5/5.18.2/x86_64-linux/CORE/perl.h:3484:0, from /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/include/core/polymake/perl/Ext.h:22, from Ext.xs:18: Ext.xs: In function 'pm_perl_get_cx_curpad': /usr/lib64/perl5/5.18.2/x86_64-linux/CORE/av.h:62:26: error: 'PADLIST' has no member named 'sv_u' #define AvARRAY(av) ((av)->sv_u.svu_array) ^ Ext.xs:45:17: note: in expansion of macro 'AvARRAY' return (SV**)AvARRAY(((AV**)AvARRAY(CvPADLIST(cv)))[d+1]); ^ Ext.xs:45:32: note: in expansion of macro 'AvARRAY' return (SV**)AvARRAY(((AV**)AvARRAY(CvPADLIST(cv)))[d+1]); ^ Makefile:380: recipe for target 'Ext.o' failed make[2]: *** [Ext.o] Error 1 make[2]: *** Waiting for unfinished jobs.... g++ -shared -O2 -pipe -Wl,-O1 -Wl,--as-needed -o ../lib/core.so Rational.o linalg_float.o Ring.o RandomGenerators.o AccurateFloat.o CharBuffer.o PlainParser.o inlines.o Bitset.o Integer.o socketstream.o color.o FacetList.o SharedMemoryMatrix.o lib_init.o pipestream.o standalone_init.o -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -lmpfr -lgmp make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/build.Intel/perlx-5.18.2-x86_64-linux' /var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/support/corelib.make:101: recipe for target 'compile-xs' failed make[1]: *** [compile-xs] Error 2 make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/polymake-2.12/work/polymake-2.12/build.Intel/lib' Makefile:89: recipe for target 'compile' failed make: *** [compile] Error 2 emake failed * ERROR: sci-mathematics/polymake-2.12::gentoo failed (compile phase): * emake failed Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.7.10-gentoo x86_64) ================================================================= System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E31275_@_3.40GHz-with-gentoo-2.2 KiB Mem: 32800928 total, 2222936 free KiB Swap: 0 total, 0 free Timestamp of tree: Sat, 21 Jun 2014 20:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.6 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.69 sys-devel/automake: 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 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/storage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs 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" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" 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="" USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gmp iconv ipv6 logrotate mmx modules multilib ncurses nls nptl openmp pam pcre postgres readline session sqlite sse sse2 ssl tcpd unicode zlib" ABI_X86="64" 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" 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi proxy" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="x86_64 alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel or32 ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 unicore32 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel or32 ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64 mips64 mips64el mipsn32 mipsn32el" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
OK, this only happens with perl-5.18 and is reproducible with the recently bumped polymake 2.13.... investigating.
OK, this is actually fixed in polymake 2.13, I screwed up the tests. Polymake-2.12 was just removed from the tree.