Re: [gentoo-user] depclean screw up

2006-07-31 Thread Neil Bothwick
On Sat, 29 Jul 2006 19:29:06 -0700, Vladimir G. Ivanovic wrote:

 If you run 
 
 emerge -av --noreplace
 
 on all the packages that
 
 emerge -av --depclean
 
 wants to clean, then depclean will no longer complain.

This is equivalent to fixing low oil pressure in your car by
disconnecting the oil warning light.


-- 
Neil Bothwick

Marriage is a relationship in which one person
is always right and the other is a husband


signature.asc
Description: PGP signature


Re: [gentoo-user] depclean screw up

2006-07-30 Thread Mike Williams
On Sunday 30 July 2006 03:27, Richard Fish wrote:
 But depclean wants to remove gnome-libs also, so this doesn't count...

Yep, bad example. I've got rid of both gnome-libs and imlib.

  That one I saw, and it did add to the confusion.
  libsoup does depend on gnutls, and gtkhtml depends on libsoup, and dvdrip
  depends on a version of gtkhtml that depends on libsoup, and dvdrip is in
  my world file.

 Well, yes, this would be a problem.  Try an emerge --metadata to
 regenerate the portage cache.  This may help.  Otherwise, please post
 your emerge --info.

Already tried removing the entire cache, and re-syncing (from a different 
mirror than I normally use).

minimac ~ # emerge world -DNupvt

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

Calculating world dependencies... done!

Total size of downloads: 0 kB
minimac ~ # emerge --depclean
[...]
 These are the packages that would be unmerged:

 dev-libs/libtasn1
selected: 0.2.18
   protected: none
 omitted: none

 gnome-base/gail
selected: 1.8.11
   protected: none
 omitted: none

 net-libs/libsoup
selected: 2.2.94
   protected: none
 omitted: none

 net-libs/gnutls
selected: 1.2.10
   protected: none
 omitted: none

 app-crypt/opencdk
selected: 0.5.5
   protected: none
 omitted: none

 dev-libs/lzo
selected: 1.08-r1
   protected: none
 omitted: none
[...]
minimac ~ # revdep-rebuild -- -p -v -t
[...]
Checking dynamic linking consistency...
  broken /usr/lib/libgtkhtml-3.8.so.15.3.9 (requires  libgailutil.so.17)
  broken /usr/lib/gtkhtml/libgnome-gtkhtml-editor-3.8.la 
(requires /usr/lib/libgailutil.la)
  broken /usr/lib/libgtkhtml-3.8.la (requires /usr/lib/libgailutil.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)
[...]
All prepared. Starting rebuild...
emerge --oneshot -p -v -t =gnome-extra/gtkhtml-3.10.2

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

Calculating dependencies... done!
[ebuild   R   ] gnome-extra/gtkhtml-3.10.2  USE=-debug 0 kB
[ebuild  N]  gnome-base/gail-1.8.11  USE=-debug -doc 0 kB
[ebuild  N]  net-libs/libsoup-2.2.94  USE=ssl -debug -doc -static 0 kB
[ebuild  N]   net-libs/gnutls-1.2.10  USE=crypt zlib -doc 0 kB
[ebuild  N]dev-libs/libtasn1-0.2.18  USE=-doc 0 kB
[ebuild  N]dev-libs/lzo-1.08-r1  0 kB
[ebuild  N]app-crypt/opencdk-0.5.5  USE=-doc 0 kB
[...]
minimac ~ # emerge world -DNupvt

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

Calculating world dependencies... done!
[nomerge  ] media-video/dvdrip-0.97.10  USE=cdr gnome mplayer ogg perl 
subtitles xvid -minimal
[nomerge  ]  gnome-extra/gtkhtml-3.10.2  USE=-debug
[ebuild  N]   net-libs/libsoup-2.2.94  USE=ssl -debug -doc -static 0 kB
[ebuild  N]net-libs/gnutls-1.2.10  USE=crypt zlib -doc 0 kB
[ebuild  N] app-crypt/opencdk-0.5.5  USE=-doc 0 kB
[ebuild  N] dev-libs/libtasn1-0.2.18  USE=-doc 0 kB
[ebuild  N] dev-libs/lzo-1.08-r1  0 kB
[ebuild  N]   gnome-base/gail-1.8.11  USE=-debug -doc 0 kB

Total size of downloads: 0 kB

gtkhtml-3.10.2 needs =gnome-base/gail-1.1, and =net-libs/libsoup-2.1.6 to 
run and compile (RDEPEND and DEPEND). libsoup-2.2.94 with USE=ssl needs 
=net-libs/gnutls-1 to run and compile. Finally gnutls-1.2.10 needs those 3 
to run and compile.
After merging gtkhtml-3.10.2, and it's dependencies, and it's dependencies 
dependencies (as above), depclean wants to remove them again!

minimac ~ # emerge --depclean -p
[...]
 dev-libs/libtasn1
selected: 0.2.18
   protected: none
 omitted: none

 gnome-base/gail
selected: 1.8.11
   protected: none
 omitted: none

 net-libs/libsoup
selected: 2.2.94
   protected: none
 omitted: none

 net-libs/gnutls
selected: 1.2.10
   protected: none
 omitted: none

 app-crypt/opencdk
selected: 0.5.5
   protected: none
 omitted: none

 dev-libs/lzo
selected: 1.08-r1
   protected: none
 omitted: none
[...]

I'm all but convinced this is a bug.
Anyone see a failure in my logic?

minimac ~ # emerge --info
Portage 2.1-r1 (default-linux/ppc/2005.1/ppc/G4, gcc-4.1.1, glibc-2.4-r3, 
2.6.14-gentoo ppc)
=
System uname: 2.6.14-gentoo ppc 7447A, altivec supported
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
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.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS=ppc
AUTOCLEAN=yes
CBUILD=powerpc-unknown-linux-gnu
CFLAGS=-O2 -pipe -mcpu=G4 -fno-strict-aliasing -maltivec -mabi=altivec
CHOST=powerpc-unknown-linux-gnu
CONFIG_PROTECT=/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env 

Re: [gentoo-user] depclean screw up

2006-07-30 Thread Mike Williams
On Sunday 30 July 2006 22:57, Richard Fish wrote:
 Well I don't see anything obviously wrong.  I would probably take a
 look at the output of
 emerge --debug --depclean --pretend world, and look for
 net-libs/libsoup or gnome-base/gail.  Both of them should appear as
 dependancies of something.  At the very least, they should appear
 under gtkhtml.  You might save that output (it will be large!), to
 attach to the bug report if requested.

Ha! Got it!
Searching over that output, that I had never really thought about before, I 
found the answer.
gimp depends on gtkhtml-2*, which at it's highest stable release (2.6.3) 
depends on gail if USE=accessibility.
dvdrip depends on gtkhtml, which at it's highest stable release (3.10.2) 
unconditionally depends on gail.
I had both gtkhtml (3.10.2) and gtkhtml-2* (2.6.3) installed.

media-gfx/gimp-2.2.12 comes before media-video/dvdrip-0.97.10, gimps gtkhtml 
depstring became a candidate, so dvdrips dependency was being ignored!
Removing both versions of gtkhtml, and merging gimp then dvdrip separately has 
apparently sorted it.
depclean has removed gail, libsoup, and their dependencies, and my dynamic 
linking remains consistant.

Thanks

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] depclean screw up

2006-07-30 Thread Richard Fish

On 7/30/06, Mike Williams [EMAIL PROTECTED] wrote:

Ha! Got it!


Yep, that is definitely wacky.  I would suggest to re-open this bug
and add your results to it:

http://bugs.gentoo.org/show_bug.cgi?id=67179

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] depclean screw up

2006-07-29 Thread Mike Williams
Hi,

Check out this wackiness from depclean.
This has had me stumped all day, no matter how many merges, depcleans, 
revdep-rebuilds I try.

It's long...

But, basically, depclean wants to remove packages that equery says have direct 
dependencies.
If I merge all the packages that directly depend on the packages depclean 
wants to unmerge, depclean still wants to remove them!
If I let depclean remove the packages, then run revdep-rebuild, the packages 
it finds broken pull in all the packages depclean removed!

Help, anyone?

minimac ~ # emerge --depclean -p
[...]
 These are the packages that would be unmerged:

 dev-libs/libtasn1
selected: 0.2.18
   protected: none
 omitted: none

 gnome-base/gnome-libs
selected: 1.4.2
   protected: none
 omitted: none

 dev-libs/libxml
selected: 1.8.17-r2
   protected: none
 omitted: none

 media-libs/imlib
selected: 1.9.14-r3
   protected: none
 omitted: none

 net-libs/libsoup
selected: 2.2.94
   protected: none
 omitted: none

 net-libs/gnutls
selected: 1.2.10
   protected: none
 omitted: none

 app-crypt/opencdk
selected: 0.5.5
   protected: none
 omitted: none

 dev-libs/lzo
selected: 1.08-r1
   protected: none
 omitted: none

 gnome-base/gail
selected: 1.8.11
   protected: none
 omitted: none

[...]
minimac ~ # for p in $(emerge --depclean -p | grep -v WARNING | grep / | 
awk '{print $1}')
 do
 equery depends ${p}
 done
[ Searching for packages depending on dev-libs/libtasn1... ]
net-libs/gnutls-1.2.10
[ Searching for packages depending on gnome-base/gnome-libs... ]
gnome-base/libglade-0.17-r6
[ Searching for packages depending on dev-libs/libxml... ]
gnome-base/libglade-0.17-r6
[ Searching for packages depending on media-libs/imlib... ]
gnome-base/gnome-libs-1.4.2
kde-base/kdegraphics-3.5.2
[ Searching for packages depending on net-libs/libsoup... ]
gnome-extra/gtkhtml-3.10.2
[ Searching for packages depending on net-libs/gnutls... ]
net-libs/libsoup-2.2.94
gnome-base/gnome-vfs-2.14.2
net-misc/neon-0.26.1
net-misc/curl-7.15.1-r1
net-print/cups-1.1.23-r8
[ Searching for packages depending on app-crypt/opencdk... ]
net-libs/gnutls-1.2.10
[ Searching for packages depending on dev-libs/lzo... ]
media-video/transcode-1.0.2-r2
[ Searching for packages depending on gnome-base/gail... ]
gnome-extra/gtkhtml-2.6.3
gnome-extra/gtkhtml-3.10.2
minimac ~ # emerge --oneshot $(for p in $(emerge --depclean -p | 
grep -v WARNING | grep / | awk '{print $1}'); do equery depends ${p}; 
done | grep -v Searching | sed -re's/^(.*)/=\1/') -pv

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

Calculating dependencies... done!
[ebuild   R   ] net-libs/gnutls-1.2.10  USE=crypt zlib -doc 0 kB
[ebuild   R   ] gnome-base/libglade-0.17-r6  USE=X nls -bonobo 0 kB
[ebuild   R   ] gnome-base/gnome-libs-1.4.2  USE=kde nls -doc -esd 0 kB
[ebuild   R   ] kde-base/kdegraphics-3.5.2  USE=arts gphoto2 kdeenablefinal 
kdehiddenvisibility opengl pdf 
scanner -debug -imlib -openexr -povray -tetex -xinerama 0 kB
[ebuild   R   ] gnome-extra/gtkhtml-3.10.2  USE=-debug 0 kB
[ebuild   R   ] net-libs/libsoup-2.2.94  USE=ssl -debug -doc -static 0 kB
[ebuild   R   ] gnome-base/gnome-vfs-2.14.2  USE=hal ipv6 samba 
ssl -avahi -debug -doc -gnutls 0 kB
[ebuild   R   ] net-misc/neon-0.26.1  USE=nls ssl 
zlib -expat -gnutls -socks5 -static 0 kB
[ebuild   R   ] net-misc/curl-7.15.1-r1  USE=idn ipv6 
ssl -ares -gnutls -kerberos -krb4 -ldap -test 0 kB
[ebuild   R   ] net-print/cups-1.1.23-r8  USE=nls pam samba slp ssl -gnutls 
0 kB
[ebuild   R   ] media-video/transcode-1.0.2-r2  USE=X a52 altivec dv dvdread 
gtk imagemagick jpeg mp3 mpeg network ogg quicktime sdl theora truetype v4l2 
vorbis xml xvid -extrafilters -fame -lzo -mjpeg 0 kB
[ebuild   R   ] gnome-extra/gtkhtml-2.6.3  USE=-accessibility -debug 0 kB

Total size of downloads: 0 kB
minimac ~ # emerge --oneshot $(for p in $(emerge --depclean -p | 
grep -v WARNING | grep / | awk '{print $1}'); do equery depends ${p}; 
done | grep -v Searching | sed -re's/^(.*)/=\1/')
[...]

minimac ~ # emerge --depclean -p
[...]
 These are the packages that would be unmerged:

 dev-libs/libtasn1
selected: 0.2.18
   protected: none
 omitted: none

 gnome-base/gnome-libs
selected: 1.4.2
   protected: none
 omitted: none

 dev-libs/libxml
selected: 1.8.17-r2
   protected: none
 omitted: none

 media-libs/imlib
selected: 1.9.14-r3
   protected: none
 omitted: none

 net-libs/libsoup
selected: 2.2.94
   protected: none
 omitted: none

 net-libs/gnutls
selected: 1.2.10
   protected: none
 omitted: none

 app-crypt/opencdk
selected: 0.5.5
   protected: none
 omitted: none

 dev-libs/lzo
selected: 1.08-r1
   protected: none
 omitted: none

 gnome-base/gail
selected: 1.8.11
   protected: none
 omitted: none


-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] depclean screw up

2006-07-29 Thread Richard Fish

On 7/29/06, Mike Williams [EMAIL PROTECTED] wrote:

Hi,

Check out this wackiness from depclean.
This has had me stumped all day, no matter how many merges, depcleans,
revdep-rebuilds I try.

It's long...

But, basically, depclean wants to remove packages that equery says have direct
dependencies.


equery depends is unfortunately broken.  It does not consider use flag
dependancies.

Examples from your list:
- kdegraphics only depends on imlib if you have the imlib USE flag
set, which you do not.
- cups only depends on gnutls if you have the gnutls USE flag set,
which you do not.

If emerge -DNuvp does not want to merge anything, then the depclean
list is the list of packages that are not listed in
/var/lib/portage/world or system, and are also not a dependancy of
something in world or system.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] depclean screw up

2006-07-29 Thread Mike Williams
On Sunday 30 July 2006 01:05, Richard Fish wrote:
  But, basically, depclean wants to remove packages that equery says have
  direct dependencies.

 equery depends is unfortunately broken.  It does not consider use flag
 dependancies.

Ahh, now that I didn't know.

 Examples from your list:
 - kdegraphics only depends on imlib if you have the imlib USE flag
 set, which you do not.

gnome-libs does directly depend on imlib though.

 - cups only depends on gnutls if you have the gnutls USE flag set,
 which you do not.

That one I saw, and it did add to the confusion.
libsoup does depend on gnutls, and gtkhtml depends on libsoup, and dvdrip 
depends on a version of gtkhtml that depends on libsoup, and dvdrip is in my 
world file.

minimac ~ # emerge --unmerge gnutls
[...]
minimac ~ # emerge curl net-libs/libsoup gnome-base/gnome-vfs net-misc/neon 
net-misc/curl net-print/cups -pvt

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

Calculating dependencies... done!
[ebuild   R   ] net-print/cups-1.1.23-r8  USE=nls pam samba slp ssl -gnutls 
0 kB
[ebuild   R   ] net-misc/neon-0.26.1  USE=nls ssl 
zlib -expat -gnutls -socks5 -static 0 kB
[ebuild   R   ] gnome-base/gnome-vfs-2.14.2  USE=hal ipv6 samba 
ssl -avahi -debug -doc -gnutls 0 kB
[ebuild   R   ] net-libs/libsoup-2.2.94  USE=ssl -debug -doc -static 0 kB
[ebuild  N]  net-libs/gnutls-1.2.10  USE=crypt zlib -doc 0 kB
[ebuild   R   ] net-misc/curl-7.15.1-r1  USE=idn ipv6 
ssl -ares -gnutls -kerberos -krb4 -ldap -test 0 kB

Total size of downloads: 0 kB
minimac ~ # emerge world -Dnupv

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

Calculating world dependencies... done!
[ebuild  N] net-libs/gnutls-1.2.10  USE=crypt zlib -doc 0 kB

Total size of downloads: 0 kB
minimac ~ # emerge world -Dnupvt

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

Calculating world dependencies... done!
[nomerge  ] media-video/dvdrip-0.97.10  USE=cdr gnome mplayer ogg perl 
subtitles xvid -minimal
[nomerge  ]  gnome-extra/gtkhtml-3.10.2  USE=-debug
[nomerge  ]   net-libs/libsoup-2.2.94  USE=ssl -debug -doc -static
[ebuild  N]net-libs/gnutls-1.2.10  USE=crypt zlib -doc 0 kB

Total size of downloads: 0 kB

 If emerge -DNuvp does not want to merge anything, then the depclean
 list is the list of packages that are not listed in
 /var/lib/portage/world or system, and are also not a dependancy of
 something in world or system.

Been there so many times.
I've worked my own way over the dependencies of these packages, and they 
aren't in world or system, but *are* dependencies of installed world listed 
packages.

Ta

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] depclean screw up

2006-07-29 Thread Richard Fish

On 7/29/06, Mike Williams [EMAIL PROTECTED] wrote:

gnome-libs does directly depend on imlib though.


But depclean wants to remove gnome-libs also, so this doesn't count...


That one I saw, and it did add to the confusion.
libsoup does depend on gnutls, and gtkhtml depends on libsoup, and dvdrip
depends on a version of gtkhtml that depends on libsoup, and dvdrip is in my
world file.


Well, yes, this would be a problem.  Try an emerge --metadata to
regenerate the portage cache.  This may help.  Otherwise, please post
your emerge --info.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] depclean screw up

2006-07-29 Thread Vladimir G. Ivanovic
If you run 

emerge -av --noreplace

on all the packages that

emerge -av --depclean

wants to clean, then depclean will no longer complain.

--- Vladimir

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list