Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16204 closed defect (fixed)

encfs not building

Reported by: js-macports@… Owned by: kballard (Lily Ballard)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jlucg@…, web@…
Port: encfs

Description

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?)

Attachments (1)

encfs.tgz (1.6 KB) - added by jlucg@… 15 years ago.
Updated Portfile and new patches

Download all attachments as: .zip

Change History (8)

comment:1 Changed 16 years ago by blb@…

Milestone: Port Bugs
Owner: changed from macports-tickets@… to eridius@…

Assigning to maintainer.

The +complete issue appears to be mentioned as well in #15714.

comment:2 Changed 15 years ago by jlucg@…

I have attached a new version of the Portfile with a few added patches that allow me to build and run encfs on my machine.

I have included in a new configuration option that allows to manually disable extended attribute support. You may want to feed this upstream to the encfs developer. I decided to compile without xattr support

(instead of fixing the header mismatch) after reading this post from

Amit Singh: http://www.mail-archive.com/macfuse-devel@googlegroups.com/msg01050.html

All seems to work OK for me. Please note that encfs 1.5.0 appears to have addressed the xattr issue: http://www.arg0.net/encfs

1.5.0 (September 7, 2008) Change Log [..,]

Bug fixes:

fixes for xattr calls on MacOS (issue 4 & 7)

Changed 15 years ago by jlucg@…

Attachment: encfs.tgz added

Updated Portfile and new patches

comment:3 Changed 15 years ago by jlucg@…

Cc: jlucg@… added

Cc Me!

comment:4 Changed 15 years ago by web@…

Cc: web@… added

Cc Me!

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Port: encfs added

Are you still seeing this problem with the latest version of the port? It works fine for me now.

comment:6 Changed 15 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Closing due to lack of response.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.