Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED, summary: -gstreamer] Firefox 14 fails to build.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 405
Location: Near /dev/urandom | /dev/null

PostPosted: Sun Jul 22, 2012 2:55 pm    Post subject: [SOLVED, summary: -gstreamer] Firefox 14 fails to build. Reply with quote

Code:
*** Resuming merge...

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-client/firefox-14.0.1
 * firefox-14.0-patches-0.3.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...  [ ok ]
 * firefox-14.0.1.source.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...    [ ok ]
>>> It appears that 'firefox-14.0.1' is already setup; skipping.
>>> Remove '/var/tmp/portage/www-client/firefox-14.0.1/.setuped' to force setup.
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'firefox-14.0.1' is already prepared; skipping.
>>> Remove '/var/tmp/portage/www-client/firefox-14.0.1/.prepared' to force prepare.
>>> It appears that 'firefox-14.0.1' is already configured; skipping.
>>> Remove '/var/tmp/portage/www-client/firefox-14.0.1/.configured' to force configuration.
>>> Compiling source in /var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release ...
make -f client.mk profiledbuild
make -f /var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/client.mk realbuild MOZ_PROFILE_GENERATE=1 MOZ_PGO_INSTRUMENTED=1
make[1]: Entering directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'
Adding client.mk options from /var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/.mozconfig:
    PROFILE_GEN_SCRIPT=$(PYTHON) $(OBJDIR)/_profile/pgo/profileserver.py
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/js/src/config/check-sync-dirs.py", line 93, in <module>
    check(copy, original)
  File "/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/js/src/config/check-sync-dirs.py", line 64, in check
    exceptions = read_exceptions(join(dirpath, 'check-sync-exceptions'))
  File "/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release/js/src/config/check-sync-dirs.py", line 37, in read_exceptions
    f = file(filename)
NameError: global name 'file' is not defined
make[1]: *** [check-sync-dirs-config] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'
make: *** [profiledbuild] Error 2
emake failed
 * ERROR: www-client/firefox-14.0.1 failed (compile phase):
 *   virtualmake: the emake failed.
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 6847:  Called Xemake '-f' 'client.mk' 'profiledbuild'
 *   environment, line  672:  Called virtualmake '-f' 'client.mk' 'profiledbuild'
 *   environment, line 7590:  Called die
 * The specific snippet of code:
 *       [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed.";
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-14.0.1'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-14.0.1'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-14.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-14.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'
 * S: '/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'

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

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

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

 * ERROR: www-client/firefox-14.0.1 failed (compile phase):
 *   virtualmake: the emake failed.
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 6847:  Called Xemake '-f' 'client.mk' 'profiledbuild'
 *   environment, line  672:  Called virtualmake '-f' 'client.mk' 'profiledbuild'
 *   environment, line 7590:  Called die
 * The specific snippet of code:
 *       [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed.";
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-14.0.1'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-14.0.1'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-14.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-14.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'
 * S: '/var/tmp/portage/www-client/firefox-14.0.1/work/mozilla-release'


Previously it would complain of not being able to create a folder on /root so I created those folders, no idea why it is trying to generate profiles for each user...
Although now I'm just stuck.

emerge --info
Code:

zeuz@Ignition ~ $ emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.15-r2, 3.4.5-gentooJaguar-Release x86_64)
=================================================================
System uname: Linux-3.4.5-gentooJaguar-Release-x86_64-Intel-R-_Atom-TM-_CPU_N450_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Sun, 22 Jul 2012 14:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sabayon
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mssse3 -mfpmath=sse -foptimize-register-move -finline-functions -foptimize-sibling-calls -fthread-jumps"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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="-O2 -march=native -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mssse3 -mfpmath=sse -foptimize-register-move -finline-functions -foptimize-sibling-calls -fthread-jumps"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles keepwork news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/sabayon"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completition berkdb bindist branding bzip2 cairo cdda cdr cli colord cracklib crypt cxx dbus directb dmx dri drm dts dvd dvdr emboss encode evo exif fam fat firefox flac fontforge fortran fuse gdbm gif gles gnome gnome-keyring gpm graphite gstreamer gtk gtk3 iconv jpeg lcms libnotify mad mmx mng modules motif mp3 mp4 mpeg msn mudflap multilib nautilus ncurses nptl ogg opengl openmp openvg pango pcre pdf png postproc ppds pppd qt3support readline sdl session shared-dricore socialweb spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb utils vapigen vorbis wifi wxwidgets x264 xcb xml xnest xorg xv xvfb xvid zlib" ALSA_CARDS="intel_hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel modesetting glint" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


equery uses firefox:
Code:

equery uses firefox
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-client/firefox-14.0.1:
 U I
 + + alsa                 : Adds support for media-libs/alsa-lib (Advanced
                            Linux Sound Architecture)
 - + bindist              : Disable official Firefox branding (icons, name)
                            which are not binary-redistributable according to
                            upstream.
 - - custom-cflags        : Build with user-specified CFLAGS (unsupported)
 - - custom-optimization  : Fine-tune custom compiler optimizations, setting
                            this is not recommended.
 + + dbus                 : Enable dbus support for anything that needs it
                            (gpsd, gnomemeeting, etc)
 - - debug                : Enable extra debug codepaths, like asserts and
                            extra output. If you want to get meaningful
                            backtraces see
                            http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + gstreamer            : Adds support for media-libs/gstreamer (Streaming
                            media)
 + - ipc                  : Use inter-process communication between tabs and
                            plugins. Allows for greater stability in case of
                            plugin crashes
 + - jit                  : Enable just-in-time compilation for improved
                            performance. May prevent use of some PaX memory
                            protection features in Gentoo Hardened.
 + + libnotify            : Enable desktop notification support
 - - linguas_af           : Afrikaans locale
 - - linguas_ak           : Akan locale
 - - linguas_ar           : Arabic locale
 - - linguas_as           : Assamese locale
 - - linguas_ast          : Asturian locale
 - - linguas_be           : Belarusian locale
 - - linguas_bg           : Bulgarian locale
 - - linguas_bn_BD        : Bengalie locale for Bangladesh
 - - linguas_bn_IN        : Bengali locale for India
 - - linguas_br           : Breton locale
 - - linguas_bs           : Bosnian locale
 - - linguas_ca           : Catalan locale
 - - linguas_cs           : Czech locale
 - - linguas_csb          : Kashubian locale
 - - linguas_cy           : Welsh locale
 - - linguas_da           : Danish locale
 - - linguas_de           : German locale
 - - linguas_el           : Greek locale
 - - linguas_en_GB        : English locale for Britain
 - - linguas_en_ZA        : English locale for South Africa
 - - linguas_eo           : Esperanto locale
 - - linguas_es_AR        : Spanish locale for Argentina
 - - linguas_es_CL        : Spanish locale for Chile
 - - linguas_es_ES        : Spanish locale for Spain
 - - linguas_es_MX        : Spanish locale for Mexico
 - - linguas_et           : Estonian locale
 - - linguas_eu           : Basque locale
 - - linguas_fa           : Persian locale
 - - linguas_fi           : Finnish locale
 - - linguas_fr           : French locale
 - - linguas_fy_NL        : Frisian language locale for the Netherlands
 - - linguas_ga_IE        : Irish locale for Ireland
 - - linguas_gd           : Gaelic locale
 - - linguas_gl           : Galician locale
 - - linguas_gu_IN        : Gujarati locale for India
 - - linguas_he           : Hebrew locale
 - - linguas_hi_IN        : Hindi locale
 - - linguas_hr           : Croatian locale
 - - linguas_hu           : Hungarian locale
 - - linguas_hy_AM        : Armenian locale
 - - linguas_id           : Indonesian locale
 - - linguas_is           : Icelandic locale
 - - linguas_it           : Italian locale
 - - linguas_ja           : Japanese locale
 - - linguas_kk           : Kazakh locale
 - - linguas_km           : Khmer locale
 - - linguas_kn           : Kannada locale
 - - linguas_ko           : Korean locale
 - - linguas_ku           : Kurdish (latin) locale
 - - linguas_lg           : Ganda locale
 - - linguas_lt           : Lithuanian locale
 - - linguas_lv           : Latvian locale
 - - linguas_mai          : Maithili locale
 - - linguas_mk           : Macedonian locale
 - - linguas_ml           : Malayalam locale
 - - linguas_mr           : Marathi locale
 - - linguas_nb_NO        : Norwegian (Bokmal) locale for Norway
 - - linguas_nl           : Dutch locale
 - - linguas_nn_NO        : Nynorsk locale for Norway
 - - linguas_nso          : Northern Sotho locale
 - - linguas_or           : Oriya locale
 - - linguas_pa_IN        : Punjabi locale for India
 - - linguas_pl           : Polish locale
 - - linguas_pt_BR        : Portuguese locale for Brasil
 - - linguas_pt_PT        : Portuguese locale for Portugal
 - - linguas_rm           : Romansh locale
 - - linguas_ro           : Romanian locale
 - - linguas_ru           : Russian locale
 - - linguas_si           : Sinhala locale
 - - linguas_sk           : Slovak locale
 - - linguas_sl           : Slovenian locale
 - - linguas_son          : Songhai locale
 - - linguas_sq           : Albanian locale
 - - linguas_sr           : Serbian locale
 - - linguas_sv_SE        : Swedish locale for Sweden
 - - linguas_ta           : Tamil locale
 - - linguas_ta_LK        : Tamil locale for Sri Lanka
 - - linguas_te           : Telugu locale
 - - linguas_th           : Thai locale
 - - linguas_tr           : Turkish locale
 - - linguas_uk           : Ukrainian locale
 - - linguas_vi           : Vietnamese locale
 - - linguas_zh_CN        : Chinese locale for Peoples Republic of China
 - - linguas_zh_TW        : Chinese locale for Taiwan
 - - linguas_zu           : Zulu locale
 + - minimal              :  Prevent sdk and headers from being installed
 + - pgo                  : Add support for profile-guided optimization using
                            gcc-4.5, for faster binaries. This option will
                            double the compile time.
 + + startup-notification : Enable application startup event feedback mechanism
 - - system-sqlite        : Use the system-wide dev-db/sqlite installation with
                            secure-delete enabled
 + - webm                 : Use system media-libs/libvpx for HTML5 WebM video
                            support.
 + + wifi                 : Enable wireless network functions



Any ideas?
Update: As the title says, I got it to build with PGO removing the gstreamer useflag...
_________________
| Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep.


Last edited by ZeuZ_NG on Mon Jul 23, 2012 1:25 am; edited 1 time in total
Back to top
View user's profile Send private message
drhirsch
n00b
n00b


Joined: 08 May 2004
Posts: 65
Location: Germany

PostPosted: Sun Jul 22, 2012 9:20 pm    Post subject: Re: Firefox 14 fails to build. Reply with quote

For me Firefox 14.0.1 builds but it needs 5 hours 50 minuites on an core i7@4.6 GHz. Others version prior to it need 10 minutes. So something seems to be fishy.
Back to top
View user's profile Send private message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 405
Location: Near /dev/urandom | /dev/null

PostPosted: Sun Jul 22, 2012 10:44 pm    Post subject: Reply with quote

Well, after taking off the gstreamer plugin it seems it's going to build just fine.
As far as I've read the changelog, some debugging options should now be up to par with non-debugging options enabled.
Also a bump on some web developer tools.
But yeah, it checks for 8GB of free disk space, and I'm building it in this small netbook..

I should start using distcc...
_________________
| Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep.
Back to top
View user's profile Send private message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 405
Location: Near /dev/urandom | /dev/null

PostPosted: Mon Jul 23, 2012 1:24 am    Post subject: Reply with quote

Well, so, yeah... getting rid of the gstreamer useflag prevented Firefox with PGO from trying and failing to create a profile for each user...
I'm editing the title to point that out..
_________________
| Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep.
Back to top
View user's profile Send private message
drhirsch
n00b
n00b


Joined: 08 May 2004
Posts: 65
Location: Germany

PostPosted: Mon Jul 23, 2012 8:36 am    Post subject: Reply with quote

I removed the gstreamer use flag, and build time is back to 11 minutes. This could be considered a bug.
Back to top
View user's profile Send private message
ssam
n00b
n00b


Joined: 24 Nov 2005
Posts: 13

PostPosted: Tue Jul 24, 2012 7:39 pm    Post subject: Reply with quote

looks like this issue https://bugs.gentoo.org/show_bug.cgi?id=427084
with PGO enabled the build process needs to run firefox to make a profile. with gstreamer that running firefox want to make some folders. and with sandbox enabled portage wont let it.

for me firefox built in a reasonable time (i did not measure, but it was no longer than i expected) with pgo and gstreamer (but with sandbox disabled).
Back to top
View user's profile Send private message
ZeuZ_NG
Guru
Guru


Joined: 10 Sep 2008
Posts: 405
Location: Near /dev/urandom | /dev/null

PostPosted: Wed Jul 25, 2012 2:03 pm    Post subject: Reply with quote

Intresting to know, should have looked at the bugtrack first for something related, sorry guys.
Although a quick fix (what do I need gstreamer integration for anyways? hehe) does cut it..
_________________
| Intel Core i7 920. | Intel DX58SO Extreme. |
| 8gb DDR3 1666mHz | 1TB 7200 RPM WD HDD.|
Unix´s guru view of sex:
unzip ; strip ; touch ; grep ; finger ; \
mount ; fsck ; more ; yes ; umount ; sleep.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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