Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird messages from revdep-rebuild about openoffice
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
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Fri Jul 02, 2004 8:05 pm    Post subject: Weird messages from revdep-rebuild about openoffice Reply with quote

This is what I get if I run revdep-rebuild:

Code:
# revdep-rebuild -p

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

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...
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.so (requires libtk8.3.so libtcl8.3.so)
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so (requires libdb-3.1.so)
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/mpz.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/mpz.so (requires libgmp.so.3)
 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)

All prepared. Starting rebuild...
emerge --oneshot --nodeps -p =app-office/openoffice-bin-1.1.2

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

Calculating dependencies ...done!
[ebuild   R   ] app-office/openoffice-bin-1.1.2

If I reemerge openoffice-bin, I get the same results. Why do I need execution permissions for these .so files?
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Wed Jul 21, 2004 2:32 am    Post subject: Reply with quote

Same issue here.

Changing them to 744 gets around the message but updating openoffice still gets you nowhere. libtk8, libdb, and libgmp have all been updated to the next version number (at least on my system) so I still get these same dependency issues on each revdep-rebuild.

OpenOffice needs to be rebuilt with the new objects.
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Wed Jul 21, 2004 5:23 am    Post subject: Reply with quote

If you use binaries in portage the best ways around this is use the -p feature with revdep-rebuild and then emerge the ones you know are b0rked with --oneshot. Basically there's no way around that erroneous output unless you emerge the older deps or build it yourself.
Back to top
View user's profile Send private message
kimczuba
n00b
n00b


Joined: 02 Oct 2003
Posts: 55
Location: Denmark (Copenhagen)

PostPosted: Tue Jan 18, 2005 2:13 pm    Post subject: Revdep-rebuild: No execution permissions to python files Reply with quote

After
Code:

# emerge --sync
# emerge -uD --newuse world
# emerge depclean
# revdep-rebuild


During revdep-rebuild, my system complained that:
Code:

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

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...
ldd: warning: you do not have execution permission for `/opt/OpenOffice.org/prog
ram/python-core-2.2.2/lib/lib-dynload/_tkinter.so'
  broken /opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/_tkinter.
so (requires libtk8.3.so libtcl8.3.so)
..more of the above


rerunning revdep-rebuild did not help even thoug it rebuild OO every time (I use the binary edition). Is there something wrong, or would this error dissappear if I compiled OO myself?

By the way, the python 2.3.4 ebuild says python 2.2 is still installed, even though is is not on my system (I have done nothing to uninstall it). But portage works great. Is this an error or because the ebuild has not been updated?

Regards
Kim
_________________
"Fear is the path to the Dark Side. Fear leads to anger; anger leads to hate; hate leads to suffering. I sense much fear in you."

- Yoda speaking to Anakin at the Jedi Council (SW - The Phantom Menace)
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Tue Jan 18, 2005 6:02 pm    Post subject: Reply with quote

revdep-rebuild is known to have problems with some binary packages. I have OO built from sources and do not see that problem on my box.
Back to top
View user's profile Send private message
kimczuba
n00b
n00b


Joined: 02 Oct 2003
Posts: 55
Location: Denmark (Copenhagen)

PostPosted: Mon Feb 07, 2005 4:12 pm    Post subject: Reply with quote

Solved. OO is binary data, and is therefore not using the same python version as the one installed on my system. :oops:
Next time I will read the help pages before posting here.
_________________
"Fear is the path to the Dark Side. Fear leads to anger; anger leads to hate; hate leads to suffering. I sense much fear in you."

- Yoda speaking to Anakin at the Jedi Council (SW - The Phantom Menace)
Back to top
View user's profile Send private message
Clapper
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 177

PostPosted: Mon Sep 12, 2005 3:14 am    Post subject: The "Man" always hassles me about openoffice-bin Reply with quote

Does anyone know the "proper" Gentoo way of getting depclean and revdep-rebuild not to hassle me for installing openoffice-bin??

Quote:

depclean:
Calculating depclean dependencies ..... .... ... done!

>>> These are the packages that I would unmerge:

app-office/openoffice-bin
selected: 1.9.128
protected: none
omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.


Packages installed: 706
Packages in world: 534
Packages in system: 59
Unique package names: 702
Required packages: 729
Number to remove: 1




and

Quote:

revdep-rebuild

Starting reverse dependency -rebuild.....

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

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...
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-c ore-2.3.4/lib/lib-dynload/_bsddb.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so (requires l
ibdb-3.1.so)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-c ore-2.3.4/lib/lib-dynload/_tkinter.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so (requires
libBLT24.so libtk8.3.so libtcl8.3.so)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-c ore-2.3.4/lib/lib-dynload/bz2.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so (requires libb
z2.so.0)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-c ore-2.3.4/lib/lib-dynload/mpz.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so (requires libg
mp.so.3)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so (requires libdb-3.1.so)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so (requires libBLT24.so libtk8.3.so libtcl8.3.so)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so (requires libbz2.so.0)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so (requires libgmp.so.3)
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)

All prepared. Starting rebuild...
emerge --oneshot --nodeps -pv =app-office/openoffice-bin-1.9.128
..........

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

Calculating dependencies ...done!
[ebuild R ] app-office/openoffice-bin-1.9.128 +gnome +java +kde 0 kB

Total size of downloads: 0 kB
Build finished correctly. Removing temporary files... ..........
You can re-run revdep-rebuild to verify that all libraries and binaries
are fixed. If some inconsistency remains, it can be orphaned file, deep
dependency, binary package or specially evaluated library.


Press Y to continue reverse dependency rebuild, any other key to quit..




Any help appreciated!!
Back to top
View user's profile Send private message
treat
n00b
n00b


Joined: 20 Jul 2005
Posts: 39
Location: Sweden

PostPosted: Mon Sep 12, 2005 3:41 am    Post subject: Reply with quote

try adding app-office/openoffice-bin to your /var/lib/portage/world file.
revdep-rebuild won't handle binary packages correctly.
Back to top
View user's profile Send private message
Clapper
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 177

PostPosted: Mon Sep 12, 2005 4:05 am    Post subject: Reply with quote

treat wrote:
try adding app-office/openoffice-bin to your /var/lib/portage/world file.
revdep-rebuild won't handle binary packages correctly.



Hey, thanks! That took care of the emerge depclean, but revdep rebuild is still squalking (see below),
and wants to re-install openoffice-bin again.

I previously had open office installed as "non bin". Could this be some traces of that? Any ideas how I
can clear these messages?

Any solution would put me into Gentoo Nirvana....



Quote:

Starting reverse dependency -rebuild.....

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

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...
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so (requires libdb-3.1.so)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so (requires libBLT24.so libtk8.3.so libtcl8.3.so)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so (requires libbz2.so.0)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so'
broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so (requires libgmp.so.3)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so (requires libdb-3.1.so)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so (requires libBLT24.so libtk8.3.so libtcl8.3.so)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so (requires libbz2.so.0)
ldd: warning: you do not have execution permission for `/usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so'
broken /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so (requires libgmp.so.3)
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)

All prepared. Starting rebuild...
emerge --oneshot --nodeps -pv =app-office/openoffice-bin-1.9.128
..........

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

Calculating dependencies ...done!
[ebuild R ] app-office/openoffice-bin-1.9.128 +gnome +java +kde 0 kB

Total size of downloads: 0 kB
Build finished correctly. Removing temporary files... ..........
You can re-run revdep-rebuild to verify that all libraries and binaries
are fixed. If some inconsistency remains, it can be orphaned file, deep
dependency, binary package or specially evaluated library.


Press Y to continue reverse dependency rebuild, any other key to quit..

Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Mon Sep 12, 2005 9:07 am    Post subject: Reply with quote

treat wrote:
try adding app-office/openoffice-bin to your
/var/lib/portage/world file.


Won't the world file be rewritten upon the next
Code:
emerge world

?
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Mon Sep 12, 2005 9:22 am    Post subject: Reply with quote

gentsquash wrote:
Won't the world file be rewritten upon the next
Code:
emerge world

?


Why should it be? It is the file that the "world" alias uses to work out what packages it needs to look through.

It should only be modified but the commands emerge <package> or emerge unmerge <package> which should add and remove lines from the file.

In short, emerge -{u,D,a etc} world uses this file, it does not generate it.
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
Clapper
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 177

PostPosted: Mon Sep 12, 2005 11:50 am    Post subject: Reply with quote

For what its worth, I went ahead and let revdep-rebuild re-emerge my openoffice-bin, but, the next time I run revdep-rebuild, it wants to do the exact same thing again...

Is this a bug?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Sep 12, 2005 12:42 pm    Post subject: Reply with quote

Clapper wrote:
Is this a bug?

bug #32276
Back to top
View user's profile Send private message
hpestilence
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2004
Posts: 82

PostPosted: Mon Sep 12, 2005 12:58 pm    Post subject: Reply with quote

http://gentoo-wiki.com/TIP_Control_revdep-rebuild

I did the above to stop revdep-rebuild from rebuilding java 1.5 and opera repeatedly.
_________________
When the plague descends from Heaven above only Darkness will be your one true ally.
Back to top
View user's profile Send private message
Clapper
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 177

PostPosted: Mon Sep 12, 2005 3:02 pm    Post subject: Reply with quote

hpestilence wrote:
http://gentoo-wiki.com/TIP_Control_revdep-rebuild

I did the above to stop revdep-rebuild from rebuilding java 1.5 and opera repeatedly.



I did the above, and removed /opt, however, I still get the error messages. Here is my
search directories line from revdep-rebuild:

Code:


SEARCH_DIRS="/lib /bin /sbin /usr/lib /usr/bin /usr/sbin /usr/libexec
 /usr/X11R6/lib /usr/X11R6/bin /usr/X11R6/sbin  /usr/e1*
/usr/local /usr/qt* /usr/kde/*/lib /usr/*-*-linux-gnu
/var/qmail /var/vpopmail /home/httpd/cgi-bin"




Is one of these directories that are still being searched responsible?
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Tue Sep 13, 2005 3:07 am    Post subject: Reply with quote

Clapper,

Instead of following the wiki tip, I used this info from the revdep-rebuild script:

Code:

# Customizable variables:
#
# LD_LIBRARY_MASK - Mask of specially evaluated libraries
# SEARCH_DIRS - List of directories to search for executibles and libraries
# SEARCH_DIRS_MASK - List of directories to not search
#
# These variables can be prepended to either by setting the variable in
# your environment prior to execution, or by placing an entry in
# /etc/make.conf.


I placed the various /usr/lib/openoffice library directories into SEARCH_DIRS_MASK in my make.conf and that took care of rebuilding openoffice. (My list of library directories is slightly different than yours as I am running on AMD64.)
Back to top
View user's profile Send private message
Clapper
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 177

PostPosted: Wed Sep 21, 2005 12:55 am    Post subject: Reply with quote

sternklang wrote:
Clapper,

Instead of following the wiki tip, I used this info from the revdep-rebuild script:

Code:

# Customizable variables:
#
# LD_LIBRARY_MASK - Mask of specially evaluated libraries
# SEARCH_DIRS - List of directories to search for executibles and libraries
# SEARCH_DIRS_MASK - List of directories to not search
#
# These variables can be prepended to either by setting the variable in
# your environment prior to execution, or by placing an entry in
# /etc/make.conf.


I placed the various /usr/lib/openoffice library directories into SEARCH_DIRS_MASK in my make.conf and that took care of rebuilding openoffice. (My list of library directories is slightly different than yours as I am running on AMD64.)



I thought this might fix my problem!

Here is my make.conf, with the variable loaded with the paths of the offending libraries:

Code:

workstation ~ # nano /etc/make.conf
  GNU nano 1.3.7                          File: /etc/make.conf                                                   Modified

# These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
CHOST="i686-pc-linux-gnu"
USE="kqemu mouse oss arts kdeenablefinal kdexdeltas hal alsa kde qt sse nptl dvd avi cdr cups mozilla mpeg ncurses opengl perl png ssl truetype xmms win32codecs nvidia mmx real"
CXXFLAGS="${CFLAGS}"
ALSA_CARDS=emu10k1
LDFLAGS="-Wl,-O1"
SEARCH_DIRS_MASK="/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload /usr/X11R6/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload"


Unfortunately, here is my revdep-rebuild output. Seems to still complain even with SEARCH_DIRS_MASK loaded with the library paths:

Code:

Checking dynamic linking consistency...
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so'
  broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_bsddb.so (requires libdb-3.1.so)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so'
  broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/_tkinter.so (requires libBLT24.so libtk8.3.so libtcl8.3.so)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so'
  broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/bz2.so (requires libbz2.so.0)
ldd: warning: you do not have execution permission for `/usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so'
  broken /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-dynload/mpz.so (requires libgmp.so.3)
[quote][/quote]
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Wed Sep 21, 2005 1:07 am    Post subject: Reply with quote

My SEARCH_DIRS_MASK is simpler:
Code:

SEARCH_DIRS_MASK="/usr/lib/openoffice /usr/lib64/openoffice /opt"


In your case, I think that "/usr/lib/openoffice /usr/X11R6/lib/openoffice" would take care of it.
Back to top
View user's profile Send private message
BigBaaadBob
Guru
Guru


Joined: 19 Apr 2003
Posts: 342
Location: Swampscott, MA USA

PostPosted: Tue Oct 25, 2005 1:06 pm    Post subject: Reply with quote

sternklang wrote:

In your case, I think that "/usr/lib/openoffice /usr/X11R6/lib/openoffice" would take care of it.

No joy for me:
Code:
wideload ~ # grep SEARCH /etc/make.conf
SEARCH_DIRS_MASK="/usr/lib/openoffice /usr/X11R6/lib/openoffice"

But I still get the warnings.
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Tue Oct 25, 2005 1:57 pm    Post subject: Reply with quote

Could you check what version of gentoolkit you have installed (emerge -s gentoolkit)? I'm running 0.2.1_pre8, but versions prior to 0.2.1_pre3 have an older revdep-rebuild that doesn't use SEARCH_DIRS_MASK or other variables -- you need to update to the more recent version if that's the case.
Back to top
View user's profile Send private message
contextswitch
n00b
n00b


Joined: 08 Oct 2004
Posts: 61
Location: Darwen

PostPosted: Mon Jan 02, 2006 2:53 pm    Post subject: Reply with quote

I have a similar problem but not the same.

I've just done the libungif / libgif dance and ran revdep-rebuild which wanted to emerge openoffice-bin-1.1.4. I used to have this installed but cleaned it out in favour of openoffice-2.0.0 built from sources.

Code:
earth ~ # cat .revdep-rebuild.3_rebuild
/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/bsddb.so
/opt/OpenOffice.org/program/python-core-2.2.2/lib/lib-dynload/mpz.so


However, these files do not exists, in fact /opt/OpenOffice.org/program/ is empty.

Does anyone know why revdep-rebuild is finding these non-existing files and how I can fix it?

Cheers,
--
Geoff
Back to top
View user's profile Send private message
bakaohki
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 129
Location: Hungary

PostPosted: Tue Jan 03, 2006 8:47 pm    Post subject: editing revdep-rebuild Reply with quote

Editing revdep itself doesn't seem to be a good idea for me, even if it is a script only. Shouldn't Gentoo use a revdep-rebuild.cfg in /etc? I think that would be much cleaner.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10308
Location: Córdoba (Spain)

PostPosted: Sat Jan 14, 2006 6:39 pm    Post subject: Reply with quote

sternklang wrote:
Clapper,

Instead of following the wiki tip, I used this info from the revdep-rebuild script:

Code:

# Customizable variables:
#
# LD_LIBRARY_MASK - Mask of specially evaluated libraries
# SEARCH_DIRS - List of directories to search for executibles and libraries
# SEARCH_DIRS_MASK - List of directories to not search
#
# These variables can be prepended to either by setting the variable in
# your environment prior to execution, or by placing an entry in
# /etc/make.conf.


I placed the various /usr/lib/openoffice library directories into SEARCH_DIRS_MASK in my make.conf and that took care of rebuilding openoffice. (My list of library directories is slightly different than yours as I am running on AMD64.)

This is the cleaner way to do, just unmask and emerge the latest gentoolkit, edit make.conf and add something like
Code:

SEARCH_DIRS_MASK="/usr/X11R6/lib/openoffice/ /usr/lib/openoffice/"

Then
Code:

# su -
# rm -rf /root/.revdep*
# revdep-rebuild
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...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

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

Dynamic linking on your system is consistent... All done.


Look the nice line that says "Configuring search environment for revdep-rebuild", for this to appear you need gentoolkit-0.2.1 or higher. With 0.2.2_pre2 it works ok too.

The mechanism has already been implemented, and is much nicer than diggin into a system script to modify it.
_________________
Gentoo Handbook | My website
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