Subject: Re: gcc 2.95.3 issue
To: Jeremy C. Reed <reed@reedmedia.net>
From: Sean Davis <dive@endersgame.net>
List: tech-pkg
Date: 11/23/2003 01:42:09
On Sat, Nov 22, 2003 at 09:39:27PM -0800, Jeremy C. Reed wrote:
> On Sat, 22 Nov 2003, Sean Davis wrote:
>=20
> > Okay, I know pkgsrc is/was frozen for "stability fixes for branching" or
> > some such, but why does every package I try to build now require gcc 2.=
95.3?
>=20
> What packages?

Well, first of all, pkgtools/digest, since I was trying to update
pkgtools/pkglint which depended on that. Then it started building gcc.
>=20
> I have not seen that (on systems with gcc 2 or gcc 3). Other pkgsrc
> developers (I assume) have not seen that either.
>=20
> Any other details?

In order to save time, I didn't wipe out the gcc work directory, so the
error comes up quicker:

(in /usr/pkgsrc/pkgtools/pkglint):
eros# make install
=3D=3D=3D> do-fetch [pkglint-3.65] =3D=3D=3D> Checking for vulnerabilities =
in pkglint-3.65
work.i386 -> /egnet/obj/wrkobj/pkgtools/pkglint/work.i386
=3D=3D=3D> extract-message [pkglint-3.65] =3D=3D=3D> Extracting for pkglint=
-3.65
=3D=3D=3D> install-depends [pkglint-3.65] =3D=3D=3D> Required installed pac=
kage digest>=3D20010101: digest-20021220 found
=3D=3D=3D> install-depends [pkglint-3.65] =3D=3D=3D> Required installed pac=
kage perl>=3D5.0: perl-5.6.1nb9 found
=3D=3D=3D> install-depends [pkglint-3.65] =3D=3D=3D> Required package gcc>=
=3D2.95.3: NOT found
=3D=3D=3D> install-depends [pkglint-3.65] =3D=3D=3D> Verifying reinstall fo=
r ../../lang/gcc
=3D=3D=3D> do-fetch [gcc-2.95.3nb4, pkglint-3.65] =3D=3D=3D> Checking for v=
ulnerabilities in gcc-2.95.3nb4
=3D=3D=3D> build-message [gcc-2.95.3nb4, pkglint-3.65] =3D=3D=3D> Building =
for gcc-2.95.3nb4
gmake[1]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/l=
ibiberty'
gmake[2]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/l=
ibiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/li=
biberty/testsuite'
gmake[1]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/li=
biberty'
gmake[1]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/t=
exinfo'
/usr/pkg/bin/gmake all-recursive
gmake[2]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/t=
exinfo'
Making all in intl
gmake[3]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/t=
exinfo/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/te=
xinfo/intl'
Making all in lib
gmake[3]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/t=
exinfo/lib'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/te=
xinfo/lib'
Making all in makeinfo
gmake[3]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/t=
exinfo/makeinfo'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/te=
xinfo/makeinfo'
gmake[2]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/te=
xinfo'
gmake[1]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/te=
xinfo'
gmake[1]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/e=
tc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/et=
c'
gmake[1]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/g=
cc'
(cd intl && /usr/pkg/bin/gmake all)
gmake[2]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/g=
cc/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/gc=
c/intl'
cd ch; /usr/pkg/bin/gmake "AR_FLAGS_FOR_TARGET=3Drc" "AR_FOR_TARGET=3Dar" "=
BISON=3Dbison" "BISONFLAGS=3D" "CFLAGS=3D-O2 -I/usr/pkg/include" "CLIB=3D" =
"GCC_FOR_TARGET=3D/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/gcc/xgcc -B/e=
gnet/obj/wrkobj/lang/gcc/work.i386/objdir/gcc/ -B/usr/pkg/gcc-2.95.3/i386--=
netbsdelf/bin/ -I/usr/pkg/gcc-2.95.3/i386--netbsdelf/include" "LDFLAGS=3D-s=
" "LEX=3Dflex" "LEXFLAGS=3D" "LN=3Dln" "LN_S=3Dln -s" "MAKEINFO=3D/egnet/ob=
j/wrkobj/lang/gcc/work.i386/objdir/texinfo/makeinfo/makeinfo " "MAKEINFOFLA=
GS=3D" "RANLIB_FOR_TARGET=3Dranlib" "RANLIB_TEST_FOR_TARGET=3D[ -f ranlib ]=
 || ( [ "i386--netbsdelf" =3D "i386--netbsdelf" ] && [ -f /usr/bin/ranlib -=
o -f /bin/ranlib ] )" "SHELL=3D/bin/sh" "STAGE_PREFIX=3D" "exeext=3D" "buil=
d_exeext=3D" "objext=3D.o" "exec_prefix=3D/usr/pkg/gcc-2.95.3" "prefix=3D/u=
sr/pkg/gcc-2.95.3" "local_prefix=3D/usr/local" "gxx_include_dir=3D/usr/pkg/=
gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3/../../../..`echo /usr/pkg/gcc=
-2.95.3 | sed -e 's|^/usr/pkg/gcc-2.95.3||' -e 's|/[^/]*|/..|g'`/include/g+=
+-3" "tooldir=3D/usr/pkg/gcc-2.95.3/i386--netbsdelf" "gcc_tooldir=3D/usr/pk=
g/gcc-2.95.3/lib/gcc-lib/i386--netbsdelf/2.95.3/../../../../i386--netbsdelf=
" "bindir=3D/usr/pkg/gcc-2.95.3/bin" "libsubdir=3D/usr/pkg/gcc-2.95.3/lib/g=
cc-lib/i386--netbsdelf/2.95.3" "datadir=3D/usr/pkg/gcc-2.95.3/share" "distd=
ir=3D../tmp/\$(subdir)" "localedir=3D/usr/pkg/gcc-2.95.3/share/locale" "CC=
=3Dcc" "CHILLFLAGS=3D-O2 -I/usr/pkg/include" "CHILL_FOR_TARGET=3Dcc" "CHILL=
_LIB=3D-lchill" "GNUCHILL_VERSION=3D1.5.2" ../cc1chill
gmake[2]: Entering directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/g=
cc/ch'
cc -c  -DIN_GCC   -O2 -I/usr/pkg/include    -I/usr/pkg/include   -I. -I.. -=
I/egnet/obj/wrkobj/lang/gcc/work.i386/gcc-2.95.3/gcc/ch -I/egnet/obj/wrkobj=
/lang/gcc/work.i386/gcc-2.95.3/gcc/ch/.. -I/egnet/obj/wrkobj/lang/gcc/work.=
i386/gcc-2.95.3/gcc/ch/../config -I/egnet/obj/wrkobj/lang/gcc/work.i386/gcc=
-2.95.3/gcc/ch/../../include /egnet/obj/wrkobj/lang/gcc/work.i386/gcc-2.95.=
3/gcc/ch/loop.c
/egnet/obj/wrkobj/lang/gcc/work.i386/gcc-2.95.3/gcc/ch/loop.c:321:8: missin=
g terminating " character
/egnet/obj/wrkobj/lang/gcc/work.i386/gcc-2.95.3/gcc/ch/loop.c:322:38: missi=
ng terminating " character
gmake[2]: *** [loop.o] Error 1
gmake[2]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/gc=
c/ch'
gmake[1]: *** [cc1chill] Error 2
gmake[1]: Leaving directory `/egnet/obj/wrkobj/lang/gcc/work.i386/objdir/gc=
c'
gmake: *** [all-gcc] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/gcc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/gcc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkglint
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkglint
eros#=20

>=20
> > pkgsrc's gcc 2.95.3nb<whatever> doesn't even build, it dies with two er=
rors
> > on loop.c (I can try it again and post the errors, but I don't see why =
it is
> > now set to require 2.95.3 in -current/i386 when so much work was put in=
to
> > switching -current to 3.3.x.
>=20
> It should not be requiring 2.95.3. Maybe USE_PKGSRC_GCC is being set.

No, but:
eros# make show-var VARNAME=3DUSE_PKGSRC_GCC

eros# make show-var VARNAME=3DGCC_REQD
2.95.3

And I know I never set GCC_REQD anywhere.

>=20
> Yes, please also report those errors. It seems like any gcc compiler
> should be able to build gcc.

see above

>=20
> > This is -current as of oct 26 (1.6ZE), with pkgsrc as of earlier today.
>=20
>    Jeremy C. Reed
>    http://bsd.reedmedia.net/
>=20
>=20
-Sean

--
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!