Port lang/gcc build fails on current

From: Randy Westlund <rwestlun_at_gmail.com>
Date: Mon, 6 Jun 2016 14:10:08 -0400
I can't build lang/gcc on current, but it works fine on 10.3.  I'm
running r301482 after a full rebuild and nothing in /etc/make.conf.  Any
ideas?

> c++ -c   -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing  -DLIBICONV_PLUG -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wm
> issing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/usr/ports/lang/gcc/work/gcc-4.8.5/gcc -I/usr/ports
> /lang/gcc/work/gcc-4.8.5/gcc/build -I/usr/ports/lang/gcc/work/gcc-4.8.5/gcc/../include  -I/usr/ports/lang/gcc/work/gcc-4.8.5/gcc/../libcpp/include -DLIBICONV_PLUG \
>         -o build/gencheck.o /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/gencheck.c
> c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
> /bin/sh /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/../move-if-change tmp-gtype.state gtype.state
> build/gengtype  \
>                     -r gtype.state
> In file included from /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/gencheck.c:23:
> In file included from ./tm.h:16:
> ./options.h:4293:3: error: redefinition of enumerator 'OPT_C'
>   OPT_C = 129,                               /* -C */
>   ^
> ./options.h:4290:3: note: previous definition is here
>   OPT_C = 126,                               /* -C */
>   ^
> ./options.h:4301:3: error: redefinition of enumerator 'OPT_d'
>   OPT_d = 137,                               /* -d */
>   ^
> ./options.h:4299:3: note: previous definition is here
>   OPT_d = 135,                               /* -d */
>   ^

[snip several more like it]

> ./options.h:5183:3: error: redefinition of enumerator 'OPT_v'
>   OPT_v = 1019,                              /* -v */
>   ^
> ./options.h:5181:3: note: previous definition is here
>   OPT_v = 1017,                              /* -v */
>   ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> Makefile:3840: recipe for target 'build/gencheck.o' failed
> gmake[4]: *** [build/gencheck.o] Error 1
> gmake[4]: *** Waiting for unfinished jobs....
> echo timestamp > s-gtype
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/passes.texi:7: warning: node next `Passes' in menu `GENERIC' and in sectioning `RTL' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/rtl.texi:5: warning: node next `RTL' in menu `Control Flow' and in sectioning `GENERIC' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/rtl.texi:5: warning: node prev `RTL' in menu `Tree SSA' and in sectioning `Passes' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/generic.texi:9: warning: node prev `GENERIC' in menu `Passes' and in sectioning `RTL' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/tree-ssa.texi:9: warning: node next `Tree SSA' in menu `RTL' and in sectioning `Loop Analysis and Representation' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/loop.texi:10: warning: node next `Loop Analysis and Representation' in menu `Machine Desc' and in sectioning `Control Flow' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/loop.texi:10: warning: node prev `Loop Analysis and Representation' in menu `Control Flow' and in sectioning `Tree SSA' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/cfg.texi:10: warning: node next `Control Flow' in menu `Loop Analysis and Representation' and in sectioning `Machine Desc' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/cfg.texi:10: warning: node prev `Control Flow' in menu `RTL' and in sectioning `Loop Analysis and Representation' differ
> /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/md.texi:6: warning: node prev `Machine Desc' in menu `Loop Analysis and Representation' and in sectioning `Control Flow' differ
> rm cpp.pod gfortran.pod gcc.pod
> gmake[4]: Leaving directory '/usr/ports/lang/gcc/work/.build/gcc'
> Makefile:3908: recipe for target 'all-gcc' failed
> gmake[3]: *** [all-gcc] Error 2
> gmake[3]: Leaving directory '/usr/ports/lang/gcc/work/.build'
> Makefile:856: recipe for target 'all' failed
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory '/usr/ports/lang/gcc/work/.build'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> Stop.
> make[1]: stopped in /usr/ports/lang/gcc
> *** Error code 1
> Stop.
> make: stopped in /usr/ports/lang/gcc

Received on Mon Jun 06 2016 - 16:10:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC