On 3/13/14, 12:33 PM, Jess H. Brewer wrote:
> I finally got almost everything restored after starting over with
> Mavericks; but it choked on openmpi, saying,
> "trying to overwrite `/sw/include/event2/buffer.h', which is also in
> package libevent2" (I think; this is from memory).  So I got sneaky,
> removed libevent2 & libevent2-shlibs, and installed openmpi -- no
> trouble!  Then I went back to install libevent2 and got this:
>
> # fink install libevent2
> Information about 8419 packages read in 1 seconds.
> The following package will be installed or updated:
>    libevent2
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i
> /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libevent2_2.0.21-1_darwin-x86_64.deb
> (Reading database ... 298263 files and directories currently installed.)
> Unpacking libevent2 (from .../libevent2_2.0.21-1_darwin-x86_64.deb) ...
> /sw/bin/dpkg: error processing
> /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libevent2_2.0.21-1_darwin-x86_64.deb
> (--install):
>    trying to overwrite `/sw/include/event2/buffer.h', which is also in
> package openmpi
> /sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe: 13)
> Errors were encountered while processing:
>
> /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libevent2_2.0.21-1_darwin-x86_64.deb
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package libevent2-2.0.21-1
>
>
> So there seems to be an incompatibility I can't slip past.  ????
>

Agreed, this is not ideal and needs fixing.

As a workaround, install just libevent2-shlibs.  The problem is 
literally just the fact that libevent2 and openmpi have a file in 
common, and libevent2-shlibs doesn't care about that file, so just leave 
that package installed.

I believe libevent2 doesn't contain any runtime files, but openmpi does, 
so your best bet while this gets sorted out is to keep openmpi 
installed, and install libevent2 if you happen to be building something 
against that.

Also, if by some chance the event2/buffer.h from openmpi and libevent2 
are actually the same (I don't have either installed), then you could use

dpkg -i --force-overwrite /sw/fink/debs/<filename>

to swap between libevent2 and openmpi.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to