From owner-freebsd-bugs@FreeBSD.ORG Sun Nov 25 09:10:01 2012 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4582A9C8 for ; Sun, 25 Nov 2012 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 199EC8FC14 for ; Sun, 25 Nov 2012 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAP9A07p041339 for ; Sun, 25 Nov 2012 09:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAP9A0BW041334; Sun, 25 Nov 2012 09:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 25 Nov 2012 09:10:00 GMT Resent-Message-Id: <201211250910.qAP9A0BW041334@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Takuya Harada Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7754F80B for ; Sun, 25 Nov 2012 09:01:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE8C8FC08 for ; Sun, 25 Nov 2012 09:01:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qAP91nUe022702 for ; Sun, 25 Nov 2012 09:01:49 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qAP91nvV022685; Sun, 25 Nov 2012 09:01:49 GMT (envelope-from nobody) Message-Id: <201211250901.qAP91nvV022685@red.freebsd.org> Date: Sun, 25 Nov 2012 09:01:49 GMT From: Takuya Harada To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/173904: sysutils/fusefs-kmod build failed with clang'ed 10.0-current system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2012 09:10:01 -0000 >Number: 173904 >Category: misc >Synopsis: sysutils/fusefs-kmod build failed with clang'ed 10.0-current system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 25 09:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Takuya Harada >Release: 10.0-current >Organization: Ohu University >Environment: FreeBSD i386machine.noway.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r243477: Sat Nov 24 20:44:37 JST 2012 root@i386machine.noway.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: I tried to re-build sysutils/fusefs-kmod with clang'ed 10.0-current system and fresh portsnap'ed ports. However building has been failed with errors described below. Script started on Sat Nov 24 21:48:35 2012 command: make -C /usr/ports/sysutils/fusefs-kmod/ clean build ===> Cleaning for fusefs-kmod-0.3.9.p1.20080208_11 ===> Found saved configuration for fusefs-kmod-0.3.9.p1.20080208_11 ===> fusefs-kmod-0.3.9.p1.20080208_11 depends on file: /usr/local/sbin/pkg - found ===> 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/i386/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 clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../include -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../include -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../include -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../include -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I../include -I. -I@ -I@/contrib/altq -fno-common -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -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 fuse_vnops.c:3398:3: error: implicit declaration of function 'vm_page_lock_queues' is invalid in C99 [-Werror,-Wimplicit-function-declaration] vm_page_lock_queues();  ^ fuse_vnops.c:3406:4: error: implicit declaration of function 'vm_page_unlock_queues' is invalid in C99 [-Werror,-Wimplicit-function-declaration] vm_page_unlock_queues();  ^ fuse_vnops.c:3406:4: note: did you mean 'vm_page_lock_queues'? vm_page_unlock_queues();  ^~~~~~~~~~~~~~~~~~~~~  vm_page_lock_queues fuse_vnops.c:3398:3: note: 'vm_page_lock_queues' declared here vm_page_lock_queues();  ^ 2 errors generated. *** [fuse_vnops.o] Error code 1 Stop in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0/fuse_module. *** [all] Error code 1 Stop in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-498acaef33b0. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/fusefs-kmod. Script done on Sat Nov 24 21:48:37 2012 >How-To-Repeat: make -C /usr/ports/sysutils/fusefs-kmod/ clean build >Fix: According to this email http://lists.freebsd.org/pipermail/freebsd-current/2012-November/037963.html, vm_page_lock_queues() and vm_page_unlock_queues() have been deleted from freebsd9 and freebsd10. I am not sure whether building will be successful with deletion of them from fuse_vnop.c. >Release-Note: >Audit-Trail: >Unformatted: