Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fail to emerge firefox 58
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kceiw
n00b
n00b


Joined: 24 Sep 2013
Posts: 9

PostPosted: Sun Feb 18, 2018 4:57 am    Post subject: Fail to emerge firefox 58 Reply with quote

Hi,

I have a problem in emerge firefox-58.0.1. There are no error messages in compile phase. But there are warnings. And emerge fails. Does anybody have similar issues and how can I solve it?

Here is error from the emerge. I don't know how to paste the whole log. It is quite long. So I paste the bottom. Please let me know if you need more information

Code:

 3:57.15 gmake[4]: Leaving directory '/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/ff/js/src'
 3:57.15 gmake[3]: Leaving directory '/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/ff'
 3:57.15 gmake[2]: *** [/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/config/recurse.mk:33: compile] Error 2
 3:57.15 gmake[2]: Leaving directory '/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/ff'
 3:57.15 gmake[1]: *** [/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/config/rules.mk:432: default] Error 2
 3:57.15 gmake[1]: Leaving directory '/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1/ff'
 3:57.15 gmake: *** [client.mk:274: build] Error 2
 3:57.18 0 compiler warnings present.
 * ERROR: www-client/firefox-58.0.1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 4976:  Called die
 * The specific snippet of code:
 *       MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ./mach build -v || die
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-58.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-58.0.1::gentoo'`.
 * The complete build log is located at '/tmp/portage/www-client/firefox-58.0.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/www-client/firefox-58.0.1/temp/environment'.
 * Working directory: '/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1'
 * S: '/tmp/portage/www-client/firefox-58.0.1/work/firefox-58.0.1'


Here is the output of 'emerge --info'
Code:
$ emerge --info '=www-client/firefox-58.0.1::gentoo'
Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo-k-04.11 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-k-04.11-x86_64-Intel-R-_Core-TM-_i5-3350P_CPU_@_3.10GHz-with-gentoo-2.4.1
KiB Mem:    16429176 total,   6947372 free
KiB Swap:   16777212 total,  15789920 free
Timestamp of repository gentoo: Sun, 18 Feb 2018 04:00:01 +0000
Head commit of repository gentoo: 390e98edcacdf85aeba2c30a8df215cd32e24759
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

nx
    location: /var/lib/layman/nx
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native"
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="-pipe -O2 -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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://gentoo.osuosl.org/"
LANG="en_US.utf8"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cjk cleartype cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg flac fortran gdbm gif glamor gpm gtk iconv iphone jpeg lcms ldap libnotify lm_sensors mad mng modules mp3 mp4 mpeg multilib ncurses nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vorbis wxwidgets x264 xattr xcb xinerama 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse synaptics" 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 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel vesa radeon" XFCE_PLUGINS="brightness trash" 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Thanks,
Mao

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
steve_v
Guru
Guru


Joined: 20 Jun 2004
Posts: 388
Location: New Zealand

PostPosted: Sun Feb 18, 2018 7:14 am    Post subject: Re: Fail to emerge firefox 58 Reply with quote

kceiw wrote:
I don't know how to paste the whole log. It is quite long. So I paste the bottom.

The "bottom" doesn't contain the actual error.
Code:
wgetpaste /tmp/portage/www-client/firefox-58.0.1/temp/build.log
And post the link.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Sun Feb 18, 2018 12:15 pm    Post subject: Reply with quote

kceiw,

What steve_v said.

The actual error will be in the lines leading up to the text Error 1in the log.
Knowing the actual error doesn't always help with the root cause, so the whole log is better.

Firefox is a big program but with KiB Mem: 16429176 total and MAKEOPTS="-j4" the build process should fit into RAM.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
kceiw
n00b
n00b


Joined: 24 Sep 2013
Posts: 9

PostPosted: Sun Feb 18, 2018 5:41 pm    Post subject: Reply with quote

Here is the build log
https://paste.pound-python.org/show/1DMBugc5sBffHfvZsQfz/

Thanks,
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Sun Feb 18, 2018 5:51 pm    Post subject: Reply with quote

There's an open bug, but workaround mentioned not convince me. I installed firefox-58 without multitarget use flag enabled on sys-libs/binutils-libs.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
kceiw
n00b
n00b


Joined: 24 Sep 2013
Posts: 9

PostPosted: Sun Feb 18, 2018 6:06 pm    Post subject: Reply with quote

Thanks for your bug, fedeliallalinea.
I'll give it a shot to compile binutils-libs with multitarget.
At the same time, I also found this bug https://bugs.gentoo.org/645222 and I don't know they're caused by the same issue.
Back to top
View user's profile Send private message
kceiw
n00b
n00b


Joined: 24 Sep 2013
Posts: 9

PostPosted: Sun Feb 18, 2018 7:09 pm    Post subject: Reply with quote

I recompile binutils-libs and it emerges firefox successfully.
Back to top
View user's profile Send private message
drifter
n00b
n00b


Joined: 14 Feb 2018
Posts: 3
Location: Canada

PostPosted: Tue Mar 06, 2018 8:36 am    Post subject: Reply with quote

Hello there,

I ran into this issue while compiling Firefox today and tried the aforementioned fix, but to no avail.
I was in the middle of recompiling without dbus and pulseaudio when it failed, so I wasn't sure exactly what was to blame.

Here are the use flags I have for Firefox and the associated system libraries/database:
www-client/firefox hwaccel eme-free system-jpeg system-icu system-harfbuzz system-libevent system-libvpx system-sqlite
media-libs/libvpx postproc
dev-libs/libevent threads
dev-db/sqlite secure-delete

The focus is on the system-* use flags, I found out that system-libevent was causing the compile to fail.
Setting the threads use flag for libevent fixed the problem for me.
I'm not sure what kind of repercussions this may have, so I apologize in advance. Hope this helps.

Side note: I was able to compile it no problem without the system-* use flags as well.
Back to top
View user's profile Send private message
kceiw
n00b
n00b


Joined: 24 Sep 2013
Posts: 9

PostPosted: Wed Mar 07, 2018 4:25 am    Post subject: Reply with quote

I compile with system-* use flags as well as dbus.

The use flags are
bindist dbus gmp-autoupdate pulseaudio screenshot startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite -custom-cflags -custom-optimization -debug -eme-free -hardened -hwaccel -jack -neon -selinux -test -wifi L10N="-ach -af -an -ar -as -ast -az -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 -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum