Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36414 - qpkg missed a DEPEND dependancy yet emerge does not
Summary: qpkg missed a DEPEND dependancy yet emerge does not
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-24 01:30 UTC by Charles Phoenix
Modified: 2004-08-21 13:43 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 Charles Phoenix 2003-12-24 01:30:47 UTC
In this case it is the tsch dependancy for openoffice 

from openoffice-1.1.0-r2

DEPEND="${RDEPEND}
	app-shells/tcsh
	!app-office/openoffice-bin
	sys-apps/findutils
	!app-arch/star"

and as my memory serves me right tcsh is *only* used by openoffice, (I use bash so I notice it.)

even the command
bash-2.05b# qpkg -q tcsh
does not give a dependancy

I removed tcsh and 'emerge -uD world' wants to re-install it therefore emerge is picking up the dependancy.

-----
I just notice something else...

emerge -p depclean 
did not pick up the findutils dependancy either and flagged it for removal
it would be nice for the output to say it was build dependancy of openoffice
only *now* do I now where findutils came from

-----

A suggestion: new flags 
-q = queries *all* dependancies
-qr = queries runtime dependancies
-qb = queries buildtime dependancies

or 

-q = queries runtime dependancies
-qa = queries *all* dependancies
-qb = queries buildtime dependancies

this way I can know for certain where tsch and findutils come from.
Comment 1 Pekka Paalanen 2004-04-12 13:40:12 UTC
I confirm.

The ebuild for gtkdiff contains:

# $Header: /home/cvsroot/gentoo-x86/x11-misc/gtkdiff/gtkdiff-1.8.0-r2.ebuild,v 1.3 2004/03/23 13:04:29 gustavoz Exp $
<snip>
DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1
        sys-apps/diffutils"
<snap>

Yet, qpkg says:
gnome-base/gnome-libs-1.4.2 *
        GNOME Core Libraries [ http://www.gnome.org/ ]
DEPENDED ON BY:
        gtk-perl-0.7008-r11
        gdk-pixbuf-0.22.0

But no mention about gtkdiff, when I had gnome-libs and gtkdiff installed.

I have also another case, where qpkg insisted that the set of these packages which I have installed:
games-fps/doomlegacy
media-libs/libao
media-libs/libmikmod
media-libs/libsdl
media-libs/openal
media-sound/xmms
media-video/avifile
media-video/mplayer
depend on esound, but all the ebuilds have the esound dependency under the 'esd' USE-flag, which is explicitly disabled.

I ran into this problem by trying to eliminate esound, and I found that it came with gnome-libs. I unmerged all apps assumably requiring gnome-libs (as qpkg reported) and still it didn't get into the depclean unmerge list. Qpkg showed no packages depending on gnome-libs, so I had to check the 'emerge --emptytree -p world' output for packages that might depend on gnome-libs and found gtkdiff.

There was also a problem with gdk-pixbuf (the 'gnome' USE-flag, which I never had enabled), qpkg reported that sylpheed-claws and xqf depend on it even the USE-flag said no.

I have unmerged gdk-pixbuf and gnome-libs, xqf and sylpheed-claws are still installed and I'm running 'emerge -uDv world'. Gdk-pixbuf and gnome-libs are not coming back, neither is esound.

And here's the mandatory info:
Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-aa1)
=================================================================
System uname: 2.4.23-aa1 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb cdr crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 guile imap imlib ipv6 jbig jpeg libg++ libwww mad maildir mbox mikmod mmx mng motif mozilla moznoirc moznomail mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib"

app-portage/gentoolkit-0.2.0_pre8
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-08-21 13:43:50 UTC
this tool is deprecated