Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
forced re-merge of cheese-3.6.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
renegart
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2012
Posts: 122

PostPosted: Sun Jan 27, 2013 8:53 am    Post subject: forced re-merge of cheese-3.6.2 Reply with quote

Hello,
when I run 'emerge -uDtaN @world' portage re-emerges following packages again and again:

Code:

[ebuild  rR   ~]  media-video/cheese-3.6.2
[ebuild  rR   ~]   media-libs/clutter-gst-2.0.0
[ebuild  rR   ~]   media-libs/clutter-gtk-1.4.2
[ebuild  rR   ~]    media-libs/clutter-1.12.2


Is there an option to find out, why portage wants to re-emerge this packages even it re-merged it the last run?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Jan 27, 2013 9:32 am    Post subject: Reply with quote

First, post the full output of 'emerge -uDpvN @world'.
Back to top
View user's profile Send private message
renegart
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2012
Posts: 122

PostPosted: Sun Jan 27, 2013 11:20 am    Post subject: Reply with quote

VoidMage wrote:
First, post the full output of 'emerge -uDpvN @world'.


Code:

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

Calculating dependencies... done!
[ebuild  rR   ~] media-libs/clutter-1.12.2:1.0  USE="gtk introspection -debug -doc {-test}" 0 kB
[ebuild  rR   ~] media-libs/clutter-gtk-1.4.2:1.0  USE="introspection -debug -examples" 0 kB
[ebuild  rR   ~] media-libs/clutter-gst-2.0.0:2.0  USE="introspection -debug -examples" 0 kB
[ebuild  rR   ~] media-video/cheese-3.6.2:0/7  USE="introspection -sendto {-test}" 0 kB
[ebuild  rR   ~] net-im/empathy-3.6.3  USE="geocode geoloc gnome gnome-online-accounts map spell v4l -debug -sendto {-test}" 0 kB

Total: 5 packages (5 reinstalls), Size of downloads: 0 kB
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jan 27, 2013 11:51 am    Post subject: Reply with quote

The packages need to be compiled against a new version of a library which was only updated after their last emerge.
If it really were the last packages emerged in the last run, this is a bug in portage, but probably another package was emerged after them which requires the rebuild.
Back to top
View user's profile Send private message
renegart
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2012
Posts: 122

PostPosted: Sun Jan 27, 2013 12:23 pm    Post subject: Reply with quote

It seems, there is really a problem/bug in portage.

I guess I've found the problem. I've un-installed 'media-video/cheese' to check what happens re-installing it via 'emerge -uDpvN @world'
That's the first time portage complains about insufficient dependencies.

Code:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/cogl:1.0

  (media-libs/cogl-1.10.4::gentoo, installed) pulled in by
    media-libs/cogl:1.0/9= required by (net-im/empathy-3.6.3::gentoo, installed)
    >=media-libs/cogl-1.9.6:1.0=[introspection?,pango] required by (media-libs/clutter-1.12.2::gentoo, installed)
    (and 4 more with the same problems)

  (media-libs/cogl-1.8.2::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)


Checking 'media-libs/cogl' shows, it shall be downgrade because I've removed it from 'package.keywords' by accident.
After include 'media-libs/cogl-1.12.2' in 'package.keywords' portage want to re-emerge (and update) the mentioned packages one time.

Code:

emerge -auDtNq1 cheese
[ebuild  rR   ] net-im/empathy-3.6.3
[ebuild  rR   ] x11-wm/mutter-3.6.2
[ebuild  N    ] media-video/cheese-3.6.2
[ebuild  rR   ]  media-libs/clutter-gst-2.0.0
[ebuild  rR   ]  media-libs/clutter-gtk-1.4.2
[ebuild  rR   ]   media-libs/clutter-1.12.2
[ebuild  r  U ]    media-libs/cogl-1.12.2 [1.10.4]


The next run of 'emerge -uDpvN @world' shown nothing anymore. :)

It seems portage becomes confuse, if a package shall be downgraded which would raise a 'multiple package instances' error...
Back to top
View user's profile Send private message
gubacsek
n00b
n00b


Joined: 19 Mar 2009
Posts: 13

PostPosted: Fri Feb 01, 2013 1:21 pm    Post subject: Reply with quote

MAN! thank you! upgrading cogl solved it for me too!
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Tue Feb 19, 2013 10:29 am    Post subject: Reply with quote

I had this same problem and finally decided to do something about it :) ; re-emerging cogl did not solve this. After some experimentation I found the problem to be an old library version, libcheese-gtk:
Code:
TitanGentoo2 ~ # revdep-rebuild --library /usr/lib64/libcheese.so.3
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries using /usr/lib64/libcheese.so.3
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Checking dynamic linking
[ 65% ]  *   found /usr/lib64/libcheese-gtk.so.21
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/libcheese-gtk.so.21 -> media-video/cheese
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot  --quiet-build=n --complete-graph=y --with-bdeps=y  media-video/cheese:0/7
..........
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-video/cheese-3.6.2
I first checked that no program depends on this library:
Code:
TitanGentoo2 ~ # revdep-rebuild --ignore --library /usr/lib64/libcheese-gtk.so.21
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries using /usr/lib64/libcheese-gtk.so.21
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Checking dynamic linking
[ 100% ]                 

 * There are no dynamic links to /usr/lib64/libcheese-gtk.so.21... All done.
After removing both libraries, revdep-rebuild now finally finishes without rebuilding cheese:
Code:
TitanGentoo2 ~ # rm /usr/lib64/libcheese-gtk.so.21
TitanGentoo2 ~ # rm /usr/lib64/libcheese.so.3
TitanGentoo2 ~ # revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done.
TitanGentoo2 ~ #
An interesting lesson in Portage; this however was actually the first I had to manually remove an old library, although portage does inform you always about that...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum