On Wed, Mar 26, 2008 at 02:21:29PM -0400, David Fang wrote:
> > On Jan 13, 2008, at 8:09 PM, Daniel Johnson wrote:
> >
> >> It doesn't actually check if private libraries are specified. So that's 
> >> two 
> >> private-shlibs bugs. :)
> >
> > The whitespace bug is fixed in HEAD now, but the deb file validator is 
> > still 
> > having problems. I think this patch might fix it:
> 
> Hi,
>       What's the status of this issue(s)?  I'm having trouble validating 
> an update to magic74 on the same issue: validator rejecting private 
> shlibs.
> 
> % fink -V
> Package manager version: 0.28.1
> Distribution version: selfupdate-cvs Wed Mar 26 13:12:37 2008, 10.4, powerpc
> 
> The package update I'm working on:
> http://sourceforge.net/tracker/index.php?func=detail&aid=1926383&group_id=17203&atid=414256
> 
> The error message:
> Error: package contains a dylib with no corresponding Shlibs entry 
> (/sw/lib/magic/tcl/exttosim.dylib -> exttosim.dylib 0.0.0)
>         If this is a private library, add 
> '!/sw/lib/magic/tcl/exttosim.dylib' to the Shlibs field.
[more of these for other .dylib]
> ... but I've done exactly that in Shlibs (no whitespace).
> [puzzled look]

I wonder if the validation-message is the problem. Notice that it
first says that the target is "exttosim.dylib 0.0.0", but then later
says that the Shlibs entry is "/sw/lib/magic/tcl/exttosim.dylib".
Could you verify that the first line of the output of 'otool -L' on
that file is indeed just "exttosim.dylib (compatibility version
0.0.0)", i.e., the simple filename rather than the full path? The
Shlibs field is required to contain the install_name (what the file
calls itself according to otool -L).

OTOH, that looks a lot like an upstream bug in the package too
(similar to what dbreiser saw a week or so ago), where a library has a
"simple filename" install_name instead of the full path to it.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to