Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231738 - revdep-rebuild sets wrong working directory
Summary: revdep-rebuild sets wrong working directory
Status: RESOLVED DUPLICATE of bug 231508
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 03:30 UTC by Someone Else Who Won't Be Here
Modified: 2008-07-15 16:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Someone Else Who Won't Be Here 2008-07-14 03:30:06 UTC
revdep-rebuild appears to be broken in setting working directories

Reproducible: Always

Steps to Reproduce:
1. any revdep-rebuild  --library=<path to so.x> for example --library=/usr/lib/libgssapi.so.4


Actual Results:  
t-net ~ # redep-rebuild --library=/usr/lib/libgssapi.so.4 --library=/usr/lib/libgssapi.so.4.0.0 -- -v -a
-su: redep-rebuild: command not found
t-net ~ # revdep-rebuild --library=/usr/lib/libgssapi.so.4 --library=/usr/lib/libgssapi.so.4.0.0 -- -v -a
 * Configuring search environment for revdep-rebuild
 * Working directory expected to be libgssapi.so.4.0.0, but it is /tmp/revdep-rebuild-root/libgssapi.so.4.0.0

Expected Results:  
revdep-rebuild should set it's working directory properly

normal revdep-rebuild (no args) functions.  I only see this error when --library is specified, but it may happen on any rebuild, assuming it finds something to rebuild, tried to test but revdep-rebuild is finding no broken linkage even when I manually move libraries from /usr/lib to /tmp.

app-portage/gentoolkit-0.2.4_rc5
sys-apps/portage-2.2_rc1


System uname: Linux-2.6.25-gentoo-r5-ted-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-glibc2.0
Timestamp of tree: Sun, 13 Jul 2008 23:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O2 -mmmx -pipe -msse -msse2 -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O2 -mmmx -pipe -msse -msse2 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/distfiles"
FEATURES="buildpkg ccache digest distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
Comment 1 Paul Varner (RETIRED) gentoo-dev 2008-07-15 16:24:51 UTC
Use the patch in Bug #231508 to fix, or downgrade back down to gentoolkit-0.2.4_rc4

*** This bug has been marked as a duplicate of bug 231508 ***