FreeBSD Port: fusefs-unionfs-0.17

Mads Lønsethagen mad at
Wed Jul 11 16:16:35 UTC 2007


A recent update of fuse has rendered unionfs unusable, it seems... I
hadn't portupgraded my FreeBSD 6_2_STABLE in a while, so when I just
did, unionfs stopped working. I don't know what version of fusefs-kmod
and  fusefs-libs I had when it worked, but now I've got:

Reinstalling unionfs through ports also brings up some challenges. I had
to edit the Makefile to make it work at all... (version 0.17)

This is what happens when you try to install unionfs now:

/usr/ports/sysutils/fusefs-unionfs% make install clean
===>  Vulnerability check disabled, database not found
===>  Extracting for fusefs-unionfs-0.17
=> MD5 Checksum OK for unionfs-fuse-0.17.tar.bz2.
=> SHA256 Checksum OK for unionfs-fuse-0.17.tar.bz2.
===>  Patching for fusefs-unionfs-0.17
===>  Applying FreeBSD patches for fusefs-unionfs-0.17
===>   fusefs-unionfs-0.17 depends on file: /usr/local/include/fuse.h -
===>  Configuring for fusefs-unionfs-0.17
===>  Building for fusefs-unionfs-0.17
(cd /usr/ports/sysutils/fusefs-unionfs/work/unionfs-fuse-0.17 &&  cc -O
-pipe -march=pentium4 -I/usr/local/include/fuse  -D_FILE_OFFSET_BITS=64
-L/usr/local/lib -pthread -lfuse)
/usr/local/lib/ undefined reference to `libiconv_open'
/usr/local/lib/ undefined reference to `libiconv_close'
/usr/local/lib/ undefined reference to `libiconv'
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-unionfs.

But when I edit the Makefile, line 29, to this:

-o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS}  -lfuse -liconv)

(added -liconv), then it compiles. But it doesn't work.

/root% unionfs -o ro,allow_other /disk/disk1:/disk/disk2 /alldisk
fuse: unknown option `subtype=unionfs'
umount: /dev/fuse0: unknown file system
/root% mount_fusefs: /dev/fuse0 on /warez/alldisk: Device not configured

What gives? :) Kinda crucial feature for me, this program...

- Mads

More information about the freebsd-ports mailing list