Created attachment 497796 [details] build log While trying to build www-client/palemoon (27.4.2 or 9999-r2), building seems to go along fine up until this point: 18:18.27 /var/tmp/portage/www-client/palemoon-9999-r2/work/palemoon-9999/netwerk/base/security-prefs.js: WARNING: no preprocessor directives found 18:27.29 Packaging quitter@mozilla.org.xpi... 18:27.35 324 compiler warnings present. Error running mach: ['build'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You should consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: IOError: poll() gave POLLNVAL or POLLERR File "/var/tmp/portage/www-client/palemoon-9999-r2/work/palemoon-9999/python/mozbuild/mozbuild/mach_commands.py", line 409, in build monitor.finish(record_usage=status==0) File "/var/tmp/portage/www-client/palemoon-9999-r2/work/palemoon-9999/python/mozbuild/mozbuild/controller/building.py", line 242, in finish self.resources.stop() File "/var/tmp/portage/www-client/palemoon-9999-r2/work/palemoon-9999/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 259, in stop while self._pipe.poll(1): ----- emerge --info: Portage 2.3.10 (python 3.4.6-final-0, default/linux/amd64/13.0/developer, gcc-4.9.4, glibc-2.25-r5, 4.12.3-gentoo x86_64) ================================================================= System uname: Linux-4.12.3-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.4.1 KiB Mem: 16430612 total, 5494704 free KiB Swap: 8388604 total, 8388604 free Head commit of repository gentoo: 15908f1a963bdc6eca1f1a64460ca2717088d547 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p1.0) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14::gentoo, 3.4.6::gentoo, 3.5.4::gentoo, 3.6.1-r1::gentoo dev-util/cmake: 3.9.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.31.2::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1::gentoo sys-devel/gcc: 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage priority: -1000 zlg-overlay location: /home/zlg/projects/overlay masters: gentoo 0x4d4c location: /var/lib/layman/0x4d4c sync-type: laymansync sync-uri: https://github.com/0x4d4c/gentoo-overlay.git masters: gentoo priority: 50 gamerlay location: /var/lib/layman/gamerlay sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/gamerlay.git masters: gentoo priority: 50 games-overlay location: /var/lib/layman/games-overlay sync-type: laymansync sync-uri: git://github.com/hasufell/games-overlay.git masters: gentoo priority: 50 octopus location: /var/lib/layman/octopus sync-type: laymansync sync-uri: https://github.com/Bfgeshka/octopus.git masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 Installed sets: @base, @dev, @games, @main, @palemoon ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--ask-enter-invalid --binpkg-respect-use=y --oneshot" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ http://gentoo.gossamerhost.com http://mirror.leaseweb.com/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://cosmos.illinois.edu/pub/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" 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="X a52 aac acl acpi alsa amd64 bash-completion branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session snmp spell ssl startup-notification svg tcpd tiff truetype udev unicode usb vim-syntax vorbis wxwidgets x264 xattr xcb xft xml xv xvid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby23 ruby24" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS palemoon tends to have issues on newer GCCs, so I ensured 4.9.4 was being used to build it and did the usual `. /etc/profile && env-update` before building. # gcc-config -l [1] x86_64-pc-linux-gnu-4.9.4 * [2] x86_64-pc-linux-gnu-5.4.0 [3] x86_64-pc-linux-gnu-6.4.0 gzipped build log is attached. Environment file incoming.
Created attachment 497798 [details] environment
Looks like it is python to blame. Please check building on 2.7.13 and 2.7.12, cannot check it myself now. If it will work then I'll forbid bad versions for ebuild and contact developer so mozilla build system may be updated and/or fixed.
(In reply to bfg from comment #2) > Looks like it is python to blame. Please check building on 2.7.13 and > 2.7.12, cannot check it myself now. > > If it will work then I'll forbid bad versions for ebuild and contact > developer so mozilla build system may be updated and/or fixed. Apologies for taking so long to get back to this bug. Masking dev-lang/python-2.7.14 (and downgrading to 2.7.13) fixed the issue. There must've been a change in the way Python handles polling.
Developer has fixed this issue in upstream. Old ebuilds will include masked python-2.7.14.
Build 9999 has this issue no more. For existing resealse ebuilds python version is locked below 2.7.14.