Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307829 - sys-fs/encfs build against dev-libs/boost-1.42.0 will not mount filesystems
Summary: sys-fs/encfs build against dev-libs/boost-1.42.0 will not mount filesystems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL: http://code.google.com/p/encfs/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-04 23:27 UTC by Albert W. Hopkins
Modified: 2010-06-27 20:57 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for encfs 1.6 (encfs-1.6.ebuild,1.11 KB, text/plain)
2010-06-20 10:48 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2010-03-04 23:27:56 UTC
If you created a filesystem with encfs build with <boost-1.4.20 and then upgrade boost, and recompile encfs agains the new version, then encfs can no longer mount the filesystem. This problem appears to be reported upstream (for encfs).

Contrary to the upstream bug report, I was able to downgrade boost, and recomple encfs and then use the filesystems.

But possibly there should be some kind of warning to users.  I'm not sure this is technically a bug (with Gentoo) but it could lead users to believe that they have lost data when in fact they have not.
Comment 1 Sebastian Luther (few) 2010-03-09 07:25:26 UTC
Looks like boost broke backwards compatibility and encfs needs to follow. As long as this hasn't happened, it should depend on <dev-libs/boost-1.42.0 (make sure configure picks up the right boost version, see bug 297694)
Comment 2 Sebastian Luther (few) 2010-03-09 07:37:16 UTC
Someone filed a bug on the boost bug tracker [1]. Let's see what comes out there.

[1] https://svn.boost.org/trac/boost/ticket/3990
Comment 3 Andrew Savchenko gentoo-dev 2010-04-16 21:19:12 UTC
http://code.google.com/p/encfs/issues/detail?id=60

This is severe bug, which may lead to full data loss.
encfs must depends on <boost-1.42 for now.

encfs compiled with boost-1.42 is absolutely unusable even with newly created file systems.
Comment 4 Lukas Schneiderbauer 2010-06-16 18:04:47 UTC
There is a patch available since yesterday:

http://code.google.com/p/encfs/source/detail?r=55
Comment 5 Mark 2010-06-20 10:48:48 UTC
Created attachment 236037 [details]
ebuild for encfs 1.6

I had the same problem after a new system install.
Just use encfs 1.6, which fixes the problem; see my attached ebuild (derived from the 1.5 ebuild). encfs compiled and I was able to mount my encrypted directory again, using boost 1.42
Comment 6 Stefan Behte (RETIRED) gentoo-dev Security 2010-06-27 12:36:23 UTC
Someone please bump; there are several bugs open for encfs < 1.6.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-06-27 20:57:53 UTC
encfs-1.6 in portage, builds fine here with forced asneeded, gcc-4.5.0, and boost-1.42.0-r1.