Subject: pkg/29905: www/thy doesn't build (on sparc)
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/06/2005 16:05:00
>Number:         29905
>Category:       pkg
>Synopsis:       Build of www/thy (2005Q1/sparc) breaks at CC src/tls.o
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 06 16:05:00 +0000 2005
>Release:        NetBSD 2.0
	Hamburger Gesellschaft mit beschränkter Hoffnung
System: NetBSD 2.0 NetBSD 2.0 (GENERIC) #0: Thu Dec 2 01:57:30 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/sparc/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/sparc/compile/GENERIC sparc
pkgsrc 2005Q1
# $NetBSD: Makefile,v 1.5 2005/03/20 17:36:56 jmmv Exp $
DISTNAME=               thy-0.9.3
PKGREVISION=            2

Architecture: sparc
Machine: sparc
Building of www/thy breaks with:

 CC src/stats.o
 CC src/tls.o
tls.c: In function _thy_tls_session_create':
tls.c:458: warning: implicit declaration of function
tls.c:458: error: gnutls_certificate_server_select_function'
undeclared (first use in this function)
tls.c:458: error: (Each undeclared identifier is reported only once
tls.c:458: error: for each function it appears in.)
tls.c:458: error: parse error before ')' token
tls.c:456: warning: empty body in an if-statement
tls.c: In function thy_rsa_params_generate':
tls.c:505: warning: implicit declaration of function
tls.c: In function thy_tls_cgi_setup_env':
tls.c:889: warning: unsigned int format, size_t arg (arg 3)
gmake[1]: *** [tls.o] Error 1
gmake: *** [all] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/www/thy

The command running according to /usr/pkgsrc/www/thy/work/.work.log
at this point is:

<.> /usr/pkgsrc/www/thy/work/.gcc/bin/gcc -c
-I/usr/pkgsrc/www/thy/work/.buildlink/include -I. -I..
-DSYSCONFDIR=\"/usr/pkg/etc/thy\" -DLIBDIR=\"/usr/pkg/lib\" -Winline
-Wshadow -Wpointer-arith -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wbad-function-cast
-Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral
-Wformat-security -Wimplicit -Wmissing-braces -Wparentheses -Wswitch
-Wunused -Wsign-compare -Wmain -Wreturn-type -Wsequence-point
-Wdiv-by-zero -W -Wno-unused-parameter -Wno-shadow -O2 -pipe
-mcpu=supersparc -I../lib tls.c -o tls.o

	cd /usr/pkgsrc/www/thy