Recently I have found that now often one or more of the symlinks have been transformed to copies of the real file. In some cases, I have up to four copies of the same dylib in /sw/lib. Example:
% ll /sw/lib/libdesign*b
-rwxr-xr-x 1 root admin 3115756 22 Nov 02:03 /sw/lib/libdesignercore.1.0.0.dylib
-rwxr-xr-x 1 root admin 3115756 22 Nov 02:03 /sw/lib/libdesignercore.1.0.dylib
-rwxr-xr-x 1 root admin 3115756 22 Nov 02:16 /sw/lib/libdesignercore.1.dylib
-rwxr-xr-x 1 root admin 3115756 22 Nov 02:03 /sw/lib/libdesignercore.dylib
This is eating up disk space, and I am not sure if it won't pose serious problems for upgrading or swapping of dev packages.
I have no explanation how this happens. For the example of the qt-designer library, in the build log I see the lines:
ln -s libdesignercore.1.0.0.dylib libdesignercore.dylib
ln -s libdesignercore.1.0.0.dylib libdesignercore.1.dylib
ln -s libdesignercore.1.0.0.dylib libdesignercore.1.0.dylib
rm -f ../../../lib/libdesignercore.1.0.0.dylib
rm -f ../../../lib/libdesignercore.dylib
rm -f ../../../lib/libdesignercore.1.dylib
rm -f ../../../lib/libdesignercore.1.0.dylib
mv -f libdesignercore.1.0.0.dylib libdesignercore.dylib libdesignercore.1.dylib libdesignercore.1.0.dylib ../../../lib/
This is the only mention of the three packages libdesignercore.dylib, libdesignercore.1.dylib and libdesignercore.1.0.dylib in the build log. However, in the final deb package, the symlinks have turned to copies.
In the very similar case (built and installed at the same time) of libeditor.*dylib, I get two copies and two symlinks.
% ll /sw/lib/libedi*b
-rwxr-xr-x 1 root admin 277332 22 Nov 02:03 /sw/lib/libeditor.1.0.0.dylib
lrwxr-xr-x 1 costabel wheel 21 22 Nov 02:09 /sw/lib/libeditor.1.0.dylib -> libeditor.1.0.0.dylib
-rwxr-xr-x 1 root admin 277332 22 Nov 02:16 /sw/lib/libeditor.1.dylib
lrwxr-xr-x 1 costabel wheel 21 22 Nov 02:09 /sw/lib/libeditor.dylib -> libeditor.1.0.0.dylib
In this case as in another one, libguile.12.*dylib, I see the symlinks in the deb file, but in reality in /sw/lib the symlinks have turned into copies.
So this seems to be a random effect.
Is anyone else observing this, and is there an explanation? (My main suspect would be the prebinding machinery.)
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
