Subject: pkg/11898: make build fails in pkgsrc/databases/mysql-server
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: netbsd-bugs
Date: 01/05/2001 10:23:13
>Number:         11898
>Category:       pkg
>Synopsis:       make build fails in pkgsrc/databases/mysql-server
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 05 10:23:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        1.5.1_ALPHA
>Organization:
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */
>Environment:
	
System: NetBSD cappi 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (CAPPI) #0: Mon Dec 11 20:58:28 CET 2000 root@cappi:/usr/src/sys/arch/i386/compile/CAPPI i386


>Description:
	I get some weird errors trying to compile pkgsrc/databases/mysql-server: (the same effect on two machines)
	I wonder what's wrong, make build worked fine some time ago on this machines. I haven't do make build
	in meantime.

cc -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR="\"/var/mysql\"" -DHAVE_CONFIG_H -I./../include -I../include -I..    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -O2 -Dunix -Dunix -c thr_alarm.c
cc -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR="\"/var/mysql\"" -DHAVE_CONFIG_H -I./../include -I../include -I..    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -O2 -Dunix -Dunix -c thr_lock.c
cc -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR="\"/var/mysql\"" -DHAVE_CONFIG_H -I./../include -I../include -I..    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -O2 -Dunix -Dunix -c thr_mutex.c
cc -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR="\"/var/mysql\"" -DHAVE_CONFIG_H -I./../include -I../include -I..    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -O2 -Dunix -Dunix -c my_pthread.c
my_pthread.c: In function `my_pthread_setprio':
my_pthread.c:26: storage size of `tmp_sched_param' isn't known
my_pthread.c:29: `SCHED_OTHER' undeclared (first use in this function)
my_pthread.c:29: (Each undeclared identifier is reported only once
my_pthread.c:29: for each function it appears in.)
my_pthread.c: In function `my_pthread_getprio':
my_pthread.c:38: storage size of `tmp_sched_param' isn't known
my_pthread.c: In function `my_pthread_attr_setprio':
my_pthread.c:55: storage size of `tmp_sched_param' isn't known
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
zuntum@cappi:/usr/pkgsrc/databases/mysql-server# ident Makefile
Makefile:
     $NetBSD: Makefile,v 1.13 2000/08/23 14:46:52 wiz Exp $

	
>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: