Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388275 - dev-vcs/subversion-1.7.0 fails to emerge on ~x64-macos with USE=java due to wrong libname extension
Summary: dev-vcs/subversion-1.7.0 fails to emerge on ~x64-macos with USE=java due to w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-23 21:30 UTC by nietonfir
Modified: 2011-11-30 14:28 UTC (History)
0 users

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


Attachments
subversion-1.7.0 ebuild patch using $(get_libname) for library extensions (subversion-1.7.0.ebuild.patch,1.39 KB, text/plain)
2011-10-23 21:30 UTC, nietonfir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nietonfir 2011-10-23 21:30:45 UTC
Created attachment 290683 [details]
subversion-1.7.0 ebuild patch using $(get_libname) for library extensions

subversion-1.7.0 got pulled with USE="java" during my last emerge -uDav world and it failed with the following message:
 * ERROR: dev-vcs/subversion-1.7.0 failed (install phase):
 *   /Users/me/Gentoo/var/tmp/portage/dev-vcs/subversion-1.7.0/image/Users/me/Gentoo/usr/lib/libsvnjavahl*.so does not exist

As I'm on ~x64-macos and *.dylib are (normally) built, this error message was not really surprising. The attached patch fixes this issue by using $(get_libname) from the multilib.eclass instead of the hardcoded *.so file extension. With this change the ebuild installs and merges just fine.
Comment 1 Fabian Groffen gentoo-dev 2011-10-24 08:10:24 UTC
Are these objects really called libsvn.dylib.0?
That's wrong, they should have been called libsvn.0.dylib.

Can you check this?  I think you want to use $(get_libname 0) here.
Comment 2 nietonfir 2011-10-24 09:13:28 UTC
(In reply to comment #1)
> Are these objects really called libsvn.dylib.0?
> That's wrong, they should have been called libsvn.0.dylib.
> 
> Can you check this?  I think you want to use $(get_libname 0) here.
Yep, it's libsvn.0.dylib, but it's built like that anyway. I just built it with $(get_libname 0) and the results are the same.
Comment 3 Fabian Groffen gentoo-dev 2011-11-30 14:28:26 UTC
Committed in 1.7.1, thanks