Major compile time errors after upgrading hdd and major version on FreeBSD/arm

Jens Rasmus Liland jensrasmus at gmail.com
Thu Jul 19 11:33:10 UTC 2012


Hello.

I've posted a thread in the FreeBSD forums (
http://forums.freebsd.org/showthread.php?p=184467#post184467 ), but this
would be a more proper place.

I run FreeBSD/arm on the Marvell Sheevaplug. After upgrading to RELENG_9
and a new IDE HDD (WDC WD16 00AAJB-00J3A0) for my usb hdd enclosure, I am
having issues doing

# make buildworld

in /usr/src, as well as building every port I can think of, e.g. doing

# make install

in /usr/ports/www/nginx.

# make buildworld

is giving this error:

--- CODE START ---
cc -O -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber
-g -DGENERATOR_FILE -DHAVE_CONFIG_H
-I/usr/obj/usr/src/tmp/legacy/usr/include
-L/usr/obj/usr/src/tmp/legacy/usr/lib -o gencondmd gencondmd.o./gencondmd >
insn-conditions.md./genattrtab
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/arm/arm.md
insn-conditions.md > insn-attrtab.c
cc -O -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber
-g -DGENERATOR_FILE -DHAVE_CONFIG_H
-I/usr/obj/usr/src/tmp/legacy/usr/include -c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c:8095:1:
warning: null character(s) ignored
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c: In
function 'output_min_insn_conflict_delay_func':
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c:8095:
error: 'NAME' undeclared (first use in this function)
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c:8095:
error: (Each undeclared identifier is reported only once
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genautomata.c:8095:
error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
frodo#
--- CODE STOP ---

and all the ports are giving the same error, e.g. in the case of www/nginx:

--- CODE START ---
[...]
===>  License BSD accepted by the user
===>  Found saved configuration for nginx-1.2.2,1
=> SHA256 Checksum mismatch for nginx-1.2.2.tar.gz.
===>  Giving up on fetching files: nginx-1.2.2.tar.gz
Make sure the Makefile and distinfo file (/usr/ports/www/nginx/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop in /usr/ports/www/nginx.
*** Error code 1

Stop in /usr/ports/www/nginx.
*** Error code 1

Stop in /usr/ports/www/nginx.
frodo#
--- CODE STOP ---

Saying something about a checksum mismatch. I've tried deleting /usr/ports
as well as /usr/src and getting a fresh csup from cvsup2.se.FreeBSD.org,
but these errors seem to persist.

/Rasmus


More information about the freebsd-arm mailing list