Subject: pkg/29455: lang/baci build breaks after bison update
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 02/19/2005 15:26:00
>Number:         29455
>Category:       pkg
>Synopsis:       lang/baci build breaks after bison update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 19 15:26:00 +0000 2005
>Originator:     diro@nixsys.bz
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

===> Building for baci-20000725
cd /usr/src/sys/pkgsrc/lang/baci/work/bacisrc/ccomp && /usr/bin/make
gcc -g -Wall -c baccutil.c
rm -f date.c
(cd ../lib; make makedate)
gcc -g -Wall -o makedate makedate.c
../lib/makedate
gcc -g -Wall -c date.c
bison -y -tvd bac.y
mv -f y.tab.c gram.c
mv -f y.tab.h ytab.h
chmod 444 gram.c ytab.h
gcc -g -Wall -c gram.c
In file included from y.tab.c:462:
/usr/include/stdlib.h:117: conflicting types for `free'
bac.y:29: previous declaration of `free'
*** Error code 1

Stop.

>How-To-Repeat:
	build baci after updating bison
>Fix: