Subject: pkg/24182: devel/pwlib build breaks because of missing #define
To: None <gnats-bugs@gnats.netbsd.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 01/21/2004 13:59:28
>Number: 24182
>Category: pkg
>Synopsis: devel/pwlib build breaks because of missing #define
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 21 13:00:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Hauke Fath <hf@spg.tu-darmstadt.de>
>Release: NetBSD 1.6ZE
>Organization:
--
Hauke Fath /~\ The ASCII Ribbon Campaign
Institut für Nachrichtentechnik \ / No HTML/RTF in email
TU Darmstadt X No Word docs in email
Ruf +49-6151-16-3281 / \ Respect for open standards
>Environment:
System: NetBSD heiligenberg 1.6ZE NetBSD 1.6ZE (HEILIGENBERG) #2: Tue Oct 28 18:39:50 CET 2003 hf@heiligenberg:/var/obj/netbsd-builds/i386/obj/sys/arch/i386/compile/HEILIGENBERG i386
Architecture: i386
Machine: i386
>Description:
making the devel/pwlib package breaks because of a missing system include.
>How-To-Repeat:
cd /usr/src/pkgsrc/devel/pwlib && make
[...]
c++ -Wall -DP_NETBSD -I/usr/src/pkgsrc/devel/pwlib/work/pwlib/include/ptlib/unix -I/usr/src/pkgsrc/devel/pwlib/work/pwlib/include -I/usr/include -DP_USE_PRAGMA -DP_SSL -I/usr/include/include -I/usr/include/crypto -DP_PTHREADS -DP_HAS_IPV6 -DPHAS_TEMPLATES -DPBYTE_ORDER=PLITTLE_ENDIAN -I/usr/src/pkgsrc/devel/pwlib/work/pwlib/include/ptlib/unix -I/usr/src/pkgsrc/devel/pwlib/work/pwlib/include -O3 -DNDEBUG -O2 -march=pentiumpro -I/usr/pkg/include -DPTRACING=1 -c socket.cxx -fPIC -DPIC -o /usr/src/pkgsrc/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/.libs/socket.o
In file included from /usr/include/sys/sysctl.h:44,
from socket.cxx:307:
/usr/include/sys/ucred.h:47: `NGROUPS' was not declared in this scope
/usr/include/sys/ucred.h:55: `NGROUPS' was not declared in this scope
In file included from /usr/include/sys/sysctl.h:46,
from socket.cxx:307:
/usr/include/sys/proc.h:65: `MAXLOGNAME' was not declared in this scope
/usr/include/sys/proc.h:235: `MAXCOMLEN' was not declared in this scope
In file included from socket.cxx:307:
/usr/include/sys/sysctl.h:321: `MAXLOGNAME' was not declared in this scope
gmake[1]: *** [/usr/src/pkgsrc/devel/pwlib/work/pwlib/lib/obj_NetBSD_x86_r/socket.o] Error 1
gmake[1]: Leaving directory `/usr/src/pkgsrc/devel/pwlib/work/pwlib/src/ptlib/unix'
gmake: *** [opt] Error 2
*** Error code 2
Stop.
make: stopped in /usr/src/pkgsrc/devel/pwlib
*** Error code 1
Stop.
make: stopped in /usr/src/pkgsrc/devel/pwlib
[hf@heiligenberg] /<3>devel/pwlib > head -1 Makefile
# $NetBSD: Makefile,v 1.26 2004/01/20 12:13:29 agc Exp $
[hf@heiligenberg] /<3>devel/pwlib >
>Fix:
Probably add the missing #include, or fix the autoconf stuff to add it.
>Release-Note:
>Audit-Trail:
>Unformatted: