Subject: pkg/23436: tcl-8.3.4 doesn't build on Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ignatios@theory.cs.uni-bonn.de>
List: netbsd-bugs
Date: 11/14/2003 13:12:42
>Number:         23436
>Category:       pkg
>Synopsis:       tcl-8.3.4 doesn't build on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 14 12:13:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        cvs update of pkgsrc and bootstrap-pkgsrc were done on 2003-11-13, ~noon CET.
>Organization:
computer science department, university of Bonn, Germany
>Environment:
SunOS theory 5.8 Generic_108528-24 sun4u sparc SUNW,Ultra-5_10
>Description:
Two errors are reported:

===> Building for tcl-8.3.4
awk: illegal field $(/usr/local/src/pkgsrc/lang/tcl/work/.buildlink/bin/as)
 input record number 1
 source line number 1
bmake: "/usr/local/pkg/share/mk/sys.mk" line 22: warning: "type as | awk '{print $$NF}'" returned non-zero status
Two errors are reported:

===> Building for tcl-8.3.4
awk: illegal field $(/usr/local/src/pkgsrc/lang/tcl/work/.buildlink/bin/as)
 input record number 1
 source line number 1
bmake: "/usr/local/pkg/share/mk/sys.mk" line 22: warning: "type as | awk '{print $$NF}'" returned non-zero status

gcc -pipe -c -O -O -O -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DNO_FLOAT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -D_REENTRANT=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" ./../compat/waitpid.c  -fPIC -DPIC -o .libs/waitpid.o
./../compat/waitpid.c:73: conflicting types for `waitpid'
/usr/include/sys/wait.h:87: previous declaration of `waitpid'
*** Error code 1
Two errors are reported:

===> Building for tcl-8.3.4
awk: illegal field $(/usr/local/src/pkgsrc/lang/tcl/work/.buildlink/bin/as)
 input record number 1
 source line number 1
bmake: "/usr/local/pkg/share/mk/sys.mk" line 22: warning: "type as | awk '{print $$NF}'" returned non-zero status

[...]

gcc -pipe -c -O -O -O -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_UNAME=1 -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DNO_FLOAT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -DUSE_DIRENT2_H=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -D_REENTRANT=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" ./../compat/waitpid.c  -fPIC -DPIC -o .libs/waitpid.o
./../compat/waitpid.c:73: conflicting types for `waitpid'
/usr/include/sys/wait.h:87: previous declaration of `waitpid'
*** Error code 1


>How-To-Repeat:
bmake
>Fix:
not known.
>Release-Note:
>Audit-Trail:
>Unformatted: