Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

I don't understand revdep-rebuild

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
machinelou
Apprentice
Apprentice
Posts: 267
Joined: Sat Apr 05, 2003 4:53 pm

I don't understand revdep-rebuild

  • Quote

Post by machinelou » Sun Aug 13, 2006 8:28 pm

Hi, I'm trying to setup a headless server without X, gnome, or any of that stuff. However, when I run revdep-rebuild, I get the following output:
saturn ~ # revdep-rebuild -X
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... done.
(/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
broken /usr/lib/X11/xkb/xkbcomp (requires libxkbfile.so.1)
broken /usr/lib/gnome-vfs-2.0/modules/libfile.la (requires /usr/lib/libgnomevfs-2.la)
broken /usr/lib/gnome-vfs-2.0/modules/libfile.la (requires /usr/lib/libgconf-2.la)
done.
(/root/.revdep-rebuild.3_rebuild)

Assigning files to packages... terminated.
Removing incomplete /root/.revdep-rebuild.4_packages_raw.
So, if I'm interpreting the output correctly.. It's saying that I have the following packages installed: xkbcomp, and gnome-vfs.. However, I just emerged -C gnome-vfs. Here's the output of emerge -s gnome-vfs to prove it:

Code: Select all

saturn ~ # emerge -s gnome-vfs
Searching...   
[ Results for search key : gnome-vfs ]
[ Applications found : 2 ]
 
*  dev-cpp/gnome-vfsmm
      Latest version available: 2.12.0
      Latest version installed: [ Not Installed ]
      Size of files: 314 kB
      Homepage:      http://gtkmm.sourceforge.net/
      Description:   C++ bindings for gnome-vfs
      License:       LGPL-2.1

*  gnome-base/gnome-vfs
      Latest version available: 2.14.2
      Latest version installed: [ Not Installed ]
      Size of files: 1,773 kB
      Homepage:      http://www.gnome.org/
      Description:   Gnome Virtual Filesystem
      License:       GPL-2 LGPL-2
Look! It's not installed! Why does revdep-rebuild want to install its dependencies? Emerge -s also shows that xkb is not installed.. What's up?
Top
sfragis
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 95
Joined: Thu Mar 24, 2005 5:28 pm
Location: RE < IT < Europe
Contact:
Contact sfragis
Website

  • Quote

Post by sfragis » Sun Aug 13, 2006 10:16 pm

machinelou wrote: Look! It's not installed! Why does revdep-rebuild want to install its dependencies? Emerge -s also shows that xkb is not installed.. What's up?
Maybe revdep-rebuild caches results in temporary files (/root/.revdep-rebuild.N.XXX).
Try ignoring them:

Code: Select all

$ revdep-rebuild -i
Regards
Fabio Strozzi
Top
sternklang
Veteran
Veteran
User avatar
Posts: 1641
Joined: Sat Sep 10, 2005 1:22 pm
Location: Somewhere in time and space

  • Quote

Post by sternklang » Sun Aug 13, 2006 10:53 pm

Does the file /usr/lib/gnome-vfs-2.0/modules/libfile.la exist? If for some reason it wasn't removed during the unmerge, then revdep-rebuild is quite rightly finding that it requires other parts of gnome-vfs that are now missing because you unmerged gnome-vfs. In which case, manually delete that file and your mystery is solved.

Now why this file would be left over is another mystery. :)
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Mon Aug 14, 2006 4:41 pm

sternklang wrote:Does the file /usr/lib/gnome-vfs-2.0/modules/libfile.la exist? ...
Now why this file would be left over is another mystery. :)
Unfortunately, why .la-Files are left over is usually no mystery :(

The reason is that fix_libtool_files.sh changes these files, and when now a new version of a package is emerged in which the file has vanished, portage will not delete the old .la-file, because its mtime is changed.

I consider this a bug in fix_libtool_files.sh: It should update the information in the portage database, too. Does somebody know a way how to do this manually? :?:
Top
sternklang
Veteran
Veteran
User avatar
Posts: 1641
Joined: Sat Sep 10, 2005 1:22 pm
Location: Somewhere in time and space

  • Quote

Post by sternklang » Mon Aug 14, 2006 4:53 pm

Ah, so that's it. Thanks. Now that I know, I did some searching of bugzilla. See [bug=71264]these[/bug] [bug=90744]bugs[/bug] for information on how fix_libtool_files.sh is going to go away as people upgrade their gcc, so no fix will be necessary, just a bit of patience.
Top
machinelou
Apprentice
Apprentice
Posts: 267
Joined: Sat Apr 05, 2003 4:53 pm

  • Quote

Post by machinelou » Mon Aug 14, 2006 6:35 pm

So, until we get gcc-4.1, is it kosher to just delete .la-files of uninstalled packages? Or, should I just use revdep-rebuild to tell me which packages need to be rebuilt, and then rebuild them manually, skipping those that have already been removed?
Top
sternklang
Veteran
Veteran
User avatar
Posts: 1641
Joined: Sat Sep 10, 2005 1:22 pm
Location: Somewhere in time and space

  • Quote

Post by sternklang » Mon Aug 14, 2006 6:54 pm

machinelou wrote:So, until we get gcc-4.1, is it kosher to just delete .la-files of uninstalled packages? Or, should I just use revdep-rebuild to tell me which packages need to be rebuilt, and then rebuild them manually, skipping those that have already been removed?
They're not needed any longer and are only there due to a quirk in a rarely-run recovery script. I would delete them and move on.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic