| View previous topic :: View next topic |
| Author |
Message |
uber.grog Tux's lil' helper


Joined: 29 Aug 2006 Posts: 83
|
Posted: Wed Oct 25, 2006 2:39 am Post subject: [SOLVED] revdep-rebuild building old versions of packages |
|
|
This is similar to the problem I previously had emerging control-center-2.16.1 (which was solved). Now when I run revdep-rebuild, why does it try to rebuild control-center-1.4.0.5-r3 (and fail) when I have just re-merged control-center-2.16.1 successfully?
Last edited by uber.grog on Thu Oct 26, 2006 7:49 pm; edited 2 times in total |
|
| Back to top |
|
 |
zsoltika l33t


Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
Posted: Wed Oct 25, 2006 1:17 pm Post subject: |
|
|
You can try the '-X' option of revdep-rebuild, but I assume you should rebuild the older version as well, because probably it's slot installed, as some package needs this old version as dependency.
HTH _________________ Do not believe that Guru thing under my nickname. |
|
| Back to top |
|
 |
uber.grog Tux's lil' helper


Joined: 29 Aug 2006 Posts: 83
|
Posted: Wed Oct 25, 2006 3:40 pm Post subject: |
|
|
| zsoltika wrote: | You can try the '-X' option of revdep-rebuild, but I assume you should rebuild the older version as well, because probably it's slot installed, as some package needs this old version as dependency.
HTH |
Thanks for the suggestion, unfortunately it still tried to merge control-center-1.4.0.5-r3. Since there doesn't seem to be anything that specifically depends on the old version:
| Code: | # equery depends control-center-1.4.0.5-r3
[ Searching for packages depending on control-center-1.4.0.5-r3... ]
# equery depends ">=control-center-1.4"
[ Searching for packages depending on >=control-center-1.4... ]
# equery depends ">=control-center-1"
[ Searching for packages depending on >=control-center-1... ]
# equery depends "<=control-center-1"
[ Searching for packages depending on <=control-center-1... ]
# equery depends control-center
[ Searching for packages depending on control-center... ]
gnome-base/gnome-2.14.2
gnome-extra/gtkhtml-1.1.10-r1 |
I proceeded to remove all the control-center files from /usr/portage/distfiles & /usr/portage/gnome-base/, re-sync'd & tried to directly merge that version:
| Code: | | emerge -bv =gnome-base/control-center-1.4.0.5-r3 |
But got the same error. Here it is in case it means something. But I'd much rather have a way to tell revdep-rebuild NOT remerge old packages.
| Code: | gcc -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=i686 -O2 -pipe -Wall
-Wunused -o .libs/sound-properties sound-properties.o -rdynamic -rdynamic ../../control-center/.libs/libcapplet.so -L/usr/lib /usr
/lib/libORBitCosNaming.so /usr/lib/libORBit.so /usr/lib/libIIOP.so /usr/lib/libORBitutil.so -lm /usr/lib/libgnomeui.so /usr/lib/liba
rt_lgpl.so /usr/lib/libgdk_imlib.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.s
o /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libaudiofile.so
-lm -ldb1 /usr/lib/libglib.so /usr/lib/libgnorba.so
sound-properties.o: In function `reload_esd_samples':
sound-properties.c:(.text+0xef6): undefined reference to `esd_sample_getid'
sound-properties.c:(.text+0xf0b): undefined reference to `esd_sample_free'
collect2: ld returned 1 exit status
make[3]: *** [sound-properties] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-base/control-center-1.4.0.5-r3/work/control-center-1.4.0.5/capplets/sound-propert
ies'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/control-center-1.4.0.5-r3/work/control-center-1.4.0.5/capplets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/control-center-1.4.0.5-r3/work/control-center-1.4.0.5'
make: *** [all-recursive-am] Error 2
!!! ERROR: gnome-base/control-center-1.4.0.5-r3 failed. |
|
|
| Back to top |
|
 |
zsoltika l33t


Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
Posted: Wed Oct 25, 2006 3:54 pm Post subject: |
|
|
But if you don't need it (nothing depends on it), why would you like to eemrge it?
Just remove it, than try the revdep-rebuild.
If the revdep-rebuild wants to emerge it, than it's bug, so submit it.
HTH _________________ Do not believe that Guru thing under my nickname. |
|
| Back to top |
|
 |
uber.grog Tux's lil' helper


Joined: 29 Aug 2006 Posts: 83
|
Posted: Wed Oct 25, 2006 5:20 pm Post subject: |
|
|
| zsoltika wrote: | But if you don't need it (nothing depends on it), why would you like to eemrge it?
Just remove it, than try the revdep-rebuild.
If the revdep-rebuild wants to emerge it, than it's bug, so submit it.
HTH |
That's what the original question was. Since gnome depends on it I can't just remove the package & move on. I have the latest package merged (2.16.1), but revdep-rebuild insists on trying to remerge the old one. I couldn't care less about the old package. Is there a way I can mask it? I'll check the portage man pages. thks
New bug entered: 152779 |
|
| Back to top |
|
 |
uber.grog Tux's lil' helper


Joined: 29 Aug 2006 Posts: 83
|
Posted: Wed Oct 25, 2006 8:11 pm Post subject: |
|
|
I've done some more poking at the problem & have found that it's definitely a revdep-rebuild issue. Although it couldn't remerge the older version of control-center, the real issue is that revdep-rebuild is trying to remerge an old version of gtkhtml. The latest available is 3.12.1 & it is trying to remerge 1.1.10-r1.
This is what revdep-rebuild was trying to do:
| Code: | | emerge --oneshot -bv =gnome-extra/evolution-webcal-2.8.0 =gnome-extra/gtkhtml-1.1.10-r1 =mail-client/evolution-2.8.1.1 =media-gfx/fontforge-20061014 |
So I successfully ran the command:
| Code: | | emerge -p gnome-extra/evolution-webcal gnome-extra/gtkhtml mail-client/evolution media-gfx/fontforge |
So I masked old versions of gtkhtml:
| Code: | # cat package.mask
<gnome-extra/gtkhtml-3 |
and ran:
| Code: | | # revdep-rebuild -i -X -- -bv |
but this failed:
| Code: | [31;01mWarning: Failed to resolve package order.
Will merge in "random" order!
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
and/or /etc/portage/package.unmask to unmask it
. done.
(/root/.revdep-rebuild.5_order)
[32;01mAll prepared. Starting rebuild...
emerge --oneshot -bv =gnome-extra/gtkhtml-2.6.0 =media-gfx/fontforge-20061014
Calculating dependencies
!!! All ebuilds that could satisfy "=gnome-extra/gtkhtml-2.6.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- gnome-extra/gtkhtml-2.6.0 (masked by: package.mask)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
[31;01mrevdep-rebuild failed to emerge all packages |
So my question now is, how can I get revdep-rebuild to ignore this package? |
|
| Back to top |
|
 |
zsoltika l33t


Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
|
| Back to top |
|
 |
uber.grog Tux's lil' helper


Joined: 29 Aug 2006 Posts: 83
|
Posted: Thu Oct 26, 2006 10:50 am Post subject: |
|
|
Thanks for pointing out the masking problem. I've since removed the mask entirely. Last night I tried an update world, it's been a while due to this & some blocking issues, and except for one hiccup where I had to manually remerge esound (it turned out just the symlink to esd was missing), everything merged 100%, including the old version of control-center %^). Whether it was due to another part of the update world or some of the tweaking I've done here I don't know, but it seems to be solved now.
I'm running revdep-rebuild right now. I'll close this thread & my bug assuming that runs fine too.
Thanks a lot for your help. |
|
| Back to top |
|
 |
uber.grog Tux's lil' helper


Joined: 29 Aug 2006 Posts: 83
|
Posted: Thu Oct 26, 2006 7:49 pm Post subject: |
|
|
I've since successfully run an update world & another revdep-rebuild & now my system is completely up to date. Thanks again for the help.
Until next time  |
|
| Back to top |
|
 |
|