Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage infinite loop(solved)
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
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Tue Nov 29, 2005 8:04 pm    Post subject: Portage infinite loop(solved) Reply with quote

I am stuck in an infinite loop of broken lib dependencies and failing ebuilds.

Almost every time something new has errors, this time it is gnome-games. But more than once a revdep-rebuild has installed cairo 0.2 only to produce a block for the required cairo 1.0.2. I clear that up only to get stuck, find the recomendation that I need to run rev-dep rebuild which fails and has to be tweaked to get thru then back to the same blocking again.

What am I missing?

This machine has been gentoo for years and recently suffered from a "full root directory during an ebuild" crash that required pulling the plug.
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone


Last edited by jshanab on Fri Dec 02, 2005 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Nov 29, 2005 8:08 pm    Post subject: Reply with quote

Have you tried unmerging cairo, then running revdep-rebuild?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Tue Nov 29, 2005 8:41 pm    Post subject: yes Reply with quote

That is how I know I am in the loop. :-)
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Thu Dec 01, 2005 11:47 pm    Post subject: still can't find solution Reply with quote

Cairo is the problem. Emerge -uDav world wants to downgrade which causes an immediate problem with gtk-2.8.1
If I unmerge cairo and re-merge it seperately it goes to cairo 1.0.2 as expected by ~x86
changing this to x86 bombs out emerge with pango and gtk2 needing it

I have serched and tried a couple of things including emerge -pUv package for each package in the list and I can't find one package calling for the downgrade. tried -uDNpvt and -tuD options also.

I am at a standstill untill i can figure out what is causing emerge -uDav world to want to downgrade cairo.

I am gonna do each one manually in the order suggested, maybe that will reveal something. :-(
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Dec 02, 2005 3:01 am    Post subject: Reply with quote

Does the problem occur with just "emerge -pvt world", "emerge -puvt world", or "emerge -puDvt world"? Or all? If it doesn't occur with one of those commands, post the output from it, plus the output of the first command that it does happen with.

All versions of cairo in portage (as of my sync earlier today) have SLOT=0, so unless that is a mistake, something else is depending on a specific version/range of versions. Cairo itself is probably not the issue. Such is the danger of running ~arch.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Fri Dec 02, 2005 3:25 am    Post subject: Reply with quote

~arch use to be so good. Now, I am affraid that portage has grown so much that it means the whole gambit from alpha to beta, I am sure it is getting imposible to regression test against such a moving target. I converted all my systems to arch but that was unusable without adding a lot to package.keywords. Especially when most the time the bug fixes are in the ~branch and fixes never make it into the stable. A pure "stable" system is getting impossible because adding one thing that has gone from ~ to stable breaks other things that depend on . but back to the problem, i have been manually emerging and etc-updateing in the hopes that it will catch something missed.
Code:

hamal ~ # emerge -pvt world

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

Calculating world dependencies ...done!
[ebuild  NS   ] www-apps/phpBB-2.0.18  -vhosts 0 kB
[ebuild     U ] sci-electronics/geda-20050820 [20050313] 0 kB
[ebuild     U ]  sci-libs/libgeda-20050820 [20050313] +png -static 0 kB
[ebuild     U ] net-www/netscape-flash-7.0.61 [7.0.25] 0 kB
[ebuild     U ] sci-electronics/pcb-20050609 [20050315] 0 kB
[ebuild     U ] app-office/openoffice-2.0.0 [1.1.4-r1] +curl +eds +gnome +gtk +java -kde -ldap +mozilla +nas +xml2 +zlib 209,274 kB
[ebuild  N    ]  dev-perl/Archive-Zip-1.14  107 kB
[ebuild     U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] 0 kB
[ebuild  N    ]  sys-apps/hwdata-gentoo-0.2  -livecd +opengl 136 kB
[ebuild     U ] app-admin/webmin-1.250 [1.230] +apache2 -postgres +ssl -webmin-minimal 8,994 kB
[ebuild     U ] dev-db/mysql-4.1.14 [4.0.25-r2] +berkdb -big-tables -cluster -debug -doc -extraengine -geometry -minimal +perl +readline (-selinux) +ssl -static +tcpd -utf8 0 kB

Total size of downloads: 218,513 kB
hamal ~ # emerge -puvt world

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

Calculating world dependencies ...done!
[ebuild  NS   ] www-apps/phpBB-2.0.18  -vhosts 0 kB
[ebuild     U ] sci-electronics/geda-20050820 [20050313] 0 kB
[ebuild     U ]  sci-libs/libgeda-20050820 [20050313] +png -static 0 kB
[ebuild     U ] net-www/netscape-flash-7.0.61 [7.0.25] 0 kB
[ebuild     U ] sci-electronics/pcb-20050609 [20050315] 0 kB
[ebuild     U ] app-office/openoffice-2.0.0 [1.1.4-r1] +curl +eds +gnome +gtk +java -kde -ldap +mozilla +nas +xml2 +zlib 209,274 kB
[ebuild  N    ]  dev-perl/Archive-Zip-1.14  107 kB
[ebuild     U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] 0 kB
[ebuild  N    ]  sys-apps/hwdata-gentoo-0.2  -livecd +opengl 136 kB
[ebuild     U ] app-admin/webmin-1.250 [1.230] +apache2 -postgres +ssl -webmin-minimal 8,994 kB
[ebuild     U ] dev-db/mysql-4.1.14 [4.0.25-r2] +berkdb -big-tables -cluster -debug -doc -extraengine -geometry -minimal +perl +readline (-selinux) +ssl -static +tcpd -utf8 0 kB

Total size of downloads: 218,513 kB
hamal ~ # emerge -puDvt world

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

Calculating world dependencies ...done!
[nomerge      ] dev-util/wxglade-0.3.5.1 
[ebuild  NS   ]  dev-python/wxpython-2.6.1.0  +gtk +gtk2 +opengl -unicode 0 kB
[ebuild  NS   ] www-apps/phpBB-2.0.18  -vhosts 0 kB
[nomerge      ] dev-util/eclipse-sdk-3.0.1-r2  +gnome +gtk -kde +motif +mozilla
[nomerge      ]  dev-java/ant-1.6.2-r6 
[nomerge      ]   dev-java/ant-tasks-1.6.2-r9  -javamail -noantlr -nobcel -nobeanutils -nobsh -nocommonslogging -nocommonsnet -nojdepend -nojsch -nojython -nolog4j -nooro -noregexp -norhino -noxalan -noxerces
[ebuild     U ]    dev-java/bcel-5.1-r2 [5.1-r1] -doc -jikes -source 0 kB
[ebuild     U ] sci-electronics/geda-20050820 [20050313] 0 kB
[ebuild     U ]  sci-libs/libgeda-20050820 [20050313] +png -static 0 kB
[ebuild     U ] net-www/netscape-flash-7.0.61 [7.0.25] 0 kB
[nomerge      ] sci-electronics/gerbv-1.0.1-r1  -doc +png -xinerama
[ebuild     U ]  media-libs/gdk-pixbuf-0.22.0-r5 [0.22.0-r3] +X -doc -mmx 0 kB
[nomerge      ] net-ftp/ftpcube-0.4.3-r1  +X
[nomerge      ]  dev-python/wxpython-2.4.2.4-r3  +gtk +gtk2 +jpeg +opengl +png +tiff -unicode
[ebuild     U ]   x11-libs/wxGTK-2.4.2-r4 [2.4.2-r3] -debug +gtk2 -odbc +opengl -unicode -wxgtk1 0 kB
[ebuild     U ] sci-electronics/pcb-20050609 [20050315] 0 kB
[ebuild     U ] app-office/openoffice-2.0.0 [1.1.4-r1] +curl +eds +gnome +gtk +java -kde -ldap +mozilla +nas +xml2 +zlib 209,274 kB
[ebuild  N    ]  dev-perl/Archive-Zip-1.14  107 kB
[ebuild     U ] sys-libs/libkudzu-1.1.62-r1 [1.1.62] 0 kB
[ebuild  N    ]  sys-apps/hwdata-gentoo-0.2  -livecd +opengl 136 kB
[ebuild     U ] app-admin/webmin-1.250 [1.230] +apache2 -postgres +ssl -webmin-minimal 8,994 kB
[nomerge      ] sci-electronics/oregano-0.40.3 
[ebuild     UD]  x11-libs/cairo-0.1.23-r1 [1.0.2] 0 kB
[nomerge      ] dev-perl/DBD-mysql-2.9007 
[nomerge      ]  dev-perl/DBI-1.46 
[nomerge      ]   dev-perl/PlRPC-0.2016-r1 
[nomerge      ]    perl-core/Storable-2.13 
[ebuild     U ]     dev-db/mysql-4.1.14 [4.0.25-r2] +berkdb -big-tables -cluster -debug -doc -extraengine -geometry -minimal +perl +readline (-selinux) +ssl -static +tcpd -utf8 0 kB

Total size of downloads: 218,513 kB


Only the Deep option triggers it but what application? oregano?
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Dec 02, 2005 5:47 am    Post subject: Reply with quote

Yep, I'd say it's oregano:
Code:
# emerge -vp oregano

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

Calculating dependencies ...done!
[ebuild  N    ] media-libs/libpixman-0.1.2  359 kB
[ebuild     UD] x11-libs/cairo-0.1.23-r1 [1.0.2] 383 kB
[ebuild  N    ] sci-electronics/oregano-0.40.3  780 kB


oregano 0.40.5 has ">=x11-libs/cairo-1.0.0" so you might try installing that version.


As for using ~arch packages, one thing you can try, is to not upgrade to the next unstable version unless you have to. This adds another maintenance layer, because you'll have to use a portage overlay (/etc/make.conf, PORTDIR_OVERLAY=/usr/local/portage) and maintain the ebuilds you want there if they're removed from the official portage tree. This may not be the best method, but it's what I've had to do a couple of times.

When an ebuild disappears from the official tree, you can still get them via online CVS: http://www.gentoo.org/cgi-bin/viewcvs.cgi/
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Fri Dec 02, 2005 1:58 pm    Post subject: thanks Reply with quote

Thanks!
How about that, This happens to be an example of what I was saying. I have to put oregano in ~arch to get past the downgrade that causes other software blocks and portage interuptions. It is near impossible to have a purely arch system and as I add package after package to ~arch in package.keywords, do I really still have a "stable" system? no. Is it not ok to have both on the system or are we talking about a dll that only has one name ie a program calls cairo without reguards to the version.

I guess we can call this protage hell
tryto ~arch oregano
reuires ~arch gnomelibs,libgnomeprint,libgnomeprintui,gtksourceview,libgnomecanvas,libgnomeui

these are discovered only one at a time during emerge -uDav world and have to be added to package.keywords. I would like to smooth up that process.

SOLVED, portage is back on it's merry way
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone
Back to top
View user's profile Send private message
Biker
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 170
Location: A very dark, cold and moisty place...

PostPosted: Fri Jan 06, 2006 7:34 pm    Post subject: Re: thanks Reply with quote

jshanab wrote:
I have to put oregano in ~arch to get past the downgrade that causes other software blocks and portage interuptions.


It just happened to me on an x86 system without any ~arch packages at all installed. :-(

# emerge -puvtD world

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

Calculating world dependencies ...done!
[blocks B ] <x11-libs/cairo-0.2 (is blocking x11-libs/cairo-1.0.2)
[nomerge ] x11-themes/gnome-icon-theme-2.10.1 -debug
[nomerge ] x11-themes/hicolor-icon-theme-0.8
[nomerge ] gnome-base/libgnomeui-2.10.1 -debug -doc +jpeg -static
[nomerge ] gnome-base/libbonoboui-2.10.1 +X -debug -doc -static
[nomerge ] gnome-base/libgnomecanvas-2.10.2 +X -debug -doc -static
[nomerge ] gnome-base/libglade-2.5.1 -debug -doc
[ebuild U ] x11-libs/gtk+-2.8.8 [2.6.10-r1] -debug -doc +jpeg +tiff 11,627 kB
[ebuild U ] x11-libs/pango-1.10.2 [1.8.1-r1] -debug -doc 1,141 kB
[ebuild U ] x11-libs/cairo-1.0.2 [0.1.23-r1] +X -doc* -glitz +png 1,424 kB


Biker
_________________
The Internet never forgets.
Where 'never' points in the direction of a moment in the very, very far future.
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