trouble building lsof?

2013-09-01 Thread Gary Aitken
portsnap and update just done, 
UPDATING shows nothing, 
/etc/make.conf contains
  WITH_PKGNG=yes

#cd /usr/ports
#portmaster sysutils/lsof
 ...
=== All dependencies are up to date

===  Cleaning for lsof-4.88.d,8
===   lsof-4.88.d,8 depends on file: /usr/local/sbin/pkg - found
=== Fetching all distfiles required by lsof-4.88.d,8 for building
===  Extracting for lsof-4.88.d,8
= SHA256 Checksum OK for lsof_4.88D.freebsd.tar.bz2.
===  Patching for lsof-4.88.d,8
===  Configuring for lsof-4.88.d,8
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_machi
ne.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.88.d,8
(cd lib; /usr/bin/make DEBUG=-O2 CFGF=-pipe -fno-strict-aliasing -DHASTASKS 
-DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASWCTYPE_H -
DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV 
-DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T 
-DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6
 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\9.1-RELEASE-p6\)
Constructing version.h
cc  -pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE 
-DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS
1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H 
-DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHA
S_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS 
-DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VST
R=\9.1-RELEASE-p6\ -I/usr/src/sys -O2 -c dmnt.c
cc  -pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE 
-DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS
1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H 
-DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHA
S_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS 
-DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VST
R=\9.1-RELEASE-p6\ -I/usr/src/sys -O2 -c dnode.c
cc  -pipe -fno-strict-aliasing -DHASTASKS -DHASEFFNLINK=i_effnlink -DHASF_VNODE 
-DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS
1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H 
-DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHA
S_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS 
-DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VST
R=9.1-RELEASE-p6 -I/usr/src/sys -O2 -c ckkv.c
In file included from /usr/include/_ctype.h:94,
 from /usr/include/ctype.h:46,
 from lsof.h:49,
 from dnode.c:39:
/usr/include/runetype.h:92: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'const'
/usr/include/runetype.h: In function '__getCurrentRuneLocale':
/usr/include/runetype.h:96: error: '_ThreadRuneLocale' undeclared (first use in 
this function)
/usr/include/runetype.h:96: error: (Each undeclared identifier is reported only 
once
/usr/include/runetype.h:96: error: for each function it appears in.)
 ... bazillions more :-(

has to be something stupid on my part... hints?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: trouble building lsof?

2013-09-01 Thread ill...@gmail.com
On 1 September 2013 20:36, Gary Aitken vagab...@blackfoot.net wrote:
 portsnap and update just done,
 UPDATING shows nothing,
 /etc/make.conf contains
   WITH_PKGNG=yes

I don't know, but I have it set to use gcc46  it builds fine.

Do you perhaps have
WITH_CLANG_IS_CC=
set?

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: trouble building lsof?

2013-09-01 Thread ill...@gmail.com
On 1 September 2013 22:32, ill...@gmail.com ill...@gmail.com wrote:
 On 1 September 2013 20:36, Gary Aitken vagab...@blackfoot.net wrote:
 portsnap and update just done,
 UPDATING shows nothing,
 /etc/make.conf contains
   WITH_PKGNG=yes

 I don't know, but I have it set to use gcc46  it builds fine.

 Do you perhaps have
 WITH_CLANG_IS_CC=
 set?


Check that.

It builds fine with clang on 9.2-RC3.


-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: trouble building lsof?

2013-09-01 Thread Gary Aitken
On 09/01/13 20:34, ill...@gmail.com wrote:
 On 1 September 2013 22:32, ill...@gmail.com ill...@gmail.com wrote:
 On 1 September 2013 20:36, Gary Aitken vagab...@blackfoot.net wrote:
 portsnap and update just done,
 UPDATING shows nothing,
 /etc/make.conf contains
   WITH_PKGNG=yes

 I don't know, but I have it set to use gcc46  it builds fine.

 Do you perhaps have
 WITH_CLANG_IS_CC=
 set?

 
 Check that.
 
 It builds fine with clang on 9.2-RC3.

strange.

#make build-depends-list
/usr/ports/ports-mgmt/pkg

there are no dependencies other than bare system ones,
so it's doubly strange.

It's complaining that
  ThreadRuneLocale
is undefined.
It's referenced in /usr/include/runetype.h,
but not defined in any of /usr/include/*.h or /usr/include/sys/*.h
Can someone tell me where it's supposed to be defined?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org