Date: Wed, 08 Jun 2016 05:07:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210122] building lang/gcc port on 11-current with non-C locale fails Message-ID: <bug-210122-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210122 Bug ID: 210122 Summary: building lang/gcc port on 11-current with non-C locale fails Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: graham@menhennitt.com.au Assignee: gerald@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) > 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 -Wn= o-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/g= cc/../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/genche= ck.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-gtyp= e.state gtype.state > build/gengtype \ > -r gtype.state > In file included from /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/gencheck.c:2= 3: > In file included from ./tm.h:16: > ./options.h:4293:3: error: redefinition of enumerator 'OPT_C' > OPT_C =3D 129, /* -C */ > ^ > ./options.h:4290:3: note: previous definition is here > OPT_C =3D 126, /* -C */ > ^ > ./options.h:4301:3: error: redefinition of enumerator 'OPT_d' > OPT_d =3D 137, /* -d */ > ^ > ./options.h:4299:3: note: previous definition is here > OPT_d =3D 135, /* -d */ > ^ [snip several more like it] > ./options.h:5183:3: error: redefinition of enumerator 'OPT_v' > OPT_v =3D 1019, /* -v */ > ^ > ./options.h:5181:3: note: previous definition is here > OPT_v =3D 1017, /* -v */ > ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=3D] > 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 n= ext `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 Represe= ntation' differ > /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/loop.texi:10: warning: node ne= xt `Loop Analysis and Representation' in menu `Machine Desc' and in section= ing `Control Flow' differ > /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/loop.texi:10: warning: node pr= ev `Loop Analysis and Representation' in menu `Control Flow' and in section= ing `Tree SSA' differ > /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/cfg.texi:10: warning: node nex= t `Control Flow' in menu `Loop Analysis and Representation' and in sectioni= ng `Machine Desc' differ > /usr/ports/lang/gcc/work/gcc-4.8.5/gcc/doc/cfg.texi:10: warning: node pre= v `Control Flow' in menu `RTL' and in sectioning `Loop Analysis and Represe= ntation' 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' > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e 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 Workaround is to use: LC_COLLATE=3D"C" make --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210122-13>