Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138656 - Updating to gnustep-base-1.12 / gnustep-make-1.12 produces a lot of unresolved library refrences
Summary: Updating to gnustep-base-1.12 / gnustep-make-1.12 produces a lot of unresolve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-30 22:10 UTC by Axel Dyks
Modified: 2006-12-05 14:40 UTC (History)
2 users (show)

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


Attachments
The patch that adds a -G, --gnustep option to revdep-rebuild (revdep-rebuild-gnustep.patch,1.13 KB, patch)
2006-06-30 22:12 UTC, Axel Dyks
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Dyks 2006-06-30 22:10:25 UTC
... that are not detected by revdep-rebuild.

GNUstep does not install its executables into standard pathes (/etc/ld.so.conf).
Therefore "revdep-rebuild" from gentoolkit does not detect unresolved
library references within /usr/GNUstep.

The following patch adds an new option (-G, --gnustep) to "revdep-rebuild"
that appends all GNUstep folders containing executables to SEARCH_DIRS.

Cheers,
Axel
Comment 1 Axel Dyks 2006-06-30 22:12:47 UTC
Created attachment 90587 [details, diff]
The patch that adds a -G, --gnustep option to revdep-rebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-01 00:16:50 UTC
(In reply to comment #0)
> GNUstep does not install its executables into standard pathes
> (/etc/ld.so.conf).

Then it should install appropriate SEARCH_DIRS entry into /etc/revdep-rebuild,  instead of hacking revdep-rebuild itself? Or, am I missing something here?
Comment 3 Fabian Groffen gentoo-dev 2006-07-01 01:00:17 UTC
I have to look into it, but if we can inject via a env.d thing, I think we should defenitely do that, instead of hacking revdep-rebuild.
Comment 4 Axel Dyks 2006-07-01 01:09:30 UTC
As far as I know, the GnuStep application (executables) are not
installed into a common "bin" folder, but into per-application
folders.

That means that not only "gnustep-base" or "gnuset-make" need to
pass information to "revdeb-rebuild", but every single application.

... which could be implemented by adding an appropriate function
to a "GNUstep" eclass which is automatically called from every
gnustep (application) ebuild.

Anyway, whatever solution is chosen, it has to compete with
"adding 12 line of code to revdev-rebuild"

:-) Axel



Axel
 

 
Comment 5 Paul Varner (RETIRED) gentoo-dev 2006-07-03 09:58:42 UTC
All that should need to be done is to add a file to /etc/revdep-rebuild containing the entry

SEARCH_DIRS="/usr/GNUstep"

I am not going to add specific code to revdep-rebuild itself.  This kind of stuff is what the /etc/revdep-rebuild directory was created for.
Comment 6 Axel Dyks 2006-07-03 10:39:43 UTC
I must admit that I haven't read the documentation properly.
Especially I've missed that "revdep-rebuild" does a RECURSIVE
search on the folders given in SEARCH_DIRS.

Sorry!

... and thank you for your excellent work on this tool.

Axel

P. S.: I've just manually added a file "/etc/revdep-rebuild"
according to your instructions and it works like it should.
Comment 7 Axel Dyks 2006-07-03 10:41:10 UTC
I mean, I added a file TO (the folder) "/etc/revdep-rebuild/"

:-)
Comment 8 Fabian Groffen gentoo-dev 2006-12-05 13:16:59 UTC
I think this has been tackled in the latest gnustep-base.
Comment 9 Axel Dyks 2006-12-05 14:40:13 UTC
It has.
:-) Axel