>> On Thu, Apr 15, 2010 at 05:53:57AM +0200, Jean-François Mertens  
>> wrote:
>>>
>>> Hi Jack,
>>>
>>> I just updated libffi to check on that;
>>> I guess the same conflict will remain,
>>> so _ either the 2 manpages are essentiially equivalent,
>>> ad then a mutual "Replaces" would suffice,
>>> or else update-alternatives is called for,
>>> and then (if that's what you mean with "who should own"),
>>> it seems clear, as a matter of general principle,
>>> that the original pkg has the higher priority...
>>> Since libffi belongs to "None", you can handle this
>>> for both pkgs.

One build just finished (the one on 64bit _ seems much faster);
the 2 manpages are identical, so you could conceivably also
go for just a mutual "Replaces".
Though this is slightly less safe: if a user removes the last
installed pkg of the 2, he would be left w/o that man3 page
for the other pkg.
But I'd guess such a user, if he needs that man3 page, knows
sufficiently about libffi, and will think of reinstalling
the pkg he wants to use.

Jean-Francois

PS 1: only other problem was at installation time _ because
some pkgs (melina, classpath, others ?) Depend on gcc44 ..

PS 2: Using --force-overwrite shows that all 3 man files are
involved _ and in the same situation certainly. (Everything
is as if the libffi you package within gcc45 was identical to
the existing one in fink, except for having been compiled
with a different gcc %v) :

> # dpkg --force-depends --force-overwrite -i /sw/fink/debs/ 
> gcc45_4.5.0-1000_darwin-i386.deb
> dpkg: considering removing gcc44 in favour of gcc45 ...
> dpkg: warning - ignoring dependency problem with removal of gcc44:
>  gclasspath depends on gcc44
>   gcc44 is to be removed.
> dpkg: warning - ignoring dependency problem with removal of gcc44:
>  melina depends on gcc44
>   gcc44 is to be removed.
> dpkg: yes, will remove gcc44 in favour of gcc45.
> (Reading database ... 768642 files and directories currently  
> installed.)
> Unpacking gcc45 (from .../gcc45_4.5.0-1000_darwin-i386.deb) ...
> install-info(cpp-4.info): no entry for file `cpp-4'.
> install-info(cppinternals.info): deleting entry `* Cpplib:  
> (cppinternals) ...'
> install-info(gcc-4.info): no entry for file `gcc-4'.
> install-info(gccinstall.info): deleting entry `* gccinstall:  
> (gccinstall) ...'
> install-info(gccint.info): deleting entry `* gccint: (gccint) ...'
> install-info(gcj.info): deleting entry `* Gcj: (gcj) ...'
> install-info(gfortran.info): deleting entry `* gfortran:  
> (gfortran) ...'
> dpkg - warning, overriding problem because --force enabled:
>  trying to overwrite `/sw/share/man/man3/ffi.3', which is also in  
> package libffi
> dpkg - warning, overriding problem because --force enabled:
>  trying to overwrite `/sw/share/man/man3/ffi_call.3', which is also  
> in package libffi
> dpkg - warning, overriding problem because --force enabled:
>  trying to overwrite `/sw/share/man/man3/ffi_prep_cif.3', which is  
> also in package libffi
> Setting up gcc45 (4.5.0-1000) ...



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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