r358661 breaks /usr/src/usr.sbin/amd/include/newvers.sh on stable/12

Trond Endrestøl trond.endrestol at ximalas.info
Thu Mar 5 12:55:13 UTC 2020


The command
"sh /usr/src/usr.sbin/amd/include/newvers.sh /usr/src/sys/conf/newvers.sh"
is run a part of a normal build, creating config_local.h.

After r358661, I find this in my build logs for stable/12:

eval: 1: Syntax error: end of file unexpected (expecting ")")
eval: 1: Syntax error: Error in command substitution

Meta mode is activated, and the build logs gives this insight:

_ERROR_CMD='@rm -f config_local.h; sh /usr/src/usr.sbin/amd/include/newvers.sh /usr/src/sys/conf/newvers.sh > config_local.h;'
.CURDIR='/usr/src/usr.sbin/amd/include'

Any attempts to build again, results in:

--- amd.o ---
/usr/src/contrib/amd/amd/amd.c:275:17: error: use of undeclared identifier 'HOST_OS_NAME'
  gopt.op_sys = HOST_OS_NAME;
                ^
/usr/src/contrib/amd/amd/amd.c:278:21: error: use of undeclared identifier 'HOST_OS_VERSION'
  gopt.op_sys_ver = HOST_OS_VERSION;
                    ^
/usr/src/contrib/amd/amd/amd.c:281:22: error: use of undeclared identifier 'HOST_OS'
  gopt.op_sys_full = HOST_OS;
                     ^
3 errors generated.

CC-ing imp@ as he's the author of r358661.

-- 
Trond. 


More information about the freebsd-stable mailing list