Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190473 - python-updater fails on non-existant versions
Summary: python-updater fails on non-existant versions
Status: VERIFIED DUPLICATE of bug 190408
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 00:07 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-08-28 08:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/emerge--info (emerge--info,4.85 KB, text/plain)
2007-08-28 00:08 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-28 00:07:53 UTC
(there may be an existing similar bug, but I did not found it).

First of all, I manually unmasked avidemux; it emerged very fine, and works well for me. It introduces subversion as a dep; here are things that come wrong today:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

root@moon_gen_2:~# python-updater
 * Starting Python Updater from 2.4 to 2.5 :
 * Searching for packages with files in /usr/lib/python2.4 /usr/lib32/python2.4 /usr/lib64/python2.4 ..
 * Adding to list: =net-dns/avahi-0.6.21
 * Adding to list: =net-zope/zopeinterface-3.0.1-r1
 * Adding to list: =media-gfx/graphviz-2.12
[...]
 * Adding to list: =media-libs/lcms-1.17
 * Adding to list: =net-analyzer/rrdtool-1.2.23-r1
 * Adding to list: =app-mobilephone/obexftp-0.21

These are the packages that would be merged, in order:

Calculating dependencies -
emerge: there are no ebuilds to satisfy "=dev-util/subversion-1.4.3-r1".

root@moon_gen_2:~# emerge -vp dev-util/subversion

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-util/subversion-1.4.4-r3 [1.4.3-r1] USE="apache2 bash-completion berkdb nls perl python -emacs -java -nowebdav -ruby" 4,613 kB

Total: 1 package (1 upgrade), Size of downloads: 4,613 kB
root@moon_gen_2:~# equery depends dev-util/subversion
[ Searching for packages depending on dev-util/subversion... ]
media-video/avidemux-2.3.0 (dev-util/subversion)
root@moon_gen_2:~# cat /var/lib/portage/world |grep avidemux
media-video/avidemux
root@moon_gen_2:~# emerge -vp media-video/avidemux

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/avidemux-2.3.0  USE="a52 aac alsa encode esd mad nls oss sdl truetype vorbis x264 xv xvid (-altivec) -arts" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
root@moon_gen_2:~# emerge -vpDu media-video/avidemux

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
root@moon_gen_2:~# emerge -DaNuv world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; would you like to auto-clean packages? [Yes/No]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
root@moon_gen_2:~# emerge -p --depclean |grep subver
root@moon_gen_2:~#

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

So, subversion has an update available, pulled in by a package that is in my world, so, why does "emerge -DaNuv world" *not* offer to update it ?

I do consider this as a bug.

Fact Avidemux have been unmasked, or may come from an alternate slot should not interfeer in this "update" process.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-28 00:08:07 UTC
Created attachment 129398 [details]
/tmp/emerge--info
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-28 06:03:17 UTC

*** This bug has been marked as a duplicate of bug 190408 ***
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-08-28 06:12:46 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 190408 ***
> 

That was not the point of the bug! That it was found via python-updater is merely incidental.

I'll state what the bug meant in a more clear fashion:

1. `equery depends` states subversion as a dependency of avidemux. This comes from the avidemux ebuild inheriting the subversion eclass
2. emerge -uDpv avidemux does not resolve subversion's update as a dependency
3. emerge --depclean does not resolve subversion as a non-required package either

Hence, either `equery depends` is broken, or `emerge -uD` is broken, or `emerge --depclean` is broken.
Personally, I'd go with `emerge -uD` being broken :)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-08-28 06:42:23 UTC
(In reply to comment #3)

No, that's not a bug at all. You need --with-bdeps=y for pure built-time deps to be upgraded. --depclean defaults to this, emerge -uD doesn't. See man emerge.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2007-08-28 08:56:39 UTC
(In reply to comment #4)
> (In reply to comment #3)

ah, you are both right; I forgot that recent change in emerge, a few months ago I think.

- my complaint was actually against -D
- --with-bdeps=y (in make.conf in my case) does fix.