Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65511 - portage-2.0.50 does not block when it should
Summary: portage-2.0.50 does not block when it should
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-09-27 03:14 UTC by Wolfgang Thiess
Modified: 2004-10-22 08:47 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 Wolfgang Thiess 2004-09-27 03:14:16 UTC
In portage-2.0.51_rc6 I get Blocking errors, I do not get in portage-2.0.50.

I am absolutely not sure, but for me it looks like portage-2.0.51_rc6 isn't able to resolve the dependencies correctly. If I look in gpgme-0.9.0-r1.ebuild I find:
DEPEND=">=app-crypt/gnupg-1.2.4
 sys-apps/gawk
 sys-devel/libtool
 sys-devel/gcc
 dev-libs/libgpg-error
 !<=app-crypt/gpgme-0.3.14
 !=app-crypt/gpgme-0.3.16"
and the Blocker in the session below is:
[blocks B     ] <=app-crypt/gpgme-0.3.14 (from pkg app-crypt/gpgme-0.9.0-r1)

My /usr/portage is mounted via nfs (rw,no_root_squash,sync)

Here is the session:
asus wolle # emerge -uDvp world

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

Calculating world dependencies ...done!

[ebuild     U ] sys-apps/portage-2.0.51_rc6 [2.0.50-r11] -build -multilib -(selinux)  0 kB
*** Portage will stop merging at this point and reload itself,
    recalculate dependencies, and complete the merge.
[ebuild     U ] x11-misc/shared-mime-info-0.15 [0.14-r1]  0 kB
[ebuild     U ] dev-perl/MIME-Base64-3.05 [3.01]  0 kB
[ebuild     U ] net-wireless/wireless-tools-27_pre26-r1 [27_pre26] +nls  0 kB
[ebuild     U ] dev-perl/Test-Pod-1.20 [1.16]  0 kB
[ebuild     U ] media-libs/libfame-0.9.1 [0.9.0-r1] -debug +mmx +sse  0 kB
[ebuild     U ] media-video/transcode-0.6.12-r1 [0.6.11] +3dnow +X -(altivec) +avi -debug +encode +mpeg +oggvorbis +quicktime +sdl +sse +theora  0 kB
[ebuild  N    ] dev-libs/libcroco-0.6.0  -debug -debug  0 kB
[ebuild     UD] dev-util/valgrind-2.1.2 [2.2.0] +X -debug  0 kB
[ebuild     U ] dev-cpp/gnomemm-1.2.4 [1.2.3-r1]  0 kB

Total size of downloads: 0 kB

asus wolle # emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51_rc6 to /
>>> md5 src_uri ;-) portage-2.0.51_rc6.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51_rc6.tar.bz2 to /var/tmp/portage/portage-2.0.51_rc6/work
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t

[snip]

>>> /lib/libsandbox.so
--- /var/
--- /var/tmp/
>>> /var/tmp/.keep
 * Checking //var/lib/portage for bad/illegal files:

 * Feature additions are noted in help and make.conf descriptions.

 * Update configs using 'etc-update' please. Maintaining current configs
 * for portage and other system packages is fairly important for the
 * continued health of your system.

 * NOTICE: There have been changes in the location of some internal files
 *         to better match the FHS. The changes do not directly affect users
 *         but please be advised that changing between versions of portage
 *         with and without these changes may introduce some inconsistencies
 *         in package data regarding 'world' and 'virtuals' (provides).

 *         /var/cache/edb/world has moved to /var/lib/portage/world

 *         /var/cache/edb/virtuals has been deprecated and is now calculated
 *         on demand. Strictly _USER_ modifications to virtuals may go into
 *         /etc/portage/profile/virtuals and will not be modified by portage.

Recalculating the counter... Counter updated successfully.
 * Compiling python modules...
ccache
 * You may run 'emerge metadata' to perform cache updates if you have
 * changed versions of portage. This will provide a fairly dramatic
 * speedup. Alternatively, you may 'emerge sync' if it has been more
 * than 30 minutes since your last sync.
 * Caching service dependencies...
>>> sys-apps/portage-2.0.51_rc6 merged.

 sys-apps/portage
    selected: 2.0.50-r11
   protected: 2.0.51_rc6
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...

[snip]

--- !targe sym /usr/bin/g-cpan.pl
--- !targe sym /usr/bin/emerge
 * Caching service dependencies...
 * Caching service dependencies...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

asus wolle # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
asus wolle # emerge metadata
skipping sync

>>> Updating Portage cache... \Something strange happened to our hardlink locks.
  ...done!


asus wolle # emerge -uDvp world

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

Calculating world dependencies \QA Notice: grep in global scope: net-wireless/wireless-config-0.4.7
 ...done!
[blocks B     ] x11-themes/gtk-engines-thinice (from pkg x11-themes/gnome-themes-2.6.3)
[blocks B     ] <=app-crypt/gpgme-0.3.14 (from pkg app-crypt/gpgme-0.9.0-r1)
[blocks B     ] media-libs/tunepimp (from pkg media-sound/trm-0.2.1)
[blocks B     ] media-sound/trm (from pkg media-libs/tunepimp-0.3.0)
[blocks B     ] dev-util/calltree (from pkg dev-util/callgrind-0.9.9)
[ebuild     U ] x11-misc/shared-mime-info-0.15 [0.14-r1] 0 kB
[ebuild     U ] dev-perl/MIME-Base64-3.05 [3.01] 0 kB
[ebuild     U ] net-wireless/wireless-tools-27_pre26-r1 [27_pre26] +nls 0 kB
[ebuild     U ] dev-perl/Test-Pod-1.20 [1.16] 0 kB
[ebuild     U ] media-libs/libfame-0.9.1 [0.9.0-r1] -debug +mmx +sse 0 kB
[ebuild     U ] media-video/transcode-0.6.12-r1 [0.6.11] +3dnow +X (-altivec) +avi -debug +encode +mpeg +oggvorbis +quicktime +sdl +sse +theora 0 kB
[ebuild  N    ] dev-libs/libcroco-0.6.0  -debug 0 kB
[ebuild     UD] dev-util/valgrind-2.1.2 [2.2.0] +X -debug 0 kB
[ebuild     U ] dev-cpp/gnomemm-1.2.4 [1.2.3-r1] 0 kB

Total size of downloads: 0 kB

asus wolle # emerge info
Portage 2.0.51_rc6 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 mobile AMD Athlon(tm) XP-M 2600+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.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://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dba dvd encode esd flac foomaticdb gd gd-external gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imlib java jpeg kde libg++ libwww mad mikmod mmap mmxmotif mozilla mpeg mysql nagios-ping ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang speex spell sse ssl svga tcc tcpd theora tiff truetype wmf x86 xinerama xml2 xmms xprint xv zlib"
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-09-27 06:45:30 UTC
Please provide the output of:
emerge -Cp x11-themes/gtk-engines-thinice '<=app-crypt/gpgme-0.3.14' media-libs/tunepimp media-sound/trm dev-util/calltree

For each package that a version shows up, the blocker is correct. Dependency checking is slightly more strict (read: accurate) in 2.0.51. What you are seeing is evidence of that.
Comment 2 Wolfgang Thiess 2004-09-27 06:56:05 UTC
asus wolle # emerge -Cp x11-themes/gtk-engines-thinice '<=app-crypt/gpgme-0.3' media-libs/tunepimp media-sound/trm dev-util/calltree

>>> These are the packages that I would unmerge:

 dev-util/calltree
    selected: 0.9.7-r1
   protected: none
     omitted: none

 x11-themes/gtk-engines-thinice
    selected: 2.0.2-r1
   protected: none
     omitted: none

 app-crypt/gpgme
    selected: 0.3.14
   protected: none
     omitted: 0.9.0-r1 0.3.14-r1 0.4.7

 media-libs/tunepimp
    selected: 0.3.0
   protected: none
     omitted: none

 media-sound/trm
    selected: 0.2.1
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2004-09-27 07:40:22 UTC
All those packages conflict with others as stated by portage-2.0.51. It is probably safe to unmerge them all. There are none there that are critical to portage so, should they be needed by something else, an emerge -uD world after unmerging them will tell you so.
Comment 4 Wolfgang Thiess 2004-09-27 07:54:10 UTC
Seems to be OK now. Thanks for your help, Jason. I really thought it was an error in portage.

I think, this bug can be closed.

asus wolle # emerge -C x11-themes/gtk-engines-thinice '<=app-crypt/gpgme-0.3.14' media-libs/tunepimp media-sound/trm dev-util/calltree

 dev-util/calltree
    selected: 0.9.7-r1

[snip]

 * Caching service dependencies...

 * Regenerating GNU info directory index...
 * Processed 159 info files.

asus wolle # emerge -uDvp world

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

Calculating world dependencies ...done!
[ebuild     U ] x11-misc/shared-mime-info-0.15 [0.14-r1] 0 kB
[ebuild     U ] dev-perl/MIME-Base64-3.05 [3.01] 0 kB
[ebuild     U ] net-wireless/wireless-tools-27_pre26-r1 [27_pre26] +nls 0 kB
[ebuild     U ] dev-perl/Test-Pod-1.20 [1.16] 0 kB
[ebuild     U ] media-libs/libfame-0.9.1 [0.9.0-r1] -debug +mmx +sse 0 kB
[ebuild     U ] media-video/transcode-0.6.12-r1 [0.6.11] +3dnow +X (-altivec) +avi -debug +encode +mpeg +oggvorbis +quicktime +sdl +sse +theora 0 kB
[ebuild  N    ] media-libs/tunepimp-0.3.0  +flac +mad +oggvorbis +readline 0kB
[ebuild  N    ] dev-libs/libcroco-0.6.0  -debug 0 kB
[ebuild     U ] dev-cpp/gnomemm-1.2.4 [1.2.3-r1] 0 kB

Total size of downloads: 0 kB
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:29 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2