Skip site navigation (1)Skip section navigation (2)
Date:      6 Sep 2008 22:57:54 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127166: [broken] sysutils/lsof 4.81D
Message-ID:  <20080907015754.47921.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200809070210.m872A2Wa016707@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127166
>Category:       ports
>Synopsis:       [broken] sysutils/lsof 4.81D
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 07 02:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 7.0-STABLE FreeBSD 7.0-STABLE #5: Fri Aug 1 11:53:17 BRT 2008 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX i386

>Description:
	Build breaks complaining that cpumask_t has been redefined. It has already been defined by including <sys/types.h> with _KERNEL defined. However, lsof internal header <machine.h> does another typedef on it.
	Maintainer has been CCed.

>How-To-Repeat:
	Just try building on a recent 7-STABLE.

>Fix:

	Not applicable. This is a bug report.

--- log begins here ---
Script started on Sat Sep  6 22:53:44 2008
===>  Vulnerability check disabled, database not found
===>  Extracting for lsof-4.81D,2
=> MD5 Checksum OK for lsof_4.81D.freebsd.tar.bz2.
=> SHA256 Checksum OK for lsof_4.81D.freebsd.tar.bz2.
===>  Patching for lsof-4.81D,2
===>  Applying FreeBSD patches for lsof-4.81D,2
===>  Configuring for lsof-4.81D,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.81D,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=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"7.0-STABLE\"")
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=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR="7.0-STABLE" -I/usr/src/sys -O2 -c ckkv.c
In file included from ckkv.c:33:
../machine.h:62: error: redefinition of typedef 'cpumask_t'
/usr/src/sys/sys/types.h:146: error: previous declaration of 'cpumask_t' was here
*** Error code 1

Script done on Sat Sep  6 22:53:45 2008
--- log ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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