#16204: encfs not building -------------------------------------+-------------------------------------- Reporter: js-macports@webkeks.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- There are 3 issues with encfs: 1.) If boost ist not built with +complete, the configure script won't even run (fails with the message that a packet whose name is an empty string was not found) 2.) If that is solved, it fails to build with this: {{{ /opt/local/include/boost/serialization/serialization.hpp:140: instantiated from 'void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive, T = EncFSConfig]' /opt/local/include/boost/archive/detail/iserializer.hpp:160: instantiated from 'void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::xml_iarchive, T = EncFSConfig]' FileUtils.cpp:1521: instantiated from here FileUtils.cpp:163: error: 'make_binary_object' was not declared in this scope make[2]: *** [FileUtils.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} Easy to fix: Just add #include <boost/serialization/binary_object.hpp> to that file, it will build then. 3.) When it was built with these two workarounds, it fails when trying to start it due to missing symbols: {{{ avalon:~$ encfs dyld: lazy symbol binding failed: Symbol not found: __ZN5boost6system19get_system_categoryEv Referenced from: /opt/local/lib/libencfs.4.dylib Expected in: flat namespace dyld: Symbol not found: __ZN5boost6system19get_system_categoryEv Referenced from: /opt/local/lib/libencfs.4.dylib Expected in: flat namespace zsh: trace trap encfs }}} Found no solution for the 3rd issue yet. Guess I'll have to look at the linking stage, something goes wrong there, I assume (missing library?) -- Ticket URL: <http://trac.macports.org/ticket/16204> MacPorts <http://www.macports.org/> Ports system for Mac OS