Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 576924

Summary: www-client/firefox-45.0[egl] fails to build
Product: Gentoo Linux Reporter: Olcay <nuke_mania>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal CC: axelfischer12, fabio.coatti, gentoo, kensington, orodruinlair, tka, volkmar.glauche
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
Build log

Description Olcay 2016-03-09 22:55:14 UTC
Hi,

firefox-44 build was ok but firefox-45 fails to build

www-client/firefox-45.0::gentoo [44.0.2::gentoo] USE="dbus egl%* ffmpeg gmp-autoupdate gstreamer gtk3 hwaccel jemalloc3 jit pulseaudio startup-notification wifi -bindist -custom-cflags -custom-optimization -debug -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -system-cairo -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test}" LINGUAS="tr -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -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 -uk -vi -xh -zh_CN -zh_TW" 0 KiB

LD_LIBRARY_PATH=/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/lib:/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/stubdata:/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/tools/ctestfw:$LD_LIBRARY_PATH echo CFU_FILES_SHORT: confusables.cfu
CFU_FILES_SHORT: confusables.cfu
LD_LIBRARY_PATH=/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/lib:/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/stubdata:/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/tools/ctestfw:$LD_LIBRARY_PATH /var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/bin/gencfu -c -i ./out/build/icudt56l -r /var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/intl/icu/source/data/unidata/confusables.txt -w /var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/intl/icu/source/data/unidata/confusablesWholeScript.txt -o out/build/icudt56l/confusables.cfu
gencfu writes dummy out/build/icudt56l/confusables.cfu because of UCONFIG_NO_REGULAR_EXPRESSIONS and/or UCONFIG_NO_NORMALIZATION and/or UCONFIG_NO_FILE_IO, see uconfig.h
generating out/tmp/icudata.lst (list of data files)
echo timestamp > build-local
LD_LIBRARY_PATH=/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/stubdata:/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/tools/ctestfw:/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/lib:$LD_LIBRARY_PATH  /var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/host/bin/pkgdata -O ../data/icupkg.inc -q -c -s /var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/target/data/out/build/icudt56l -d ../lib -e icudt56  -T ./out/tmp -p icudt56l -m static -r 56.1 -L icudata ./out/tmp/icudata.lst
pkgdata: x86_64-pc-linux-gnu-gcc -DU_USING_ICU_NAMESPACE=0 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DUCONFIG_NO_LEGACY_CONVERSION -DUCONFIG_NO_TRANSLITERATION -DUCONFIG_NO_REGULAR_EXPRESSIONS -DUCONFIG_NO_BREAK_ITERATION -DU_CHARSET_IS_UTF8 -I/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/intl/icu/source/common -I/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/intl/icu/source/i18n  -ffunction-sections -fdata-sections -D_REENTRANT  -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1  -DU_ATTRIBUTE_DEPRECATED= -fPIC -Wall -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -march=haswell -pipe -std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread -pipe -g -UDEBUG -DNDEBUG -freorder-blocks -Os -DU_STATIC_IMPLEMENTATION -fvisibility=hidden   -c -I/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/intl/icu/source/common -I../common -DPIC -fPIC -o ./out/tmp/icudt56l_dat.o ./out/tmp/icudt56l_dat.S
pkgdata: x86_64-pc-linux-gnu-ar r ../lib/libicudata.a ./out/tmp/icudt56l_dat.o
x86_64-pc-linux-gnu-ar: creating ../lib/libicudata.a
pkgdata: x86_64-pc-linux-gnu-ranlib ../lib/libicudata.a
echo timestamp > packagedata
make[6]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/target/data'
make[6]: Entering directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/target'
Note: rebuild with "make VERBOSE=1 all-local" to show all compiler parameters.
make[6]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/target'
make[5]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/intl/icu/target'
libicu.a.desc
rm -f libicu.a
/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/_virtualenv/bin/python /var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/config/expandlibs_gen.py -o libicu.a.desc  ../../../intl/icu/target/lib/libicui18n.a ../../../intl/icu/target/lib/libicuuc.a ../../../intl/icu/target/lib/libicudata.a 
make[4]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff/config/external/icu'
make[3]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff'
/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/config/recurse.mk:32: recipe for target 'compile' failed
make[2]: *** [compile] Error 2
make[2]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff'
/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/config/rules.mk:547: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0/ff'
client.mk:396: recipe for target 'realbuild' failed
make: *** [realbuild] Error 2
 * ERROR: www-client/firefox-45.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-45.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-45.0::gentoo'`.
 * The complete build log is located at '/var/tmp/ramfs/portage/www-client/firefox-45.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/ramfs/portage/www-client/firefox-45.0/temp/environment'.
 * Working directory: '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0'
 * S: '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0'

>>> Failed to emerge www-client/firefox-45.0, Log file:

>>>  '/var/tmp/ramfs/portage/www-client/firefox-45.0/temp/build.log'

 * Messages for package www-client/firefox-45.0:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * ERROR: www-client/firefox-45.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-45.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-45.0::gentoo'`.
 * The complete build log is located at '/var/tmp/ramfs/portage/www-client/firefox-45.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/ramfs/portage/www-client/firefox-45.0/temp/environment'.
 * Working directory: '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0'
 * S: '/var/tmp/ramfs/portage/www-client/firefox-45.0/work/firefox-45.0'

Reproducible: Always




emerge --info
Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.3.0, glibc-2.22-r2, 4.4.4-gentoo x86_64)
=================================================================
System uname: Linux-4.4.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16378660 total,   8709952 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Wed, 09 Mar 2016 22:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /run/media/olci/XBASEX/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

yerel
    location: /usr/local/portage
    masters: gentoo

Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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=haswell -O2 -pipe"
DISTDIR="/run/media/olci/XBASEX/gentoo/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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.modulix.net/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.leaseweb.com/gentoo/"
LANG="tr_TR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/run/media/olci/XBASEX/gentoo/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/ramfs"
USE="X a52 aac aacplus acl acpi aes alsa amd64 berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cdr cleartype cli colord corefonts cracklib crypt cups cxx dbus dri dri3 dts dvb dvd dvdr eds egl emboss encode evo exif experimental f2fs faac fam fat ffmpeg firefox flac fortran freetype gdbm gdm gif glamor gnome gnome-keyring gnome-online-accounts gphoto2 gstreamer gtk gtk3 hfs hwaccel iconv icu introspection ipv6 jack java jit jpeg lame lcd lcms ldap libkms libnotify librtmp libsecret lzo mad matroska mmx mmxext mng modules mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nsplugin ntfs ogg oggvorbis openal opencl opengl openmp openssl opus pam pango pcre pcre16 pdf plymouth png policykit ppds pulseaudio qt3support qt5 rar readline sdl seccomp session shotwell spell sse sse2 ssh ssl startup-notification svg symlink systemd tahoma tcpd theora tiff tracker truetype udev udisks unicode upnp upower usb v4l v4l2 vaapi vala vdpau vorbis vpx wavpack webgl wifi wxwidgets x264 x265 xattr xcb xetex xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="tr tr_TR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeonsi radeon fglrx" 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"
USE_PYTHON="3.4 2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 George L. Emigh 2016-03-09 23:54:54 UTC
I removed egl use flag and I was able to get it to build.

www-client/firefox-45.0::gentoo [44.0.2::gentoo] USE="dbus ffmpeg gmp-autoupdate gstreamer gtk3 hwaccel jemalloc3 jit pulseaudio startup-notification system-cairo* system-icu system-jpeg system-libevent system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -egl% -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) {-test} -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -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"
Comment 2 Perfect Gentleman 2016-03-10 07:57:25 UTC
the same error with USE=egl
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-03-10 13:19:08 UTC
Could someone please attach the build log?
Comment 4 Fabio Coatti 2016-03-10 13:46:47 UTC
Created attachment 427876 [details]
build.log
Comment 5 Fabio Coatti 2016-03-10 13:47:34 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> Could someone please attach the build log?

Attached. If I have to rebuild it with different options, just let me know.

Thanks.
Comment 6 Volkmar Glauche 2016-03-10 13:50:13 UTC
Created attachment 427880 [details]
Build log
Comment 7 tka 2016-03-10 14:48:31 UTC
Redefinition of class mozilla::gl::GLContextProviderEGL. Looks like #571180.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2016-03-10 15:34:27 UTC

*** This bug has been marked as a duplicate of bug 571180 ***