Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541534 - www-client/firefox-36.0: build failure - recipe for target 'Unified_cpp_js_src4.o' failed
Summary: www-client/firefox-36.0: build failure - recipe for target 'Unified_cpp_js_sr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 15:05 UTC by Ian Stakenvicius (RETIRED)
Modified: 2015-03-01 13:13 UTC (History)
8 users (show)

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


Attachments
build log (build.log,160.77 KB, text/plain)
2015-02-27 15:05 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Stakenvicius (RETIRED) gentoo-dev 2015-02-27 15:05:38 UTC
Created attachment 397616 [details]
build log

Opening bug to split build issue from bug 541478.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-02-27 15:06:23 UTC
Frank, could you add your emerge --info please?  I'd like to know especially what toolchain version you are using.
Comment 2 Frank Krömmelbein 2015-02-27 15:40:56 UTC
Here is the output of emerge --info & emerge firefox.
I have also updated nspr to the latest ~ARCH Version dev-libs/nspr-4.10.8

[ebuild     U ~] www-client/firefox-36.0 [35.0] USE="dbus hardened minimal startup-notification system-cairo system-icu system-jpeg system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug (-gmp-autoupdate) -gstreamer -jit (-pgo) -pulseaudio (-selinux) -system-libvpx {-test}" LINGUAS="de -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" 0 KiB


Portage 2.2.14 (python 3.3.5-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.18.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.18.7-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:    20576312 total,  17382848 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 27 Feb 2015 10:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo steam-overlay prism-overlay lokal
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=corei7 -O2 -pipe"
DISTDIR="/usr/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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="/var/lib/layman/steam-overlay /var/lib/layman/prism-overlay /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acl acpi alsa amd64 amrenc berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cec chipcard chroma chromaprint clamav cli clucene corefonts cover cracklib crypt cryptsetup css cups cxx dbus declarative device-mapper dmraid dri dts dv dvb dvd dvdr ebook encode epub exif ext4 f2fs faac faad fam fat fax ffmpeg flac fontconfig fontforge fortran fuse gdbm gif gimp google gpg gphoto2 gpm gtk gudev hardened iconv id3tag idn infinality inotify introspection ipv6 iscsi jfs jpeg jpeg2k justify kde kdecards kdepim kipi kolab ladspa lame lcms ldap libkms libnotify libsamplerate libsoxr libvisual lirc llvm-shared-libs lm_sensors lvm lxc lyrics lz4 lzma lzo mad matroska mdadm mmx mng mobi mod modemmanager modplug modules mp3 mp4 mpeg mplayer mtp multilib multimedia musicbrainz mysql natspec ncurses networkmanager nfs nls nptl ntfs ofx ogg opencl opencv openexr opengl openmp openrc opus pam pango pax_kernel pcmcia pcre pdf phonon pkcs11 plasma png policykit postscript ppds ppp pvr qt3support qt4 rar raw rdesktop readline reiser4 reiserfs rss samba scanner sdl semantic-desktop session sftp smartcard sna sndfile spell sse sse2 ssl ssse3 startup-notification subversion svg system-cairo system-icu system-jpeg system-sqlite systemd taglib tcpd threads thumbnail tiff truetype udev udisks unicode upnp upower urandom usb uvm v4l vaapi vcd vdpau vdr vlc vnc vorbis vpx webinterface webp wifi wxwidgets x264 x265 xa xattr xcb xcomposite xfs xinerama xkb xml xmp xpm xscreensaver xtpax xv xvid xvmc zeroconf zip zlib" ABI_X86="64 32" 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="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc qemu emu" INPUT_DEVICES="evdev keyboard mouse joystick synaptics vmmouse lirc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer wiki-publisher" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="intel vmware virtualbox modesetting vesa nouveau i915 i965" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Toralf Förster gentoo-dev 2015-02-27 17:39:55 UTC
is the build log compressed by any chance ?
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2015-02-27 18:14:07 UTC
it is, gzipped (double gzipped, probably, i tried to keep the second gzip from happening when i uploaded but dunno if I did)
Comment 5 Toralf Förster gentoo-dev 2015-02-27 22:22:33 UTC
FWIW - same build error here at a stable hardened system.
Comment 6 satmd 2015-02-27 22:48:00 UTC
This is happening to me too on a gentoo hardened ~amd64 setup.

I've then taken a closer look on the build failure and suspected USE="-jit" is broken.

So I tried compiling with USE="jit" and the compile did succeed.

But I'd rather prefer USE=-jit.
Comment 7 Mathias Zimmermann 2015-02-28 09:05:36 UTC
same build error for me, NOT hardened:

Portage 2.2.14 (python 3.4.1-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.8-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.17.8-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3470T_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:    16226564 total,  12196068 free
KiB Swap:    2929660 total,   2929660 free
Timestamp of tree: Sat, 28 Feb 2015 07:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
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"
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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/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="ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="en_US.UTF-8"
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=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acc acpi aes aften alsa amd64 apm apng asf audio avx bash-completion berkdb bzip2 cairo caps-ng cdr cdrom classic cleartype corefonts css cups curl cxx dbus dga dmx dri dvd dvdnav dvdr egl encode extensions extras fat ffmpeg firefox flac fontconfig gallium gdbm gif gimp glib gmp gnutls gstreamer gtk3 gudev gzip hls hpcups iconv imap jpeg lcms libass libkms lm_sensors lzma lzo matroska mbox methodjit mmx mmxext mng mp3 mp4 mpeg mplayer ncurses nls nptl nsplugin ntfs ntpl ogg opengl openrc openssl pcap pcf pdf png popcnt python quicktime rar rdesktop readline rtmp sasl scanner sdl sdl-image sdl-sound sdlaudio session shared-glapi slang smbclient smp smtp sna sound sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 stdlog svg theora threads tiff toolbar truetype type3 udev unicode usb utils vaapi video vorbis wav webm wma x264 xft xinerama xinerma xml xorg xrandr xv xvid xz zip zlib" ABI_X86="64" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel vesa"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Toralf Förster gentoo-dev 2015-02-28 14:46:49 UTC
pls could you re-activate firefox-35.ebuild until this bug is solved ?


currently portage tries to downgrade it to 31.0.5 ...
Comment 9 Herbert Wantesh 2015-02-28 17:46:03 UTC
same build problem here using hardened stable
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2015-02-28 23:33:03 UTC
Right, so, as of firefox-36.0, disabling JIT is not supported.  Apparently there are 'dummy' JIT implementations for arches that can't support real jit; i'm going to look into whether or not it's possible to leverage that so that MPROTECT doesn't have to be disabled.

In the meantime, though, USE="jit" has to stay on; i'll be dropping the flag from firefox-36 shortly.
Comment 11 Ian Stakenvicius (RETIRED) gentoo-dev 2015-03-01 01:52:13 UTC
Committed.  No RESO/WORKAROUND but if a proper fix allowing firefox to be built without jit support is obtained then USE="jit" will be re-added.
Comment 12 Jaak Ristioja 2015-03-01 08:59:04 UTC
(In reply to Ian Stakenvicius from comment #11)
> Committed.  No RESO/WORKAROUND but if a proper fix allowing firefox to be
> built without jit support is obtained then USE="jit" will be re-added.

Filed bug 541770 to track this.
Comment 13 Thibaud CANALE 2015-03-01 13:13:12 UTC
(In reply to Toralf Förster from comment #8)
> pls could you re-activate firefox-35.ebuild until this bug is solved ?
>
> currently portage tries to downgrade it to 31.0.5 ...

Yes, please. (edit: version 31.5.0)

PS: and I don't understand why this status is "FIXED", and not "CANTFIX"; I noticed too much dev are eager to hide some bug reports…