Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336423 - www-client/firefox-3.6.9 fails to compile
Summary: www-client/firefox-3.6.9 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 10:08 UTC by Ferry
Modified: 2010-09-08 13:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferry 2010-09-08 10:08:54 UTC
Firefox 3.6.9 fails to compile here. Apparently it can not copy the firefox-default-prefs.js file.

ran lafilefixer --justfixit, rebuilt dev-libs/nss, rebuilt xulrunner. Old version of firefox 3.8.1-r1 doesn't start with error:

Could not find compatible GRE between version 1.9.2.8 and 1.9.2.8.

I am assuming this is because of the newer xulrunner which did compile.

Build output from firefox:

/var/tmp/portage/www-client/firefox-3.6.9/work/mozilla-1.9.2/config/nsinstall -D /var/tmp/portage/www-client/firefox-3.6.9/image//usr/bin
rm -f -f /var/tmp/portage/www-client/firefox-3.6.9/image//usr/bin/firefox
ln -s /usr/lib64/mozilla-firefox/firefox /var/tmp/portage/www-client/firefox-3.6.9/image//usr/bin
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-3.6.9/work/mozilla-1.9.2/browser/installer'
 * Fallback PaX marking -m
 *      /var/tmp/portage/www-client/firefox-3.6.9/image///usr/lib64/firefox/firefox
cp: cannot create regular file `/var/tmp/portage/www-client/firefox-3.6.9/image///usr/lib64/firefox/defaults/preferences/all-gentoo.js': No such file or directory
 * ERROR: www-client/firefox-3.6.9 failed:
 *   failed to cp firefox-default-prefs.js
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 7629:  Called die
 * The specific snippet of code:
 *       cp "${FILESDIR}"/firefox-default-prefs.js "${ED}/${MOZILLA_FIVE_HOME}/defaults/preferences/all-gentoo.js" || die "failed to cp firefox-default-prefs.js";
 * 
 * If you need support, post the output of 'emerge --info =www-client/firefox-3.6.9',
 * the complete build log and the output of 'emerge -pqv =www-client/firefox-3.6.9'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-3.6.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-3.6.9/temp/environment'.
 * S: '/var/tmp/portage/www-client/firefox-3.6.9/work/mozilla-1.9.2'

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

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

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

 * 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
 * Fallback PaX marking -m
 *      /var/tmp/portage/www-client/firefox-3.6.9/image///usr/lib64/firefox/firefox
 * ERROR: www-client/firefox-3.6.9 failed:
 *   failed to cp firefox-default-prefs.js
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 7629:  Called die
 * The specific snippet of code:
 *       cp "${FILESDIR}"/firefox-default-prefs.js "${ED}/${MOZILLA_FIVE_HOME}/defaults/preferences/all-gentoo.js" || die "failed to cp firefox-default-prefs.js";
 * 
 * If you need support, post the output of 'emerge --info =www-client/firefox-3.6.9',
 * the complete build log and the output of 'emerge -pqv =www-client/firefox-3.6.9'.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-3.6.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-3.6.9/temp/environment'.
 * S: '/var/tmp/portage/www-client/firefox-3.6.9/work/mozilla-1.9.2'

The file really doesn't seem to be there:

flaptoppy firefox-3.6.9 # pwd
/var/tmp/portage/www-client/firefox-3.6.9
flaptoppy firefox-3.6.9 # find . -iname 'firefox-default-prefs.js'
flaptoppy firefox-3.6.9 # 



Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -uDNav world


Actual Results:  
Firefox fails to build

Expected Results:  
Firefox compiles cleanly
Comment 1 Ferry 2010-09-08 10:09:36 UTC
flaptoppy firefox-3.6.9 # emerge --info
Portage 2.1.9.1 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 08 Sep 2010 03:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.leaseweb.com/gentoo/ http://mirror.gentoo.no/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/ftd4linux /root/overlay-remmina"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cddb cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome gstreamer gtk hal iconv ipv6 jpeg kde lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis x264 xcb xinerama xml xorg xulrunner xv xvid zlib" 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" 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Ferry 2010-09-08 10:16:11 UTC
Hi,

not sure what happened... Tried rebuilding it several times, also deleted everything in /usr/portage/distfiles (even though the checksums should catch any errors I found it odd so many warning/errors of missing files popped up).

After another emerge --sync rebuilding went fine. Guess some patch got added, but the ebuild name has not changed to -r1 or something.
Comment 3 Jory A. Pratt gentoo-dev 2010-09-08 13:09:17 UTC
Please sync your tree this was fixed late last night.
Comment 4 Jory A. Pratt gentoo-dev 2010-09-08 13:10:22 UTC
Please sync your tree this was fixed late last night.(In reply to comment #2)
> Hi,
> 
> not sure what happened... Tried rebuilding it several times, also deleted
> everything in /usr/portage/distfiles (even though the checksums should catch
> any errors I found it odd so many warning/errors of missing files popped up).
> 
> After another emerge --sync rebuilding went fine. Guess some patch got added,
> but the ebuild name has not changed to -r1 or something.
> 

There was no need to bump when it was broke for everyone.