Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100004 - Emerging mozilla-firefox-bin removes mozilla-thunderbird-bin executable and vice versa
Summary: Emerging mozilla-firefox-bin removes mozilla-thunderbird-bin executable and v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 100014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-23 03:34 UTC by johaBBa
Modified: 2005-07-23 13:58 UTC (History)
1 user (show)

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 johaBBa 2005-07-23 03:34:43 UTC
After updating last night, trying to start thunderbird returns:

/usr/libexec/mozilla-launcher: can't find the browser :-(

When I re-emerge mozilla-thunderbird-bin, I notice it is install into
/opt/firefox. After emerge of mozilla-thunderbird-bin is complete there is a
thunderbird executable in /opt/firefox but no firefox executable. I re-emerge
mozilla-firefox-bin and I see that it starts by deleting everything in
/opt/firefox including the thunderbird executable, then installs firefox.

*** Wouldn't it be better if mozilla-firefox-bin lived in /opt/firefox and
mozilla-thunderbird-bin lived in /opt/thunderbird??? ***

My versions of mozilla-thunderbird-bin, mozilla-firefox-bin:

# emerge -pv mozilla-thunderbird-bin mozilla-firefox-bin

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] mail-client/mozilla-thunderbird-bin-1.0.6-r1  0 kB
[ebuild   R   ] www-client/mozilla-firefox-bin-1.0.6-r1  0 kB

Total size of downloads: 0 kB

I see there is an -r2 for both mozilla-thunderbird-bin and mozilla-firefox-bin,
but the changelog doesn't seem to address this issue.

Reproducible: Always
Steps to Reproduce:
1. emerge mozilla-firefox-bin mozilla-thunderbird-bin
2. firefox executable in /opt/firefox is gone because thunderbird was emerged last
3. emerge mozilla-firefox-bin
4. /opt/firefox is deleted along with the thunderbird executable and
mozilla-firefox-bin is installed.
5. emerge mozilla-thunderbird-bin
6. /opt/firefox is deleted along with the firefox executable and
mozilla-thunderbird-bin is installed.
7. Wash. Rinse. Repeat

Actual Results:  
/opt/firefox is completely deleted along with executable from other package

Expected Results:  
1. Install mozilla-firefox-bin into /opt/firefox
2. Install mozilla-thunderbird-bin into /opt/thunderbird
3. Everyone plays nicely

 # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-ck7-r1 i686)
=================================================================
System uname: 2.6.11-ck7-r1 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4 /env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail /control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://open-systems.ufl.edu/mir
rors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://xx.xx.xx.xx/gentoo-portage" # http-replicator
USE="x86 16bit S3TC X X509 aac acl acpi activefilter aim alsa amd ansi apache2
apm artworkextra audiofile authdaemond avan tgo avi bash-completion bcmath bdf
berkdb bidi bitmap-fonts blender-game bluetooth bonobo bzip2 bzlib cap cddb
cdinstall c dparanoia cdr cdrom cgi chroot clanJavaScript clanVoice client code
crypt cups curl dvd dvdr emboss encode esd fam flac fl ash foomaticdb fortran gd
gdbm gif gpm gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jack java jpeg
jython kadu-modul es kadu-voice kakasi kerberos krb4 ladcca latex lcms leim
libclamav libdsk libg++ libgd libgda libsamplerate libwww live l ua
lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb
memlimit migemo mikmod mime mixer mjpeg mls mmap mng monkey motif mozcalendar
mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music
mysql myth tv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net
netcdf network neural nis nls nocd nowin nptl ntlm nviz  oav objc ocaml
offensive ofx ogg oggvorbis openal opengl opie oscar ospfapi oss pam
parse-clocks pcap pcntl pcre pdf pdfl ib perl pg-hier pg-intdatetime
pg-vacuumdelay php physfs pic plotutils png portaudio posix postgresql povray
ppds pri prin t procmail pthreads python qt quicktime quotas quotes readline
real resperl rhino rogue rplay samba sasl sdl servlet-2.3 s ervlet-2.4 session
sftplogging shared sharedmem silc simplexml skk slang slp smime sndfile snmp
snortsam sockets socks5 so ftquota sox spell spl ssl stencil-buffer stroke
struts svg svga sysvipc szip t1lib tcltk tcpd tcsim tga theora tidy tiff t
ranscode truetype truetype-fonts type1-fonts uim underscores unicode usb v4l
v4l2 vcd vda videos virus-scan vorbis wddx wi nbind wmf wxwindows xanim xatrix
xchattext xemacs xface xgetdefault xine xml xml2 xmlrpc xmms xosd xpm xprint
xrandr xscre ensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-23 04:41:08 UTC
*** Bug 100014 has been marked as a duplicate of this bug. ***
Comment 2 Eduardo Romero 2005-07-23 12:46:03 UTC
I think this is the same as bug 100048

As you point out, they're overwriting each other, there's a typo on the
mozilla-thunderbird-1.0.6-r1 ebuild wich makes it install on /opt/firefox
instead of /opt/thunderbird

edit the ebuild and change  (it appears twice)
  declare MOZILLA_FIVE_HOME=/opt/firefox
to
  declare MOZILLA_FIVE_HOME=/opt/thunderbird

unemerge, re emerge and everything works =)

Please check 100048 for the actual files 

Hope this helps, (also hope i'm not wrong =)
Comment 3 Jory A. Pratt 2005-07-23 13:17:18 UTC
fixed in tree
Comment 4 Jory A. Pratt 2005-07-23 13:18:22 UTC
blah
Comment 5 johaBBa 2005-07-23 13:56:24 UTC
Does this mean it is fixed if I emerge sync then emerge -u world or I have to
manually edit the ebuild?
Comment 6 Jory A. Pratt 2005-07-23 13:58:08 UTC
means it been added to the server they have to sync before you get a copy of the
new ebuild. You can try emerge sync and see if it is avaliable yet might be and
might not be as of yet can take anywhere from ~45 mins to ~1.5hrs on average.