Hi,
I have just tried to make distribution from -current and got this:
* * *
# compile iasl/aslcompilerparse.o
/home/myuser/netbsd-kernel/src/../tools/bin/x86_64--netbsd-gcc -O2
-std=gnu99 -Werror --sysroot=/home/myuser/netbsd-kernel/src/../obj/destd
ir.amd64
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/dist/compiler/../include
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/
dist/compiler -I. -D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
-D_USE_BERKELEY_YACC -c aslcompilerparse.c
aslcompiler.y: In function 'UtGetOpName':
aslcompiler.y:77:29: error: 'AslCompilername' undeclared (first use in this
function)
#define yytname AslCompilername
^
aslcompiler.y:3600:22: note: in expansion of macro 'yytname'
return ((char *) yytname
^
aslcompiler.y:77:29: note: each undeclared identifier is reported only once for
each function it appears in
#define yytname AslCompilername
^
aslcompiler.y:3600:22: note: in expansion of macro 'yytname'
return ((char *) yytname
^
aslcompilerparse.c: In function 'AslCompilerparse':
aslcompilerparse.c:12152:19: error: 'yyname' undeclared (first use in this
function)
yys = yyname[YYTRANSLATE(yychar)];
* * *
My attachment gives more context.
--
Izaak
# compile iasl/aslcompilerlex.o
/home/myuser/netbsd-kernel/src/../tools/bin/x86_64--netbsd-gcc -O2
-std=gnu99 -Werror --sysroot=/home/myuser/netbsd-kernel/src/../obj/destd
ir.amd64
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/dist/compiler/../include
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/
dist/compiler -I. -D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
-D_USE_BERKELEY_YACC -c aslcompilerlex.c
# compile iasl/aslcompilerparse.o
/home/myuser/netbsd-kernel/src/../tools/bin/x86_64--netbsd-gcc -O2
-std=gnu99 -Werror --sysroot=/home/myuser/netbsd-kernel/src/../obj/destd
ir.amd64
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/dist/compiler/../include
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/
dist/compiler -I. -D__NetBSD__ -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT
-D_USE_BERKELEY_YACC -c aslcompilerparse.c
aslcompiler.y: In function 'UtGetOpName':
aslcompiler.y:77:29: error: 'AslCompilername' undeclared (first use in this
function)
#define yytname AslCompilername
^
aslcompiler.y:3600:22: note: in expansion of macro 'yytname'
return ((char *) yytname
^
aslcompiler.y:77:29: note: each undeclared identifier is reported only once for
each function it appears in
#define yytname AslCompilername
^
aslcompiler.y:3600:22: note: in expansion of macro 'yytname'
return ((char *) yytname
^
aslcompilerparse.c: In function 'AslCompilerparse':
aslcompilerparse.c:12152:19: error: 'yyname' undeclared (first use in this
function)
yys = yyname[YYTRANSLATE(yychar)];
^
*** Failed target: aslcompilerparse.o
*** Failed command:
/home/myuser/netbsd-kernel/src/../tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99
-Werror --sysroot=/home/myuser/netbsd-kernel/src/.
./obj/destdir.amd64
-I/home/myuser/netbsd-kernel/src/sys/external/bsd/acpica/dist/compiler/../include
-I/home/myuser/netbsd-kernel/src/sys/external/
bsd/acpica/dist/compiler -I. -D__NetBSD__ -DACPI_ASL_COMPILER
-DACPI_USE_ALTERNATE_TIMEOUT -D_USE_BERKELEY_YACC -c aslcompilerparse.c
*** Error code 1
Stop.
nbmake[9]: stopped in
/home/myuser/netbsd-kernel/src/external/bsd/acpica/bin/iasl
*** Failed target: dependall
*** Failed command: cd
"/home/myuser/netbsd-kernel/src/external/bsd/acpica/bin/iasl";
/home/myuser/netbsd-kernel/src/../tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake[8]: stopped in
/home/myuser/netbsd-kernel/src/external/bsd/acpica/bin/iasl
*** Failed target: dependall-iasl
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="exter
nal/bsd/acpica/bin/";
real="/home/myuser/netbsd-kernel/src/external/bsd/acpica/bin" ;; *)
this="external/bsd/acpica/bin/${dir}/"; real="/home/myuser
/netbsd-kernel/src/external/bsd/acpica/bin/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /
home/tezl/netbsd-kernel/src/../tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget iasl dependall
*** Error code 1
Stop.
nbmake[7]: stopped in /home/myuser/netbsd-kernel/src/external/bsd/acpica/bin
*** Failed target: dependall-bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="exter
nal/bsd/acpica/"; real="/home/myuser/netbsd-kernel/src/external/bsd/acpica" ;;
*) this="external/bsd/acpica/${dir}/"; real="/home/myuser/netbsd-kern
el/src/external/bsd/acpica/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/myuser/netbsd
-kernel/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget bin dependall
*** Error code 1
Stop.
nbmake[6]: stopped in /home/myuser/netbsd-kernel/src/external/bsd/acpica
*** Failed target: dependall-acpica
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="exter
nal/bsd/"; real="/home/myuser/netbsd-kernel/src/external/bsd" ;; *)
this="external/bsd/${dir}/"; real="/home/myuser/netbsd-kernel/src/external/bsd/$
{dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" && /home/myuser/netbsd-kernel/src/../tools/bin/nbm
ake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget acpica dependall
*** Error code 1
Stop.
nbmake[5]: stopped in /home/myuser/netbsd-kernel/src/external/bsd
*** Failed target: dependall-bsd
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="exter
nal/"; real="/home/myuser/netbsd-kernel/src/external" ;; *)
this="external/${dir}/"; real="/home/myuser/netbsd-kernel/src/external/${dir}"
;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /home/myuser/netbsd-kernel/src/../tools/bin/nbmake _THISDIR_="$
{this}" "$@" ${target}; }; _makedirtarget bsd dependall
*** Error code 1
Stop.
nbmake[4]: stopped in /home/myuser/netbsd-kernel/src/external
*** Failed target: dependall-external
*** Failed target: dependall-external
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/myuser/netbsd-kernel/src" ;; *) this="${dir}/";
real="/home/myuser/netbsd-kernel/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/myuser/netbsd-kernel/src/../tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget external dependall
*** Error code 1
Stop.
nbmake[3]: stopped in /home/myuser/netbsd-kernel/src
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/myuser/netbsd-kernel/src" ;; *) this="${dir}/";
real="/home/myuser/netbsd-kernel/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/myuser/netbsd-kernel/src/../tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1
Stop.
nbmake[2]: stopped in /home/myuser/netbsd-kernel/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/myuser/netbsd-kernel/src" ;; *) this="${dir}/";
real="/home/myuser/netbsd-kernel/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/myuser/netbsd-kernel/src/../tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . do-build
*** Error code 1
Stop.
nbmake[1]: stopped in /home/myuser/netbsd-kernel/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/home/myuser/netbsd-kernel/src" ;; *) this="${dir}/";
real="/home/myuser/netbsd-kernel/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/myuser/netbsd-kernel/src/../tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /home/myuser/netbsd-kernel/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***