I was updating audiofile (which I previously had installed in an 
older, non-splitoff, but shlibs enabled version. That's what happend:

% fink update libjpeg
...
ln -sf 
/sw/fink/dists/local/main/binary-darwin-powerpc/libjpeg-bin_6b-5_darwin-powerpc.deb 
/sw/fink/debs/
rm -rf /sw/src/root-libjpeg-bin-6b-5
rm -rf /sw/src/root-libjpeg-6b-5
dpkg -i 
/sw/fink/dists/local/main/binary-darwin-powerpc/libjpeg_6b-5_darwin-powerpc.deb
(Reading database ... 88534 files and directories currently installed.)
Preparing to replace libjpeg 6b-4 (using 
.../libjpeg_6b-5_darwin-powerpc.deb) ...
Unpacking replacement libjpeg ...
dpkg: dependency problems prevent configuration of libjpeg:
  libjpeg depends on libjpeg-shlibs (= 6b-5); however:
   Version of libjpeg-shlibs on system is 6b-3.
dpkg: error processing libjpeg (--install):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  libjpeg
### dpkg failed, exit code 1
Failed: can't install package libjpeg-6b-5

Running "fink update libjpeg" again then works.


So, what happens? It's quite simple in fact. Fink detects that the 
newest libjpeg package hasn't been built yet, hence it decides to 
build it. For that, it asks for the build depends.  But those do 
*not* contains any splitoffs of the master, to get around another 
issue (that's one of the things I changed in my last checking).

So, it proceeds to build everything fine. But then it gets to the 
installation phase, and here it fails, since the splitoff 
libjpeg-shlibs dependency isn't fulfilled (it would have been if it 
was in the build deps list, but then we would have had a circular 
dependency...)



Anyway, I think I know to fix it, this time hopefully for real. Stay tuned =)


Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to