I'm trying to update the modglue-1.10 package that is available for 10.6 to get it to build on 10.7 and 10.8. I'm using the latest modglue-1.16 from upstream. I'm fighting with a error during package validation that has me completely befuddled, and I'm hoping someone can shed some light on things.
The package validation fails with: Validating .deb dir /sw/src/fink.build/root-modglue-shlibs-1.16-1... Error: File name '/sw/lib/libmodglue.1.dylib' specified in Shlibs does not match install_name '/sw//lib/libmodglue.1.dylib' Error: package contains the shared library /sw/lib/libmodglue.1.dylib but the corresponding install_name and compatibility_version %p//lib/libmodglue.1.dylib 2.0.0 are not listed in the Shlibs field. See the packaging manual. ============== looking in the build directories, I see: % ls -l /sw/src/fink.build/root-modglue-1.16-1/sw/lib total 2072 -rw-r--r-- 1 root admin 1051184 3 Aug 20:15 libmodglue.a lrwxr-xr-x 1 root admin 18 3 Aug 20:15 libmodglue.dylib -> libmodglue.1.dylib -rwxr-xr-x 1 root admin 956 3 Aug 20:15 libmodglue.la drwxr-xr-x 3 root admin 102 3 Aug 20:15 pkgconfig % ls -l /sw/src/fink.build/root-modglue-shlibs-1.16-1/sw/lib -rwxr-xr-x 1 root admin 104436 3 Aug 20:15 libmodglue.1.dylib ============== otool shows: % otool -L /sw/src/fink.build/root-modglue-shlibs-1.16-1/sw/lib/libmodglue.1.dylib /sw/src/fink.build/root-modglue-shlibs-1.16-1/sw/lib/libmodglue.1.dylib: /sw//lib/libmodglue.1.dylib (compatibility version 2.0.0, current version 2.16.0) /sw/lib/libsigc-2.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1669.0.0) ============== The shlibs portion of the info file has: SplitOff: << Package: %N-shlibs Depends: libsigc++2-shlibs Files: lib/lib*.*.dylib DocFiles: COPYING Description: Shared libs for %N Shlibs: << %p/lib/libmodglue.1.dylib 2.0.0 %n (>= 1.3-1) << << ============== As I understand it, the validator is complaining about an extra "/" in the path "/sw//lib/libmodglue.1.dylib". I do see an extra "/" in the output of otool. Is that the source of the issue? If so, how do I fix that? Do I need to perform some libtool or install_name_tool voodoo? Thanks for any advice, -- Kevin Horton Ottawa, Canada -- Kevin Horton Ottawa, Canada ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel