Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98246 - mozilla-thunderbird-1.0.2-r1 can link against libgnome-2.so.0 but doesn't depend on it
Summary: mozilla-thunderbird-1.0.2-r1 can link against libgnome-2.so.0 but doesn't dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 10:29 UTC by Petteri Räty (RETIRED)
Modified: 2006-04-25 16:24 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 Petteri Räty (RETIRED) gentoo-dev 2005-07-07 10:29:44 UTC
from revdep-rebuild:
broken /usr/lib/MozillaThunderbird/components/libmozgnome.so (requires  libgnome-2.so.0)

Reproducible: Always
Steps to Reproduce:
1.USE="gnome" equery depgraph mozilla-thunderbird | grep libgnome

Actual Results:  
mozilla-thunderbird doesn't depend on libgnome

Expected Results:  
mozilla-thunderbird should depend on libgnome so that emerge -pv depclean doesn't remove it and break libmozgnome.so

pena asm # emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/init.d /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoconfig ccache cvs distlocks fixpackages noauto sandbox sfperms strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
PKGDIR="/home/pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/betelgeuse
/usr/local/overlays/gentoo-java-experimental /usr/local/overlays/gentopia"
SYNC="rsync://aria/portage"
USE="x86 X aac acl acpi alsa apm audiofile avi bash-completion berkdb
bitmap-fonts bzip2 bzlib cdb cddb cdparanoia cdr crypt cups curl divx4linux dts
dvd dvdr dvdread emboss encode esd fam flac foomaticdb freetype gcj gif gnome
gstreamer gtk gtk2 hal imagemagick jack java jpeg kde kdeenablefinal kdexdeltas
libg++ libwww logitech-mouse lzo mad makecheck mikmod mjpeg mmx mmx2 mozilla mp3
mpeg ncurses network nptl nptlonly nvidia offensive ogg oggvorbis opengl pam
pdflib png python qt quicktime readline real rtc ruby samba slp spell sse sse2
ssl subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode
usb userlocales vorbis win32codecs xine xml xml2 xv xvid zlib video_cards_nvidia
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jory A. Pratt 2005-07-19 09:43:13 UTC
unable to reproduce with mozilla-thunderbird-1.0.5 it is reshows please reopen
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-07-19 11:07:19 UTC
Still broken:

pena components # pwd
/usr/lib/thunderbird/components
pena components # ldd libmozgnome.so | grep "not found"
        libgnome-2.so.0 => not found

To reproduce
1. emerge -1 libgnome
2. USE="gnome" emerge mozilla-thunderbird 
3. emerge -C libgnome
4. ldd /usr/lib/thunderbird/components/libmozgnome.so | grep "not found"
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-07-19 11:11:48 UTC
If it wasn't clear:
emerge -pv depclean | grep libgnome
libgnome is in the list of packages to be removed
Comment 4 Jory A. Pratt 2005-07-19 11:21:08 UTC
Your wanting me to manually remove a package just to prove it breaks of course
... but revdep-rebuild does not ask to remove it at all. Unless you can come up
with a better way to reproduce it we can not correct it ... seems to me like you
have changed use flags which is the problem most likely ... also emerge depclean
clearly states it could break your system please run emerge -pu world --newuse
before running it ... also you should verify everything as it states. 
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2005-07-19 11:54:47 UTC
Jory, this bug makes sense.  Looking in /usr/lib/MozillaThunderbird/components:

$ ldd libmozgnome.so | grep libgnome
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb7cb3000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0xb7c66000)

however the ebuild doesn't call out a dependency on gnome.  This is something we
should fix.  First to investigate what libmozgnome.so does for us, whether it
can/should be disabled depending on USE=gnome, etc.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2005-07-22 02:03:46 UTC
I just tested with the latest mozilla-thunderbird-1.0.6-r2 with the gnome USE
flag turned off. It seems that the USE flag doesn't control the gnome
integration because it installed it because I had libgnome and for example
gnome-vfs on my system. 

betelgeuse@pena /usr/lib/mozilla-thunderbird/components $ ldd libmozgnome.so |
grep libgnome
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb7cbb000)
        libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0xb7c6d000)

Now for the first in Gentoo when I started Thunderbird it asked me if I wanted
to use Thunderbird as the default mail application. 
Comment 7 Jory A. Pratt 2005-11-14 14:57:52 UTC
I have added it as a dep in 1.5 if use=gnome other then that really gonna be
hard to do much of anything with it. We will close soon as 1.5 final goes to
arch testing.
Comment 8 Jory A. Pratt 2006-04-25 16:24:59 UTC
fixed in 1.5.x branch