Subject: Re: pkg/29488: package lang/gcc3 does not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: John R. Shannon <john@johnrshannon.com>
List: pkgsrc-bugs
Date: 02/22/2005 10:21:01
The following reply was made to PR pkg/29488; it has been noted by GNATS.
From: "John R. Shannon" <john@johnrshannon.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/29488: package lang/gcc3 does not build
Date: Tue, 22 Feb 2005 03:20:29 -0700
Can you try building like this:
1. Install lang/gcc3-c
2. Define:
GCC_REQD+=3.3
USE_PKGSRC_GCC=YES
3. Install lang/gcc-*
On Monday 21 February 2005 10:47 pm, almeyers@consult-meyers.com wrote:
> >Number: 29488
> >Category: pkg
> >Synopsis: package lang/gcc3 does not build
> >Confidential: no
> >Severity: critical
> >Priority: high
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue Feb 22 05:47:00 +0000 2005
> >Originator: A L Meyers
> >Release: latest cvs pkgsrc bootstrapped to Mandrake Linux 10.1 i386
> >Organization:
>
> Meyers Consulting
>
> >Environment:
>
> Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004
> i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
>
> >Description:
>
> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -DHAVE_CONFIG_H -I/usr/pkg/include -I. -If -I.
> -I./f -I./config -I./../include f/bad.c -o f/bad.o gcc -c -g -DIN_GCC
> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -DHAVE_CONFIG_H -I/usr/pkg/include -I. -If -I. -I./f -I./config
> -I./../include f/bit.c -o f/bit.o gcc -c -g -DIN_GCC -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H
> -I/usr/pkg/include -I. -If -I. -I./f -I./config -I./../include f/bld.c
> -o f/bld.o gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H
> -I/usr/pkg/include -I. -If -I. -I./f -I./config -I./../include f/com.c -o
> f/com.o f/com.c:11080: error: conflicting types for 'ffecom_gfrt_basictype'
> f/com.h:236: error: previous declaration of 'ffecom_gfrt_basictype' was
> here f/com.c:11080: error: conflicting types for 'ffecom_gfrt_basictype'
> f/com.h:236: error: previous declaration of 'ffecom_gfrt_basictype' was
> here make: *** [f/com.o] Fehler 1
> *** Error code 2
>
> Stop.
> bmake: stopped in /usr/pkgsrc/lang/gcc3-f77
> ===>
> ===> There was an error during the ``build'' phase.
> ===> Please investigate the following for more information:
> ===> * log of the build
> ===> * /usr/pkgsrc/lang/gcc3-f77/work/.work.log
> ===>
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/pkgsrc/lang/gcc3-f77
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/pkgsrc/lang/gcc3
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/pkgsrc/lang/gcc3
>
> >How-To-Repeat:
>
> do "bmake install clean" in lang/gcc3
>
> >Fix:
>
> none known; Mandrake Linux 10.1 i386 up to date uses gcc 3.4
--
John R. Shannon, CISSP
Sr. Software Scientist
Science Applications International Corporation
john.r.shannon@saic.com
john.r.shannon@us.army.mil
john@johnrshannon.com