From owner-freebsd-ports@FreeBSD.ORG Wed Jul 11 16:16:35 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FBCE16A468; Wed, 11 Jul 2007 16:16:35 +0000 (UTC) (envelope-from mad@anipsyche.net) Received: from smtp.bluecom.no (smtp.bluecom.no [193.75.75.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6691A13C4BB; Wed, 11 Jul 2007 16:16:35 +0000 (UTC) (envelope-from mad@anipsyche.net) Received: from [192.168.0.1] (cBB7147C1.dhcp.bluecom.no [193.71.113.187]) by smtp.bluecom.no (Postfix) with ESMTP id 9C62A12C5C2; Wed, 11 Jul 2007 17:59:26 +0200 (CEST) Message-ID: <4694FE57.2060108@anipsyche.net> Date: Wed, 11 Jul 2007 17:59:19 +0200 From: =?ISO-8859-1?Q?Mads_L=F8nsethagen?= User-Agent: Thunderbird 2.0.0.4 (X11/20070621) MIME-Version: 1.0 To: clsung@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: fusefs-unionfs-0.17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 16:16:35 -0000 Hi! 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: fusefs-kmod-0.3.0_5 fusefs-libs-2.7.0 libiconv-1.9.2_2 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 - found ===> 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 -DFUSE_USE_VERSION=26 -U_POSIX_SYNCHRONIZED_IO -o unionfs *.c -L/usr/local/lib -pthread -lfuse) /usr/local/lib/libfuse.so: undefined reference to `libiconv_open' /usr/local/lib/libfuse.so: undefined reference to `libiconv_close' /usr/local/lib/libfuse.so: 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