Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102958 - cfg-update: dependencies changing (xxdiff)
Summary: cfg-update: dependencies changing (xxdiff)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 04:04 UTC by Wernfried Haas (RETIRED)
Modified: 2005-08-18 04:22 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 Wernfried Haas (RETIRED) gentoo-dev 2005-08-18 04:04:30 UTC
I installed cfg-updated (added it to package.keywords) on Box A, the
dependencies were:
[ebuild  N    ] dev-util/tmake-1.8-r1  46 kB
[ebuild  N    ] dev-util/xxdiff-3.0.2-r1  +kde 1,039 kB
[ebuild  N    ] kde-misc/kdiff3-0.9.88  -arts -debug -kdeenablefinal -xinerama
1,574 kB
[ebuild  N    ] app-portage/cfg-update-1.7.1  -gnome +kde 20 kB

when i installed it on box B (-gnome, +kde as well), only kdiff was pulled as
dependency. i assumed xxdiff was already installed, but it wasn't, which
resulted in complaints from cfg-update:
# cfg-update -u
/usr/bin/xxdiff not found - let's try /usr/bin/meld...
/usr/bin/meld not found - let's try /usr/bin/gtkdiff...


I went back to box A and did emerge -aC tmake xxdiff kdiff3 cfg-update
When i tried emerge -avt cfg-update it only showed 2 deps as well:
[ebuild  N    ] app-portage/cfg-update-1.7.1  -gnome +kde 20 kB 
[ebuild  N    ]  kde-misc/kdiff3-0.9.88  -arts -debug -kdeenablefinal -xinerama
1,574 kB 
The same system had installed 4 packages just before.

I know this sounds really weird, so here's box C.
USE="-gnome kde" emerge -av app-portage/cfg-update
[ebuild  N    ] kde-misc/kdiff3-0.9.88  -arts -debug -kdeenablefinal -xinerama
1,574 kB 
[ebuild  N    ] app-portage/cfg-update-1.7.1  -gnome +kde 20 kB 

xxdiff is not installed here and not pulled as dependency.

Let's take a look at box D (which is a server and usually has -X -kde -gnome,
hence the lot of deps):
USE="-gnome kde" emerge -pvt cfg-update
[ebuild  N    ] app-portage/cfg-update-1.7.1  -gnome +kde 20 kB 
[ebuild  N    ]  x11-misc/sux-1.0-r2  9 kB 
[ebuild  N    ]  kde-misc/kdiff3-0.9.88  -arts -debug -kdeenablefinal -xinerama
1,574 kB 
[ebuild  N    ]  dev-util/xxdiff-3.0.2-r1  +kde 1,039 kB 
[ebuild  N    ]   dev-util/tmake-1.8-r1  46 kB 
[ebuild  N    ]   kde-base/kdelibs-3.4.1-r1  +alsa -arts -cups -debug -doc
-jpeg2k -kdeenablefinal -kerberos -openexr +spell +ssl -tiff -xinerama -zeroconf
16,458 kB 
[ebuild  N    ]    media-libs/libart_lgpl-2.3.17  -debug 282 kB 
[ebuild  N    ]    kde-base/kde-env-3-r3  0 kB 
[ebuild  N    ]    dev-libs/libxslt-1.1.14-r2  +crypt -debug +python -static
1,776 kB 
[ebuild  N    ]     dev-libs/libgcrypt-1.2.1  +nls 938 kB 
[ebuild  N    ]      dev-libs/libgpg-error-1.0-r1  +nls 316 kB 
[ebuild  N    ]    app-text/aspell-0.50.5-r4  +gpm 992 kB 
[ebuild  N    ]    app-admin/fam-2.7.0-r2  294 kB 
[ebuild  N    ]     net-nds/portmap-5b-r9  (-selinux) +tcpd 18 kB 
[ebuild  N    ]    net-dns/libidn-0.5.15  -doc +emacs -java +nls 1,925 kB 
[ebuild  N    ]    app-text/ghostscript-7.07.1-r8  -X -cjk -cups +emacs -gtk
5,273 kB 
[ebuild  N    ]     media-fonts/gnu-gs-fonts-std-8.11  3,664 kB 
[ebuild  N    ]    x11-libs/qt-3.3.4-r3  -cups -debug -doc -examples -firebird
-gif -immqt -immqt-bc +ipv6 -mysql -nas -odbc -opengl -postgres -sqlite
-xinerama +zlib 14,101 kB 
[ebuild  N    ]     media-libs/libmng-1.0.8-r1  497 kB 
[ebuild  N    ]      media-libs/lcms-1.13-r1  -jpeg +python -tiff +zlib 572 kB 
[ebuild  N    ]      media-libs/jpeg-6b-r4  598 kB 
[ebuild  N    ] x11-terms/xterm-200-r3  -Xaw3d -toolbar -truetype -unicode 681 kB 
[ebuild  N    ]  sys-apps/utempter-0.5.5.6  20 kB 
[ebuild  N    ]     x11-base/xorg-x11-6.8.2-r2  -3dfx +3dnow +bitmap-fonts -cjk
-debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal +mmx
+nls -nocxx -opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts
(-uclibc) -xprint -xv 45,108 kB 
[ebuild  N    ]      media-libs/fontconfig-2.2.3  732 kB 
[ebuild  N    ]      x11-misc/ttmkfdir-3.0.9-r3  19 kB 
[ebuild  N    ]      media-libs/freetype-2.1.9-r1  -bindist -doc +zlib 969 kB 
[ebuild  N    ]      media-libs/libpng-1.2.8  -doc 375 kB 

Tbh, i have no idea what's going on here.

Reproducible: Always
Steps to Reproduce:




emerge info from box A:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
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=pentium3 -O3 -pipe -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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.75/gentoo-portage"
USE="x86 X aalib alsa apm atm avi berkdb bitmap-fonts cdparanoia cdr crypt cups
curl divx4linux dvd eds emacs emboss encode esd ethereal fam fbcon flac
foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 icq imagemagick imap imlib
ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses
nls nptl offensive ogg oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline real ruby samba sdl slang smtp spell sse sse2 ssl tcpd tiff
truetype truetype-fonts type1-fonts vorbis xinetd xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Wernfried Haas (RETIRED) gentoo-dev 2005-08-18 04:22:50 UTC
Just found out it was intended behaviour as the ebuild was changed to not pull
xxdiff if kdiff is installed. The different dependencies happened because box A
was synced after the first merge.
Setting invalid as the ebuild does what it should.