make errors in -current of 2004.08.13

Randy Bush randy at psg.com
Sat Aug 14 08:26:02 PDT 2004


from a fresh cvsup, new kern/world, and then portupgrade -afvR

errors in
  dns/adns
  security/racoon
  net-mgmt/arts++
  net/openh323
  lang/expect

randy

---

dns/adns

cc -O -pipe -march=pentiumpro -Wall -Wmissing-prototypes -Wwrite-strings -Wstric
t-prototypes -Wcast-qual -Wpointer-arith      -c -o setup.o setup.c
cc -O -pipe -march=pentiumpro -Wall -Wmissing-prototypes -Wwrite-strings -Wstric
t-prototypes -Wcast-qual -Wpointer-arith      -c -o transmit.o transmit.c
transmit.c: In function `adns__mkquery':
transmit.c:98: warning: operation on `p' may be undefined
transmit.c:98: warning: operation on `p' may be undefined
cc -O -pipe -march=pentiumpro -Wall -Wmissing-prototypes -Wwrite-strings -Wstric
t-prototypes -Wcast-qual -Wpointer-arith      -c -o parse.o parse.c
parse.c:115: error: conflicting types for 'adns__parse_domain'
internal.h:571: error: previous declaration of 'adns__parse_domain' was here
parse.c:115: error: conflicting types for 'adns__parse_domain'
internal.h:571: error: previous declaration of 'adns__parse_domain' was here
gmake[1]: *** [parse.o] Error 1
gmake[1]: Leaving directory `/usr/ports/dns/adns/work/adns-1.0/src'
gmake: *** [all] Error 2
*** Error code 2

---

security/racoon

cc -I/usr/local/include -DINET6 -I/usr/local/include -I./missing -DRACOON_PKG_VERSION="\"freebsd-20040617a\""  -DHAVE_FUNC_MACRO=1 -DINET6=1 -DADVAPI=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_LIBSSL=1 -DHAVE_LIBL=1 -DHAVE_LIBY=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_OPENSSL_RSA_H=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_X509_H=1 -DHAVE_SIGNING_C=1 -DHAVE_OPENSSL_OPENSSLV_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_STRDUP=1 -DHAVE_GETIFADDRS=1 -DHAVE_ARC4RANDOM=1  -DINET6 -I/usr/local/include -I./missing -DRACOON_PKG_VERSION="\"freebsd-20040617a\"" -DHAVE_PFKEYV2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -DYIPS_DEBUG -DIPSEC -I. -I. -DSYSCONFDIR=\"/usr/local/etc/racoon\" -DYY_NO_UNPUT -I./../libip
sec -c kmpstat.c
kmpstat.c: In function `com_recv':
kmpstat.c:370: error: label at end of compound statement
*** Error code 1

---

net-mgmt/arts++

gmake[2]: Entering directory `/usr/ports/net-mgmt/arts++/work/arts++-1-1-a8/classes/src'
mkdir .libs
c++ -c -O -pipe -march=pentiumpro -I../include  -fPIC -DPIC Arts.cc -o .libs/Arts.lo
In file included from ../include/caida_t.h:80,
                 from ../include/ArtsHeader.hh:50,
                 from ../include/Arts.hh:49,
                 from Arts.cc:50:
/usr/include/machine/types.h:57: error: conflicting declaration 'typedef unsigned int vm_pindex_t'
/usr/include/sys/types.h:255: error: 'vm_pindex_t' has a previous declaration as `typedef __vm_pindex_t vm_pindex_t'
/usr/include/machine/types.h:57: error: declaration of `typedef unsigned int vm_pindex_t'
/usr/include/sys/types.h:255: error: conflicts with previous declaration `typedef __vm_pindex_t vm_pindex_t'
/usr/include/machine/types.h:57: error: declaration of `typedef unsigned int vm_pindex_t'
/usr/include/sys/types.h:255: error: conflicts with previous declaration `typedef __vm_pindex_t vm_pindex_t'
In file included from /usr/include/c++/3.4/backward/ostream.h:31,
                 from ../include/ArtsHeader.hh:58,
                 from ../include/Arts.hh:49,
                 from Arts.cc:50:
/usr/include/c++/3.4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from ../include/ArtsBgp4RouteTableData.hh:47,
                 from ../include/Arts.hh:61,
                 from Arts.cc:50:
../include/Ipv4PrefixPatricia.hh: In member function `Ipv4PrefixPatricia<Type>& Ipv4PrefixPatricia<Type>::operator=(Ipv4PrefixPatricia<Type>&)':
../include/Ipv4PrefixPatricia.hh:707: error: expected `;' before "rhsIter"
../include/Ipv4PrefixPatricia.hh:708: error: `rhsIter' undeclared (first use this function)
../include/Ipv4PrefixPatricia.hh:708: error: (Each undeclared identifier is reported only once for each function it appears in.)
../include/Ipv4PrefixPatricia.hh: In member function `std::pair<Ipv4PrefixPatricia<Type>::iterator, bool>& Ipv4PrefixPatricia<Type>::_insert(const Ipv4PrefixPatricia<Type>::VlsmListEntry&)':
../include/Ipv4PrefixPatricia.hh:1478: error: type/value mismatch at argument 1 in template parameter list for `template<class _T1, class _T2> struct std::pair'
../include/Ipv4PrefixPatricia.hh:1478: error:   expected a type, got `Ipv4PrefixPatricia<Type>::iterator'
../include/Ipv4PrefixPatricia.hh:1478: error: ISO C++ forbids declaration of `retVal' with no type
../include/Ipv4PrefixPatricia.hh:1479: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1479: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh:1480: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1480: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh:1481: error: `second' has not been declared
../include/Ipv4PrefixPatricia.hh:1481: error: request for member of non-aggregate type before '=' token
../include/Ipv4PrefixPatricia.hh:1494: error: type/value mismatch at argument 1 in template parameter list for `template<class _T1, class _T2> struct std::pair'
../include/Ipv4PrefixPatricia.hh:1494: error:   expected a type, got `Ipv4PrefixPatricia<Type>::iterator'
../include/Ipv4PrefixPatricia.hh:1494: error: ISO C++ forbids declaration of `retVal' with no type
../include/Ipv4PrefixPatricia.hh:1495: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1495: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh:1496: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1496: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh:1497: error: `second' has not been declared
../include/Ipv4PrefixPatricia.hh:1497: error: request for member of non-aggregate type before '=' token
../include/Ipv4PrefixPatricia.hh:1542: error: type/value mismatch at argument 1 in template parameter list for `template<class _T1, class _T2> struct std::pair'
../include/Ipv4PrefixPatricia.hh:1542: error:   expected a type, got `Ipv4PrefixPatricia<Type>::iterator'
../include/Ipv4PrefixPatricia.hh:1542: error: ISO C++ forbids declaration of `retVal' with no type
../include/Ipv4PrefixPatricia.hh:1543: error: `second' has not been declared
../include/Ipv4PrefixPatricia.hh:1543: error: request for member of non-aggregate type before '=' token
../include/Ipv4PrefixPatricia.hh:1544: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1544: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh:1545: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1545: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh:1546: error: `first' has not been declared
../include/Ipv4PrefixPatricia.hh:1546: error: request for member of non-aggregate type before '.' token
../include/Ipv4PrefixPatricia.hh: In member function `Ipv4PrefixPatricia<Type>& Ipv4PrefixPatricia<Type>::operator=(Ipv4PrefixPatricia<Type>&) [with Type = ArtsBgp4RouteEntry]':Arts.cc:153:   instantiated from here
../include/Ipv4PrefixPatricia.hh:707: error: dependent-name `Ipv4PrefixPatricia<Type>::iterator' is parsed as a non-type, but instantiation yields a type
../include/Ipv4PrefixPatricia.hh:707: note: say `typename Ipv4PrefixPatricia<Type>::iterator' if a type is meant
gmake[2]: *** [Arts.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/net-mgmt/arts++/work/arts++-1-1-a8/classes/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/net-mgmt/arts++/work/arts++-1-1-a8/classes'
gmake: *** [classes/lib/libArts.a] Error 2
*** Error code 2

---

net/openh323

c++  -DP_FREEBSD=502128 -I/usr/local/include -I/usr/local/include -D_REENTRANT -Wall -DP_FREEBSD=502128 -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix -DPTRACING -I/usr/ports/net/openh323/work/openh323/include -DHAS_OSS -DPTRACING -I/usr/ports/devel/pwlib/work/pwlib/include -DNDEBUG -O -pipe -march=pentiumpro -c gkserver.cxx -o /usr/ports/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/gkserver.o
In file included from /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:776,
                 from /usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
                 from /usr/ports/devel/pwlib/work/pwlib/include/ptlib.h:139,
                 from gkserver.cxx:549:
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()':
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/contain.inl:419: warning: right-hand operand of comma has no effect
In file included from gkserver.cxx:555:
/usr/ports/net/openh323/work/openh323/include/gkserver.h: At global scope:
/usr/ports/net/openh323/work/openh323/include/gkserver.h:405: error: `virtual H323Transaction::Response H323GatekeeperRRQ::OnHandlePDU()' is protected
/usr/ports/net/openh323/work/openh323/include/gkserver.h:1846: error: within this context
gkserver.cxx: In member function `virtual void H323GatekeeperServer::RemoveCall(H323GatekeeperCall*)':
gkserver.cxx:3547: warning: right-hand operand of comma has no effect
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h: At global scope:
/usr/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/../../pdirect.h:458: 
warning: inline function `static BOOL PDirectory::Remove(const PString&)' used but never defined
gmake[2]: *** [/usr/ports/net/openh323/work/openh323/lib/obj_FreeBSD_x86_r/gkserver.o] Error 1
gmake[2]: Leaving directory `/usr/ports/net/openh323/work/openh323/src'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/usr/ports/net/openh323/work/openh323'
gmake: *** [optnoshared] Error 2
*** Error code 2

---

lang/expect

===>  Configuring for expect-5.38.0_3
configuring Expect 5.38.0
checking for autoconf... no
checking configure up to date... no
configure: warning: ./configure appears to be old (./configure.in and/or ./Makefile.in are newer) and the autoconf program to fix this situation was not found. 
 If you've no idea what this means, enter the command "touch ./configure" and restart ./configure.
===>  Building for expect-5.38.0_3
make: cannot open Makefile.
*** Error code 2

-30-



More information about the freebsd-ports mailing list