Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117225 - revdep-rebuild does nothing at all
Summary: revdep-rebuild does nothing at all
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-30 11:27 UTC by falcon
Modified: 2005-12-30 13:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
revdep-rebuild.0_env (revdep-rebuild.0_env,891 bytes, text/plain)
2005-12-30 11:54 UTC, falcon
Details
revdep-rebuild.1_files (revdep-rebuild.1_files,361.54 KB, text/plain)
2005-12-30 11:57 UTC, falcon
Details
revdep-rebuild.2_ldpath (revdep-rebuild.2_ldpath,13.37 KB, text/plain)
2005-12-30 11:57 UTC, falcon
Details
revdep-rebuild.3_rebuild (revdep-rebuild.3_rebuild,313 bytes, text/plain)
2005-12-30 11:58 UTC, falcon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description falcon 2005-12-30 11:27:33 UTC
The utility appears to list all the broken packages and such, then does not rebuild anything at all, and states that linking is consistent.  Here is the kind of output I was getting (the goal was to prelink things; I provide that truncated output in order to show that revdep-rebuild didn't do its job).  The version is the one found in app-portage/gentoolkit-0.2.2_pre1.

falcon falcon # revdep-rebuild; prelink -a
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... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency...
  broken /bin/cdxa2mpeg (requires  libcdio.so.5)
  broken /bin/ffmpeg (requires  libavcodec.so.0 libavformat.so.0 libavutil.so.0)
  broken /bin/ffserver (requires  libavcodec.so.0 libavformat.so.0 libavutil.so.0)
  broken /bin/free (requires  libproc-3.2.5.so)
  broken /bin/k3b (requires  libk3b.so.1)
  broken /bin/pgrep (requires  libproc-3.2.5.so)
  broken /bin/pkill (requires  libproc-3.2.5.so)
  broken /bin/pmap (requires  libproc-3.2.5.so)
  broken /bin/pwdx (requires  libproc-3.2.5.so)
  broken /bin/skill (requires  libproc-3.2.5.so)
  broken /bin/slabtop (requires  libproc-3.2.5.so)
  broken /bin/snice (requires  libproc-3.2.5.so)
  broken /bin/tcdecode (requires  libavcodec.so.0)
  broken /bin/tload (requires  libproc-3.2.5.so)
  broken /bin/top (requires  libproc-3.2.5.so)
  broken /bin/uptime (requires  libproc-3.2.5.so)
  broken /bin/vcd-info (requires  libcdio.so.5)
  broken /bin/vcdimager (requires  libcdio.so.5)
  broken /bin/vcdxbuild (requires  libcdio.so.5)
  broken /bin/vcdxgen (requires  libcdio.so.5)
  broken /bin/vcdxminfo (requires  libcdio.so.5)
  broken /bin/vcdxrip (requires  libcdio.so.5)
  broken /bin/vmstat (requires  libproc-3.2.5.so)
  broken /bin/w (requires  libproc-3.2.5.so)
  broken /usr/bin/kill (requires  libproc-3.2.5.so)
  broken /usr/bin/ps (requires  libproc-3.2.5.so)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.
prelink: /bin/cdxa2mpeg: Could not find one of the dependencies
prelink: /bin/ffmpeg: Could not find one of the dependencies
prelink: /bin/ffserver: Could not find one of the dependencies
prelink: /bin/free: Could not find one of the dependencies
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-12-30 11:33:28 UTC
Please run revdep-rebuild --ignore --keep-temp --pretend and attach all of the resulting /root/.revdep-rebuild* files along with all of the output from the command.
Comment 2 falcon 2005-12-30 11:54:09 UTC
Created attachment 75808 [details]
revdep-rebuild.0_env
Comment 3 falcon 2005-12-30 11:57:07 UTC
Created attachment 75810 [details]
revdep-rebuild.1_files
Comment 4 falcon 2005-12-30 11:57:36 UTC
Created attachment 75811 [details]
revdep-rebuild.2_ldpath
Comment 5 falcon 2005-12-30 11:58:17 UTC
Created attachment 75812 [details]
revdep-rebuild.3_rebuild
Comment 6 falcon 2005-12-30 12:00:18 UTC
.revdep-rebuild.4_ebuilds and .revdep-rebuild.5_order are both empty.
Comment 7 falcon 2005-12-30 12:01:41 UTC
Also, the output for the command is verbatim from what was already written.
Comment 8 falcon 2005-12-30 12:04:33 UTC
(In reply to comment #1)
> Please run revdep-rebuild --ignore --keep-temp --pretend and attach all of the
> resulting /root/.revdep-rebuild* files along with all of the output from the
> command.
> 

Done.
Comment 9 Paul Varner (RETIRED) gentoo-dev 2005-12-30 12:16:49 UTC
Okay, revdep-rebuild is not finding an installed package for those files.  What does the following return?

# cd /var/db/pkg
# grep "obj /usr/bin/ps " */*/CONTENTS
Comment 10 falcon 2005-12-30 12:41:03 UTC
(In reply to comment #9)
> Okay, revdep-rebuild is not finding an installed package for those files.  What
> does the following return?
> 
> # cd /var/db/pkg
> # grep "obj /usr/bin/ps " */*/CONTENTS
> 

Nothing at all.
Comment 11 Paul Varner (RETIRED) gentoo-dev 2005-12-30 13:04:34 UTC
Okay, revdep-rebuild is working as designed.  None of the files that you have listed were installed via portage.  So it is impossible to rebuild them.  It looks to me like somehow you copied files from /usr/bin to /bin and vice-versa.

On my system ps is /bin/ps and not /usr/bin/ps while ffmpeg is /usr/bin/ffmpeg and not /bin/ffmpeg.

If you look at revdep-rebuild.1_files, you will see that you have both /bin/ffmpeg and /usr/bin/ffmpeg.