Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 12:24:54 -0400
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        Alexander Panyushkin <vsityz@gmail.com>
Cc:        Pedro Giffuni <pfg@FreeBSD.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: FUSE not work.
Message-ID:  <51E96856.20001@mail.lifanov.com>
In-Reply-To: <51E95B4D.4030104@gmail.com>
References:  <51E94F09.4020109@FreeBSD.org> <51E95B4D.4030104@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/19/13 11:29, Alexander Panyushkin wrote:
> 19.07.2013 17:36, Pedro Giffuni пишет:
>> Hello;
>>
>> The internal data structures in the FUSE kernel module have been
>> updated to be more compatible with MacFUSE and the linux FUSE.
>>
>> This basically measn you have to rebuild your fuse modules
>> (including NTFS).
>>
>> We should not really update the FUSE_KERNEL_MINOR_VERSION yet.
>> I will add a note to UPDATING.
>>
>> Pedro.
>
>
>
> Unfortunately the port is not  build in FreeBSD 10
>
>
> ===>>> Starting build for sysutils/fusefs-kmod <<<===
>
> ===>>> All dependencies are up to date
>
> ===>  Cleaning for fusefs-kmod-0.3.9.p1.20080208_11
> ===>  Found saved configuration for fusefs-kmod-0.3.9.p1.20080208_11
> ===> Fetching all distfiles required by fusefs-kmod-0.3.9.p1.20080208_11
> for building
> ===>  Extracting for fusefs-kmod-0.3.9.p1.20080208_11
> => SHA256 Checksum OK for fuse4bsd/498acaef33b0.tar.gz.
> ===>  Patching for fusefs-kmod-0.3.9.p1.20080208_11
> ===>  Applying extra patch
> /usr/ports/sysutils/fusefs-kmod/files/extra-patch-fuse_module__fuse_vnops.c
> ===>  Applying extra patch
> /usr/ports/sysutils/fusefs-kmod/files/extrapatch-fuse_module__fuse_vnops.c
> ===>  Applying FreeBSD patches for fusefs-kmod-0.3.9.p1.20080208_11
> ===>   fusefs-kmod-0.3.9.p1.20080208_11 depends on package:
> fusefs-libs>2.4.1 - found
> ===>   fusefs-kmod-0.3.9.p1.20080208_11 depends on executable: deplate -
> found
> ===>  Configuring for fusefs-kmod-0.3.9.p1.20080208_11
> ===>  Building for fusefs-kmod-0.3.9.p1.20080208_11
> ===> fuse_module (all)
> Warning: Object directory not changed from original
> /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0/fuse_module
> @ -> /usr/src/sys
> machine -> /usr/src/sys/amd64/include
> x86 -> /usr/src/sys/x86/include
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
> cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> -D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
> -fdiagnostics-show-option  -Wno-error-tautological-compare
> -Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_main.c
> cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> -D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
> -fdiagnostics-show-option  -Wno-error-tautological-compare
> -Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_msg.c
> cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> -D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
> -fdiagnostics-show-option  -Wno-error-tautological-compare
> -Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_dev.c
> cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> -D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
> -fdiagnostics-show-option  -Wno-error-tautological-compare
> -Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_vfsops.c
> cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> -D_KERNEL -DKLD_MODULE -nostdinc  -I../include -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse
> -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
> -fdiagnostics-show-option  -Wno-error-tautological-compare
> -Wno-error-empty-body  -Wno-error-parentheses-equality  -c fuse_vnops.c
> In file included from fuse_vnops.c:36:
> @/vm/vm_pager.h:126:2: warning: implicit declaration of function
> 'rw_assert' is invalid in C99 [-Wimplicit-function-declaration]
>          VM_OBJECT_ASSERT_WLOCKED(object);
>          ^
> @/vm/vm_object.h:226:2: note: expanded from macro
> 'VM_OBJECT_ASSERT_WLOCKED'
>          rw_assert(&(object)->lock, RA_WLOCKED)
>          ^
> In file included from fuse_vnops.c:36:
> @/vm/vm_pager.h:126:2: error: use of undeclared identifier 'RA_WLOCKED'
> @/vm/vm_object.h:226:29: note: expanded from macro
> 'VM_OBJECT_ASSERT_WLOCKED'
>          rw_assert(&(object)->lock, RA_WLOCKED)
>                                     ^
> In file included from fuse_vnops.c:36:
> @/vm/vm_pager.h:143:2: error: use of undeclared identifier 'RA_WLOCKED'
>          VM_OBJECT_ASSERT_WLOCKED(object);
>          ^
> @/vm/vm_object.h:226:29: note: expanded from macro
> 'VM_OBJECT_ASSERT_WLOCKED'
>          rw_assert(&(object)->lock, RA_WLOCKED)
>                                     ^
> In file included from fuse_vnops.c:36:
> @/vm/vm_pager.h:167:2: error: use of undeclared identifier 'RA_WLOCKED'
>          VM_OBJECT_ASSERT_WLOCKED(object);
>          ^
> @/vm/vm_object.h:226:29: note: expanded from macro
> 'VM_OBJECT_ASSERT_WLOCKED'
>          rw_assert(&(object)->lock, RA_WLOCKED)
>                                     ^
> In file included from fuse_vnops.c:36:
> @/vm/vm_pager.h:190:2: error: use of undeclared identifier 'RA_WLOCKED'
>          VM_OBJECT_ASSERT_WLOCKED(m->object);
>          ^
> @/vm/vm_object.h:226:29: note: expanded from macro
> 'VM_OBJECT_ASSERT_WLOCKED'
>          rw_assert(&(object)->lock, RA_WLOCKED)
>                                     ^
> fuse_vnops.c:3397:3: warning: implicit declaration of function
> 'VM_OBJECT_LOCK' is invalid in C99 [-Wimplicit-function-declaration]
>                  VM_OBJECT_LOCK(vp->v_object);
>                  ^
> fuse_vnops.c:3398:3: warning: implicit declaration of function
> 'vm_page_lock_queues' is invalid in C99 [-Wimplicit-function-declaration]
>                  vm_page_lock_queues();
>                  ^
> fuse_vnops.c:3406:4: warning: implicit declaration of function
> 'vm_page_unlock_queues' is invalid in C99 [-Wimplicit-function-declaration]
>                          vm_page_unlock_queues();
>                          ^
> fuse_vnops.c:3407:4: warning: implicit declaration of function
> 'VM_OBJECT_UNLOCK' is invalid in C99 [-Wimplicit-function-declaration]
>                          VM_OBJECT_UNLOCK(vp->v_object);
>                          ^
> 5 warnings and 4 errors generated.
> *** Error code 1
>
> Stop.
> make: stopped in
> /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0/fuse_module
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/sysutils/fusefs-kmod
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/sysutils/fusefs-kmod
>
> ===>>> make failed for sysutils/fusefs-kmod
> ===>>> Aborting update
>
> ===>>> Killing background jobs
> Terminated
> Terminated
>
> ===>>> You can restart from the point of failure with this command line:
>         portmaster <flags> sysutils/fusefs-kmod
>
> ===>>> Exiting
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

You don't need sysutils/fusefs-kmod, since FreeBSD 10 includes FUSE in 
base. Reverse dependencies (sysutils/fusefs-curlftpfs, etc.) will 
correctly skip building it.

This ought to use logic like that from emulators/virtio-kmod/Makefile.

- Nikolai Lifanov




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51E96856.20001>