Subject: pkg/34823: gcc3-f77 fails to build on i386 4.0_BETA
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <oster@cs.usask.ca>
List: pkgsrc-bugs
Date: 10/15/2006 03:25:01
>Number:         34823
>Category:       pkg
>Synopsis:       lang/gcc3-f77 fails to build on i386 4.0_BETA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Sun Oct 15 03:25:00 +0000 2006
>Originator:     oster@cs.usask.ca
>Release:        NetBSD 4.0_BETA
>Organization:
Message-Id: <20061015032116.11E4219CB03@mickey.usask.ca>
Date: Sat, 14 Oct 2006 21:21:16 -0600 (CST)

Sometimes.
>Environment:
System:	NetBSD gonzo 4.0_BETA NetBSD 4.0_BETA (GONZO) #0: Sat Aug 19 14:54:39 CST 2006  oster@gonzo:/u1/builds/build114/src/sys/arch/i386/compile/GONZO i386
Architecture: i386
Machine: i386
>Description:
	lang/gcc3-f77 fails to build on 4.0_BETA (i386) with the following errors:

...
cc -c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes    -DHAVE_CONFIG_H -I/usr/include -I/usr/pkg/include   -I. -If -I. -I./f -I./config -I./../include f/com.c -o f/com.o
f/com.c: In function 'ffecom_char_args_x_':
f/com.c:1938: warning: pointer targets in passing argument 2 of 'build_string' differ in signedness
f/com.c: In function 'ffecom_constantunion':
f/com.c:10528: warning: pointer targets in passing argument 2 of 'build_string' differ in signedness
f/com.c:10549: warning: pointer targets in passing argument 2 of 'build_string' differ in signedness
f/com.c: At top level:
f/com.c:11080: error: conflicting types for 'ffecom_gfrt_basictype'
f/com.h:236: error: previous declaration of 'ffecom_gfrt_basictype' was here
gmake: *** [f/com.o] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/gcc3-f77
*** Error code 1
...

This fails the same way under -current as well.

>How-To-Repeat:
	On a 4.0_BETA i386 box:
	cd /usr/pkgsrc/lang/gcc3-f77
	make package

>Fix:
	Please.