Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600494 - www-client/firefox-50.0: Compile failure "../config/rules.mk:934: recipe for target 'Unified_cpp_media_libyuv1.o' failed" on i686-hardened
Summary: www-client/firefox-50.0: Compile failure "../config/rules.mk:934: recipe for ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 16:10 UTC by russiangentooshnik
Modified: 2017-02-23 14:38 UTC (History)
2 users (show)

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


Attachments
www-client:firefox-50.0:20161122-114823.log compressed with bzip2 (build.log.bz2,56.33 KB, application/x-bzip2)
2016-11-22 16:10 UTC, russiangentooshnik
Details
environment (environment,219.10 KB, text/plain)
2016-11-22 16:16 UTC, russiangentooshnik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description russiangentooshnik 2016-11-22 16:10:47 UTC
Created attachment 454052 [details]
www-client:firefox-50.0:20161122-114823.log compressed with bzip2

After near the 1/4 estimated emerging time it fails on compile phase.

# emerge -pqv '=www-client/firefox-50.0::gentoo'
[ebuild     U ] www-client/firefox-50.0 [49.0] USE="dbus gtk2 hardened hwaccel jemalloc startup-notification -bindist -custom-cflags -custom-optimization -debug (-gmp-autoupdate) -jit (-neon) (-pgo) -pulseaudio (-selinux) -skia (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="ru -ach -af -an -ar -as -ast -az -be -bg -bn-BD -bn-IN -br -bs -ca -cak% -cs -cy -da -de -dsb% -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff% -fi -fr -fy -ga -gd -gl -gn% -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -kk -km -kn -ko -lij% -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"
Comment 1 russiangentooshnik 2016-11-22 16:16:36 UTC
Created attachment 454054 [details]
environment

# emerge --info '=www-client/firefox-50.0::gentoo'

Portage 2.3.0 (python 2.7.10-final-0, hardened/linux/x86, gcc-4.9.3, glibc-2.22-r4, 4.7.10-hardened i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.7.10-hardened-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.2
KiB Mem:     1000524 total,    867728 free
KiB Swap:    8000000 total,   8000000 free
Timestamp of repository gentoo: Mon, 21 Nov 2016 00:45:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: webrsync
    sync-uri: http://gentoo.osuosl.org/
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
LANG="ru_RU.utf8"
LC_ALL="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 acl acpi alsa bash-completion berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri gdbm gtk hardened iconv jpeg mmx mmxext modules ncurses nls nptl openmp pam pax_kernel pcre pic pie policykit readline seccomp session sse sse2 sse3 ssl ssp ssse3 startup-notification tcpd thunar truetype udev unicode urandom x86 xattr xtpax zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel i915" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 russiangentooshnik 2016-11-22 16:31:48 UTC
These strings at the end of log are may be interesting:

efox-50.0/work/firefox-50.0/ipc/glue -I/var/tmp/portage/www-client/firefox-50.0/
work/firefox-50.0/ff/dist/include    -fPIC  -DMOZILLA_CLIENT -include /var/tmp/p
ortage/www-client/firefox-50.0/work/firefox-50.0/ff/mozilla-config.h -MD -MP -MF
 .deps/Unified_cpp_media_libyuv1.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignor
ed-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits 
-Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninit
ialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -march=native
 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno 
-pthread -pipe  -O2 -fomit-frame-pointer -m32 -mmmx  /var/tmp/portage/www-client
/firefox-50.0/work/firefox-50.0/ff/media/libyuv/libyuv_libyuv/Unified_cpp_media_
libyuv1.cpp
In file included from /var/tmp/portage/www-client/firefox-50.0/work/firefox-50.0
/ff/media/libyuv/libyuv_libyuv/Unified_cpp_media_libyuv1.cpp:47:0:
/var/tmp/portage/www-client/firefox-50.0/work/firefox-50.0/media/libyuv/source/r
ow_gcc.cc: In function 'void libyuv::I422AlphaToARGBRow_SSSE3(const uint8*, cons
t uint8*, const uint8*, const uint8*, uint8*, const libyuv::YuvConstants*, int)'
:
/var/tmp/portage/www-client/firefox-50.0/work/firefox-50.0/media/libyuv/source/r
ow_gcc.cc:1803:4: error: 'asm' operand has impossible constraints
   );
    ^
/var/tmp/portage/www-client/firefox-50.0/work/firefox-50.0/config/rules.mk:934: 
recipe for target 'Unified_cpp_media_libyuv1.o' failed
make[4]: *** [Unified_cpp_media_libyuv1.o] Error 1
Comment 3 russiangentooshnik 2016-11-27 12:11:21 UTC
There https://bugzilla.mozilla.org/show_bug.cgi?id=1320452 the bug is discussed on the mozilla bugzilla, and there  https://bugs.chromium.org/p/libyuv/issues/detail?id=602 is the most related upstream bug.
Comment 4 russiangentooshnik 2017-02-23 14:38:36 UTC
I tried to install firefox-51.0 (the libyuv here is the same version as in firefox-50.0, i.e. 1602) with a new stable version of gcc-4.9.4 (old, with which I was not able to build, I remind, was 4.9.3) and the result is success! I am very happy! I think we can close the bug.