[MacPorts] #43403: encfs depends on obsolete port fuse4x
MacPorts
noreply at macports.org
Sun Apr 20 19:12:10 PDT 2014
#43403: encfs depends on obsolete port fuse4x
-------------------------+-------------------------------
Reporter: jrblevin@… | Owner: Markus.Ueberall@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: encfs |
-------------------------+-------------------------------
Comment (by uri@…):
Another problem - encfs (as it comes in the macports) does not seem to be
friendly to clang. My system uses clang-3.4, and most everything else in
macports is built with it, '''including boost'''. encfs, on the other
hand, seems to use g++. As we all know, some c++ code - especially
involving templates (like ''boost_filesystem'' :) - tends to crash when
linked to a library created by a different compiler.
To keep the long story short, after some editing and patching, encfs from
macports compiles and links fine, but crashes upon invocation because (as
I suspect) encfs was compiled and linked with gcc-4.8.2, and boost
libraries - by clang-3.4.
After I edited the Makefiles to set all the CC variables to clang/clang++
- encfs promptly stopped compiling with errors in encfs/Cipher.cpp,
complaining that type ''shared_ptr'' is not defined. Needless to say,
including <boost/shared_ptr.hpp> in encfs/Cipher.h did not help.
--
Ticket URL: <https://trac.macports.org/ticket/43403#comment:19>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list