-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/20/10 10:15 AM, Ebrahim Mayat wrote:
> Good Day
> 
> When preparing a package update I get the following error:
> 
>> Validating .deb dir /sw/src/fink.build/root-fluidsynth-1.1.2-358...
>> Package looks good!
>> dpkg-deb -b root-fluidsynth-1.1.2-358 /sw/fink/10.5/local/main/ 
>> binary-darwin-powerpc
>> dpkg-deb: building package `fluidsynth' in `/sw/fink/10.5/local/main/ 
>> binary-darwin-powerpc/fluidsynth_1.1.2-358_darwin-powerpc.deb'.
>> Reverting ownership of install dir to root
>> - Depends line is: readline5-shlibs (>= 5.0-1006), libsndfile1- 
>> shlibs (>= 1.0.20-1), libflac8, darwin (>= 9-1)
>> Writing control file...
>> Creating shlibs files...
>> Validating .deb dir /sw/src/fink.build/root-fluidsynth- 
>> shlibs-1.1.2-358...
> 
>> Error: File name '/sw/lib/libfluidsynth.1.dylib' specified in Shlibs  
>> does not appear to have linker data at all
>> Error: package contains the shared library
>>           /sw/lib/libfluidsynth.1.4.0.dylib
>>        but the corresponding install_name and compatibility_version
>>           libfluidsynth.1.dylib 1.0.0
>>        are not listed in the Shlibs field.  See the packaging manual.
> 
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-fluidsynth-1.1.2-358
>> (Reading database ... 166033 files and directories currently  
>> installed.)
>> Removing fink-buildlock-fluidsynth-1.1.2-358 ...
>> Failed: Please correct the above problems and try again!
> 
> I verified the install_name and compatibility_version
> 
>> $ otool -L /sw/src/fink.build/root-fluidsynth-shlibs-1.1.2-358/sw/ 
>> lib/libfluidsynth.1.dylib
>> /sw/src/fink.build/root-fluidsynth-shlibs-1.1.2-358/sw/lib/ 
>> libfluidsynth.1.dylib:
>>      libfluidsynth.1.dylib (compatibility version 1.0.0, current version  
>> 1.4.0)

This would be your problem.  The install_name as encoded in the library
doesn't have the full path, and therefore doesn't match your
(theoretically correct) Shlibs line.  The install_name should be
"/sw/lib/libfluidsynth.1.dylib"

<snip>

> 
> and the Shlibs field does contain the install_name and  
> compatibility_version
> 
>> SplitOff: <<
>>  Package: %N-shlibs
>> Depends: readline5-shlibs (>= 5.0-1006), libsndfile1-shlibs (>=  
>> 1.0.20-1), libflac8
>>  Files: lib/*.*.dylib
> 
>>  Shlibs: %p/lib/libfluidsynth.1.dylib 1.0.0 %n (>= 1.1.1-280)
> 
>>  DocFiles: COPYING README
> 
> 
> Have I missed something ?
> 
> Thanks in advance.
> Ebrahim
> 
> Build configuration:
> $ fink -V
> Package manager version: 0.29.13
> Distribution version: selfupdate-cvs Mon Sep 20 08:55:03 2010, 10.5,  
> powerpc
> 
> 

Fix the install_name which has been encoded in the library, and the
package should validate.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyXenYACgkQB8UpO3rKjQ+nngCcDyjp0UFX+mqXnKn1qN8tvAPV
Ej8AnjlxkrZKjHTYd0OLerURIHBahi3h
=zcHX
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to