Subject: pkg/37516: Transmission 0.95 doesn't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <Gilles@Gravier.org>
List: pkgsrc-bugs
Date: 12/11/2007 04:25:00
>Number:         37516
>Category:       pkg
>Synopsis:       Transmission 0.95 doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 11 04:25:00 +0000 2007
>Originator:     Gravier.org Root
>Release:        NetBSD 3.1
>Organization:
Famille Gravier
>Environment:
System: NetBSD mailhost 3.1 NetBSD 3.1 (MAILHOST) #0: Fri May 25 13:28:50 CEST 2007 root@mailhost:/usr/src/sys/arch/i386/compile/MAILHOST i386
Architecture: i386
Machine: i386
>Description:
	Latest release of Transmission 0.95 doesn't build
>How-To-Repeat:
	cd /usr/pkgsrc/net/Transmission
	make

	Yields the following error messages :

cc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"0.95\" -DPACKAGE_STRING=\"transmission\ 0.95\" -DPACKAGE_BUGREPORT=\"http://transmission.m0k.org/trac/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"0.95\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DSIZEOF_VOIDP=4 -DHAVE_PTHREAD=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I.  -I. -I.. -D__TRANSMISSION__ -I../third-party/libevent -DBSD -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/include -pthread  -g -Wall -W -O3 -funroll-loops -MT platform.o -MD -MP -MF .deps/pl
 atform.Tpo -c -o platform.o platform.c
In file included from /usr/include/sys/sysctl.h:44,
                 from platform.c:458:
/usr/include/sys/ucred.h:49: error: `NGROUPS' undeclared here (not in a function)
/usr/include/sys/ucred.h:59: error: `NGROUPS' undeclared here (not in a function)
In file included from /usr/include/sys/sysctl.h:46,
                 from platform.c:458:
/usr/include/sys/proc.h:66: error: `MAXLOGNAME' undeclared here (not in a function)
/usr/include/sys/proc.h:243: error: `MAXCOMLEN' undeclared here (not in a function)
In file included from platform.c:458:
/usr/include/sys/sysctl.h:402: error: `MAXLOGNAME' undeclared here (not in a function)
gmake[2]: *** [platform.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/net/Transmission/work/transmission-0.95/libtransmission'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/net/Transmission/work/transmission-0.95/libtransmission'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/Transmission
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/Transmission
bash-3.2# 


>Fix:
	N/A