From owner-freebsd-ports@FreeBSD.ORG Fri Aug 22 14:13:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 851A21065677 for ; Fri, 22 Aug 2008 14:13:41 +0000 (UTC) (envelope-from robillard.etienne@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.251]) by mx1.freebsd.org (Postfix) with ESMTP id 39F998FC13 for ; Fri, 22 Aug 2008 14:13:41 +0000 (UTC) (envelope-from robillard.etienne@gmail.com) Received: by hs-out-0708.google.com with SMTP id h53so260551hsh.11 for ; Fri, 22 Aug 2008 07:13:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:organization:x-mailer:mime-version:content-type; bh=86jEJMN35hQtwjlsRw/uDr3TrDQF3ADl+gPnW6NvQPU=; b=cuiL0apFYpDgEjc3mHTrtFD0cnnd8VIrMZTjpUcELifYgn96kjWV2kFpsBF4E1xEEu z3DIH1ZJCcMtUna/oc0XNZ4Et2sIe7KepnZ9f3Ggsmut9Fep7EvVOpi+tQnV/L0+YwvH xw77Yn90DK9174TUUSpGvo3ryGMUx5uKYCK4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:organization:x-mailer :mime-version:content-type; b=smjmfZuutV5fLAqwYkB0SOeRV6KD49WAvaIrazt32YfTk0WUToXc0bIW22zdDJ07+B 0ui6CrUV9olF5jGdMDDxdRz8oPpXqqqhxWKna3Hy3EIoHg/GP4/Sp8oC0m8fZidQEJBi 5fVMQVCbg0CIMgt8zSqVlbuiAEkT6y708UuFQ= Received: by 10.100.137.11 with SMTP id k11mr1306398and.39.1219412911438; Fri, 22 Aug 2008 06:48:31 -0700 (PDT) Received: from fluke ( [70.82.244.236]) by mx.google.com with ESMTPS id 5sm2115228wrh.24.2008.08.22.06.48.29 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Aug 2008 06:48:30 -0700 (PDT) Date: Fri, 22 Aug 2008 10:03:21 -0400 From: Etienne Robillard To: ler@lerctr.org Message-ID: <20080822100321.1c8c453d@fluke> Organization: Green Tea Hackers Club X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.10; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/RW2uG+TwKV0/OQsO/o+_8i9" Cc: freebsd-ports@freebsd.org Subject: Problem building sysutils/lsof on 8.0-CURRENT 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: Fri, 22 Aug 2008 14:13:41 -0000 --MP_/RW2uG+TwKV0/OQsO/o+_8i9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Is anyone experimenting problems building sysutils/lsof in 8.0-CURRENT ? It seems for me that this port is currently broken, but I wanted to gather some inputs before submitting a problem-report. Here is the compilation result: ===> Building for lsof-4.81A,2 (cd lib; make DEBUG="-O2" CFGF="-fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DFREEBSDV=8000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"8.0-CURRENT\"") cc -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DFREEBSDV=8000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR="8.0-CURRENT" -I/usr/src/sys -O2 -c ckkv.c In file included from ../dlsof.h:69, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/conf.h:281:1: warning: "minor" redefined In file included from ../machine.h:41, from ckkv.c:33: /usr/src/sys/sys/types.h:318:1: warning: this is the location of the previous definition In file included from /usr/src/sys/sys/refcount.h:38, from /usr/src/sys/sys/file.h:42, from ../dlsof.h:291, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/systm.h:158: warning: conflicting types for built-in function 'log' /usr/src/sys/sys/systm.h:217: error: expected declaration specifiers or '...' before 'uintfptr_t' /usr/src/sys/sys/systm.h:221: error: expected declaration specifiers or '...' before 'uintfptr_t' /usr/src/sys/sys/systm.h:239: error: conflicting types for 'setenv' /usr/include/stdlib.h:163: error: previous declaration of 'setenv' was here In file included from /usr/src/sys/sys/systm.h:254, from /usr/src/sys/sys/refcount.h:38, from /usr/src/sys/sys/file.h:42, from ../dlsof.h:291, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/libkern.h:69: error: static declaration of 'abs' follows non-static declaration /usr/src/sys/sys/libkern.h:70: error: static declaration of 'labs' follows non-static declaration /usr/src/sys/sys/libkern.h:93: error: conflicting types for 'gets' /usr/include/stdio.h:242: error: previous declaration of 'gets' was here /usr/src/sys/sys/libkern.h:99: error: conflicting types for 'random' /usr/include/stdlib.h:201: error: previous declaration of 'random' was here /usr/src/sys/sys/libkern.h:110: warning: conflicting types for built-in function 'strdup' In file included from /usr/src/sys/sys/refcount.h:38, from /usr/src/sys/sys/file.h:42, from ../dlsof.h:291, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/systm.h:277: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splbio' /usr/src/sys/sys/systm.h:278: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splcam' /usr/src/sys/sys/systm.h:279: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splclock' /usr/src/sys/sys/systm.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splhigh' /usr/src/sys/sys/systm.h:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splimp' /usr/src/sys/sys/systm.h:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splnet' /usr/src/sys/sys/systm.h:283: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftcam' /usr/src/sys/sys/systm.h:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftclock' /usr/src/sys/sys/systm.h:285: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttty' /usr/src/sys/sys/systm.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftvm' /usr/src/sys/sys/systm.h:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttq' /usr/src/sys/sys/systm.h:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splstatclock' /usr/src/sys/sys/systm.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spltty' /usr/src/sys/sys/systm.h:290: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splvm' /usr/src/sys/sys/systm.h:291: error: expected ')' before 'ipl' /usr/src/sys/sys/systm.h:303: error: conflicting types for 'pause' /usr/include/unistd.h:357: error: previous declaration of 'pause' was here In file included from ../dlsof.h:375, from ../lsof.h:195, from ckkv.c:43: /usr/include/string.h:81: error: conflicting types for 'strdup' /usr/src/sys/sys/libkern.h:110: error: previous declaration of 'strdup' was here *** Error code 1 Stop in /usr/ports/sysutils/lsof/work/lsof_4.81A.freebsd/lib. *** Error code 1 Stop in /usr/ports/sysutils/lsof/work/lsof_4.81A.freebsd. *** Error code 1 Stop in /usr/ports/sysutils/lsof. Environment is: erob@fluke% uname -a FreeBSD fluke 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Aug 17 22:09:15 EDT 2008 root@fluke:/usr/src/sys/i386/compile/MORENA i386 Any ideas ? Thanks and Regards, Etienne Reference: http://www.freebsd.org/cgi/query-pr.cgi?pr=125555&cat= --MP_/RW2uG+TwKV0/OQsO/o+_8i9 Content-Type: text/plain; name=lsof.txt Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=lsof.txt Script started on Fri Aug 22 09:39:28 2008 2;erob@fluke (ttyp1) - /usr/ports/sysutils/lsof1;erob@fluke (ttyp1)If you need a reminder to leave your terminal, type "leave +hhmm" where "hhmm" represents in how many hours and minutes you need to leave. -- Dru erob@fluke% sudo make build ===> Extracting for lsof-4.81A,2 => MD5 Checksum OK for lsof_4.81A.freebsd.tar.bz2. => SHA256 Checksum OK for lsof_4.81A.freebsd.tar.bz2. ===> Patching for lsof-4.81A,2 ===> Applying FreeBSD patches for lsof-4.81A,2 ===> Configuring for lsof-4.81A,2 Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c ./lockf_owner.h creation succeeded. rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags Testing C library for localtime() and strftime(), using cc ... present ln -s dialects/freebsd/dlsof.h dlsof.h ln -s dialects/freebsd/dmnt.c dmnt.c ln -s dialects/freebsd/dnode.c dnode.c ln -s dialects/freebsd/dnode1.c dnode1.c ln -s dialects/freebsd/dnode2.c dnode2.c ln -s dialects/freebsd/dproc.c dproc.c ln -s dialects/freebsd/dproto.h dproto.h ln -s dialects/freebsd/dsock.c dsock.c ln -s dialects/freebsd/dstore.c dstore.c ln -s dialects/freebsd/dzfs.h dzfs.h ln -s dialects/freebsd/machine.h machine.h Makefile and lib/Makefile created. Makefile.zfs created. ./tests/config.cc created ./tests/config.cflags created ./tests/config.ldflags created ./tests/config.xobj created ===> Building for lsof-4.81A,2 (cd lib; make DEBUG="-O2" CFGF="-fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DFREEBSDV=8000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"8.0-CURRENT\"") cc -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DFREEBSDV=8000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR="8.0-CURRENT" -I/usr/src/sys -O2 -c ckkv.c In file included from ../dlsof.h:69, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/conf.h:281:1: warning: "minor" redefined In file included from ../machine.h:41, from ckkv.c:33: /usr/src/sys/sys/types.h:318:1: warning: this is the location of the previous definition In file included from /usr/src/sys/sys/refcount.h:38, from /usr/src/sys/sys/file.h:42, from ../dlsof.h:291, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/systm.h:158: warning: conflicting types for built-in function 'log' /usr/src/sys/sys/systm.h:217: error: expected declaration specifiers or '...' before 'uintfptr_t' /usr/src/sys/sys/systm.h:221: error: expected declaration specifiers or '...' before 'uintfptr_t' /usr/src/sys/sys/systm.h:239: error: conflicting types for 'setenv' /usr/include/stdlib.h:163: error: previous declaration of 'setenv' was here In file included from /usr/src/sys/sys/systm.h:254, from /usr/src/sys/sys/refcount.h:38, from /usr/src/sys/sys/file.h:42, from ../dlsof.h:291, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/libkern.h:69: error: static declaration of 'abs' follows non-static declaration /usr/src/sys/sys/libkern.h:70: error: static declaration of 'labs' follows non-static declaration /usr/src/sys/sys/libkern.h:93: error: conflicting types for 'gets' /usr/include/stdio.h:242: error: previous declaration of 'gets' was here /usr/src/sys/sys/libkern.h:99: error: conflicting types for 'random' /usr/include/stdlib.h:201: error: previous declaration of 'random' was here /usr/src/sys/sys/libkern.h:110: warning: conflicting types for built-in function 'strdup' In file included from /usr/src/sys/sys/refcount.h:38, from /usr/src/sys/sys/file.h:42, from ../dlsof.h:291, from ../lsof.h:195, from ckkv.c:43: /usr/src/sys/sys/systm.h:277: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splbio' /usr/src/sys/sys/systm.h:278: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splcam' /usr/src/sys/sys/systm.h:279: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splclock' /usr/src/sys/sys/systm.h:280: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splhigh' /usr/src/sys/sys/systm.h:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splimp' /usr/src/sys/sys/systm.h:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splnet' /usr/src/sys/sys/systm.h:283: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftcam' /usr/src/sys/sys/systm.h:284: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftclock' /usr/src/sys/sys/systm.h:285: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttty' /usr/src/sys/sys/systm.h:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsoftvm' /usr/src/sys/sys/systm.h:287: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splsofttq' /usr/src/sys/sys/systm.h:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splstatclock' /usr/src/sys/sys/systm.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spltty' /usr/src/sys/sys/systm.h:290: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'splvm' /usr/src/sys/sys/systm.h:291: error: expected ')' before 'ipl' /usr/src/sys/sys/systm.h:303: error: conflicting types for 'pause' /usr/include/unistd.h:357: error: previous declaration of 'pause' was here In file included from ../dlsof.h:375, from ../lsof.h:195, from ckkv.c:43: /usr/include/string.h:81: error: conflicting types for 'strdup' /usr/src/sys/sys/libkern.h:110: error: previous declaration of 'strdup' was here *** Error code 1 Stop in /usr/ports/sysutils/lsof/work/lsof_4.81A.freebsd/lib. *** Error code 1 Stop in /usr/ports/sysutils/lsof/work/lsof_4.81A.freebsd. *** Error code 1 Stop in /usr/ports/sysutils/lsof. erob@fluke% exit Script done on Fri Aug 22 09:39:44 2008 --MP_/RW2uG+TwKV0/OQsO/o+_8i9--