Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228243 - Can't install mozilla-firefox-3.0: Fails on directory can't be found.
Summary: Can't install mozilla-firefox-3.0: Fails on directory can't be found.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 22:43 UTC by Jason Ayres
Modified: 2008-06-20 08:50 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 Jason Ayres 2008-06-18 22:43:21 UTC
When emerging the newly released firefox 3.0, there is an error during the unpacking:

>>> Unpacking source...
>>> Unpacking mozilla-firefox-3.0.tar.bz2 to /var/tmp/portage/www-client/mozilla-firefox-3.0/work
>>> Unpacking mozilla-firefox-3.0_rc1-patches-0.1.tar.bz2 to /var/tmp/portage/www-client/mozilla-firefox-3.0/work
/var/tmp/portage/www-client/mozilla-firefox-3.0/temp/environment: line 3169: cd: /var/tmp/portage/www-client/mozilla-firefox-3.0/work/mozilla: No such file or directory
 *
 * ERROR: www-client/mozilla-firefox-3.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3169:  Called die
 * The specific snippet of code:
 *       cd "${S}" || die "cd failed";
 *  The die message:
 *   cd failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-client/mozilla-firefox-3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/mozilla-firefox-3.0/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. Add www-client/mozilla-firefox-3.0 (and dependencies) to package.keywords
2. emerge -v '=www-client/mozilla-firefox-3.0'

Actual Results:  
>>> Emerging (1 of 1) www-client/mozilla-firefox-3.0 to /
 * mozilla-firefox-3.0_rc1-patches-0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                              [ ok ]
 * mozilla-firefox-3.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
 * checking mozilla-firefox-3.0.tar.bz2 ;-) ...                                                                                                                             [ ok ]
 * checking mozilla-firefox-3.0_rc1-patches-0.1.tar.bz2 ;-) ...                                                                                                             [ ok ]
 * 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 mozilla-firefox _with_ the bindist USE-flag
>>> Unpacking source...
>>> Unpacking mozilla-firefox-3.0.tar.bz2 to /var/tmp/portage/www-client/mozilla-firefox-3.0/work
>>> Unpacking mozilla-firefox-3.0_rc1-patches-0.1.tar.bz2 to /var/tmp/portage/www-client/mozilla-firefox-3.0/work
/var/tmp/portage/www-client/mozilla-firefox-3.0/temp/environment: line 3169: cd: /var/tmp/portage/www-client/mozilla-firefox-3.0/work/mozilla: No such file or directory
 *
 * ERROR: www-client/mozilla-firefox-3.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3169:  Called die
 * The specific snippet of code:
 *       cd "${S}" || die "cd failed";
 *  The die message:
 *   cd failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-client/mozilla-firefox-3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/mozilla-firefox-3.0/temp/environment'.
 *


Expected Results:  
Upgrade firefox from 2.* to 3.0

It appears that the first directory in the tar is 'firefox' and the ebuild is expecting 'mozilla'.  This happened since the release of firefox-3.0 on 6/17

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Timestamp of tree: Wed, 18 Jun 2008 03:20:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.59-r7, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo ftp://140.127.177.15/pub/Linux/Gentoo ftp://130.208.16.31/pub/gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ http://ftp.twaren.net/Linux/Gentoo/ http://mirror.datapipe.net/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa arts avahi berkdb bluetooth cli cracklib crypt cups dbus dri fortran gdbm gpm gtk hal iconv isdnlog java jpeg jpeg2k kde midi mp3 mp4 mudflap musicbrainz mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt readline reflection samba sdl session spl ssl startup-notification tcpd tiff unicode usb vorbis x86 xml xorg xscreensaver zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2008-06-20 08:50:51 UTC
Sync again and retry, this was fixed