Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] www-client/firefox-68.0 failed to build
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
El_Vel
n00b
n00b


Joined: 22 May 2019
Posts: 13

PostPosted: Wed Jul 24, 2019 11:37 pm    Post subject: [SOLVED] www-client/firefox-68.0 failed to build Reply with quote

Hello everyone. I having a issue installing Firefox 68.
The Warning is:
Code:
 * ERROR: www-client/firefox-68.0::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 5234:  Called die
 * The specific snippet of code:
 *       MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach build --verbose || die
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-68.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-68.0::gentoo'`.
 * The complete build log is located at '/home/var/tmp/portage/www-client/firefox-68.0/temp/build.log'.
 * The ebuild environment file is located at '/home/var/tmp/portage/www-client/firefox-68.0/temp/environment'.
 * Working directory: '/home/var/tmp/portage/www-client/firefox-68.0/work/firefox-[code]6[/code]8.0'
 * S: '/home/var/tmp/portage/www-client/firefox-68.0/work/firefox-68.0'


My emerge info is:
https://pastebin.com/pGiYTt4p

GCC recently upgraded: x86_64-pc-linux-gnu-9.1.0
rust-1.34.2
eselect rust set 1 method doesn't solve the problem.

make.conf
Code:
MAKEOPTS="-j1"
CFLAGS="-Os -march=native"
CXXFLAGS="${CFLAGS}"
USE="glamor bluetooth X xorg tools (multilib) alsa truetype -dvdr -dvd -cdr -gnome -pulseaudio -avahi -systemd"
ACCEPT_LICENSE='*'
ABI_X86="64"
VIDEO_CARDS="intel i965"
CPU_FLAGS_X86= "mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
LC_MESSAGES=C
INPUT_DEVICES="libinput synaptics"
PORTAGE_TMPDIR=/home/var/tmp
CCACHE_DIR="/var/tmp/ccache"


Last edited by El_Vel on Sun Jul 28, 2019 12:32 am; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23576

PostPosted: Thu Jul 25, 2019 1:26 am    Post subject: Reply with quote

That message tells us that Firefox failed to build. It does not tell us why. As the output you quoted says:
Code:
 * If you need support, post the output of `emerge --info '=www-client/firefox-68.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-68.0::gentoo'`.
You provided the first, but not the second or third.

Firefox is so bloated that you will probably need to use a pastebin for the log, and may need to post only the last part of the log, rather than the whole log. Usually, the last 1000 lines are sufficient.
El_Vel wrote:
Code:
USE="glamor bluetooth X xorg tools (multilib) alsa truetype -dvdr -dvd -cdr -gnome -pulseaudio -avahi -systemd"
There is no USE flag (multilib).
El_Vel wrote:
Code:
ACCEPT_LICENSE='*'
This is unusual. Do you really want this?
Back to top
View user's profile Send private message
adcdam
Apprentice
Apprentice


Joined: 15 Jan 2015
Posts: 160

PostPosted: Thu Jul 25, 2019 1:58 am    Post subject: check this Reply with quote

perhaps you should change your make.conf

MAKEOPTS="-j1" to -j2

see this:


https://github.com/rust-lang/rust/issues/61468
Back to top
View user's profile Send private message
El_Vel
n00b
n00b


Joined: 22 May 2019
Posts: 13

PostPosted: Thu Jul 25, 2019 2:22 pm    Post subject: Reply with quote

Hu wrote:
That message tells us that Firefox failed to build. It does not tell us why. As the output you quoted says:
Code:
 * If you need support, post the output of `emerge --info '=www-client/firefox-68.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-68.0::gentoo'`.
You provided the first, but not the second or third.


The second command `emerge -pqv '=www-client/firefox-68.0::gentoo'` returns:
Code:
[ebuild     U ] www-client/firefox-68.0 [60.7.2] USE="dbus gmp-autoupdate screenshot startup-notification system-av1%* system-harfbuzz* system-icu* system-jpeg* system-libevent* system-libvpx* system-sqlite* system-webp%* -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel -jack -lto% (-neon) -pgo% -pulseaudio (-selinux) -test -wayland% -wifi" CPU_FLAGS_X86="-avx2%" L10N="-ach -af -an -ar -ast -az -be% -bg -bn% -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA% -en-GB -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 -ia% -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my% -nb -nl -nn -oc% -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur% -uz -vi -xh -zh-CN -zh-TW (-as%) (-bn-BD%) (-bn-IN%) (-en-ZA%) (-mai%) (-ml%) (-or%)"

 * IMPORTANT: 20 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


adcdam wrote:
perhaps you should change your make.conf MAKEOPTS="-j1" to -j2


Same problem :(
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31712
Location: here

PostPosted: Thu Jul 25, 2019 2:28 pm    Post subject: Reply with quote

At this point you should post also /home/var/tmp/portage/www-client/firefox-68.0/temp/build.log file
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
El_Vel
n00b
n00b


Joined: 22 May 2019
Posts: 13

PostPosted: Thu Jul 25, 2019 4:08 pm    Post subject: Reply with quote

fedeliallalinea wrote:
At this point you should post also /home/var/tmp/portage/www-client/firefox-68.0/temp/build.log file


Of course!
The last lines of build.log
https://pastebin.com/pwydufve

:D
Back to top
View user's profile Send private message
Nik-
n00b
n00b


Joined: 07 Jan 2017
Posts: 6

PostPosted: Fri Jul 26, 2019 12:49 am    Post subject: Reply with quote

I'm experiencing a build issue as well. It doesn't seem to be related with OP's issue, but I thought it would be better to use this topic instead of creating a new one.
Here is the log:

https://pastebin.com/xZU5aqQK

The error in question is the following:
Quote:
Directory (graphite2/src) registered multiple times
Back to top
View user's profile Send private message
thumper
Guru
Guru


Joined: 06 Dec 2002
Posts: 554
Location: Venice FL

PostPosted: Fri Jul 26, 2019 1:30 am    Post subject: Reply with quote

For what its worth,

I built 68.0 with "clang" fine, and 68.0.1 built without "-clang", "-lto"and "-pgo"

I needed this added to make.conf to build Chromium (I have 16 cores and 32G ram):
Code:
EXTRA_GN="jumbo_file_merge_limit=22"


It may or may not have played a part in Firefox building.

Code:
www-client/firefox-68.0.1::gentoo was built with the following:
USE="dbus gmp-autoupdate hwaccel pulseaudio screenshot startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver -hardened -jack -lto (-neon) -pgo (-selinux) -test -wayland -wifi"


I had not tried Chromium until Firefox failed to build, it was a curiosity.

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


Joined: 08 Mar 2003
Posts: 31712
Location: here

PostPosted: Fri Jul 26, 2019 5:38 am    Post subject: Reply with quote

El_Vel wrote:
Of course!
The last lines of build.log
https://pastebin.com/pwydufve

I'm not sure that real error is in these last lines, you can post full build.log?
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
El_Vel
n00b
n00b


Joined: 22 May 2019
Posts: 13

PostPosted: Sun Jul 28, 2019 12:02 am    Post subject: Reply with quote

fedeliallalinea wrote:
El_Vel wrote:
Of course!
The last lines of build.log
https://pastebin.com/pwydufve

I'm not sure that real error is in these last lines, you can post full build.log?


Solved I was able to compile it using makeopts -j3

Thanks to all for the help.
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