Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2020 13:54:58 +0100 (CET)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        freebsd-stable@freebsd.org
Cc:        imp@freebsd.org
Subject:   r358661 breaks /usr/src/usr.sbin/amd/include/newvers.sh on stable/12
Message-ID:  <alpine.BSF.2.22.395.2003051348230.80706@enterprise.ximalas.info>

next in thread | raw e-mail | index | archive | help
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. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.22.395.2003051348230.80706>