In trying to get gcc in ports to build I find the following errors being generated..
--- standard run ---
---- tail of make debug run ----
--- standard run ---
Code:
===> Building for gcc-4.8.5
gmake[2]: "/ports/lang/gcc/work/build/Makefile" line 26: Missing dependency operator
gmake[2]: "/ports/lang/gcc/work/build/Makefile" line 27: Need an operator
gmake[2]: "/ports/lang/gcc/work/build/Makefile" line 28: Need an operator
gmake[2]: "/ports/lang/gcc/work/build/Makefile" line 777: Missing dependency operator
gmake[2]: "/ports/lang/gcc/work/build/Makefile" line 778: Could not find
gmake[2]: "/ports/lang/gcc/work/build/Makefile" line 779: Need an operator
gmake[2]: Fatal errors encountered -- cannot continue
gmake[2]: stopped in /ports/lang/gcc/work/build
*** Error code 1
---- tail of make debug run ----
Code:
ParseReadLine (17488): 'MAKEOVERRIDES='
Global:MAKEOVERRIDES =
Global:delete .PARSEDIR
Global:delete .PARSEFILE
gmake[2]: Fatal errors encountered -- cannot continue
gmake[2]: stopped in /ports/lang/gcc/work/build
Applying[MAKE_PRINT_VAR_ON_ERROR] :mad: to ""
Modifier pattern: "v"
Modifier pattern: "$v='${$v}'
"
Result[MAKE_PRINT_VAR_ON_ERROR] of :mad: is ""
+ [ -n '' ]
+ false
*** Failed target: do-build
*** Failed command: (cd /ports/lang/gcc/work/build; if ! /usr/bin/env XDG_DATA_HOME=/ports/lang/gcc/work XDG_CONFIG_HOME=/ports/lang/gcc/work HOME=/ports/lang/gcc/work NO_PIE=yes SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" gmake -f Makefile MAKEINFOFLAGS="--no-split" all; then if [ -n "" ] ; then echo "===> Compilation failed unexpectedly."; (echo "") | /usr/bin/fmt 75 79 ; fi; false; fi)
*** Error code 1
Stop.
make[1]: stopped in /ports/lang/gcc
Global:.ERROR_TARGET = do-build
Applying[MAKE_PRINT_VAR_ON_ERROR] :mad: to ""
Modifier pattern: "v"
Modifier pattern: "$v='${$v}'
"
Result[MAKE_PRINT_VAR_ON_ERROR] of :mad: is ""
*** Failed target: stage
*** Failed command: cd /ports/lang/gcc && make CONFIG_DONE_GCC=1 /ports/lang/gcc/work/.stage_done.gcc._usr_local
*** Error code 1
Stop.
make: stopped in /ports/lang/gcc
Global:.ERROR_TARGET = stage
Applying[MAKE_PRINT_VAR_ON_ERROR] :mad: to ""
Modifier pattern: "v"
Modifier pattern: "$v='${$v}'
"
Result[MAKE_PRINT_VAR_ON_ERROR] of :mad: is ""