NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amd64/56190: build.sh tools not work



>Number:         56190
>Category:       port-amd64
>Synopsis:       build.sh tools not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 19 16:50:00 +0000 2021
>Originator:     Maksim
>Release:        9.2
>Organization:
Home
>Environment:
NetBSD nb_gate 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
Try make tools:
./build.sh  -a amd64 -O ./obj tools 
===> build.sh command:    ./build.sh -a amd64 -O ./obj tools
===> build.sh started:    Wed May 19 23:35:54 +07 2021
===> NetBSD version:      9.2
===> MACHINE:             amd64
===> MACHINE_ARCH:        x86_64
===> Build platform:      NetBSD 9.2 amd64
===> HOST_SH:             /bin/sh
===> MAKECONF file:       /etc/mk.conf (File not found)
===> TOOLDIR path:        /usr/src/./obj/tooldir.NetBSD-9.2-amd64
===> DESTDIR path:        /usr/src/./obj/destdir.amd64
===> RELEASEDIR path:     /usr/src/./obj/releasedir
===> Updated makewrapper: /usr/src/./obj/tooldir.NetBSD-9.2-amd64/bin/nbmake-amd64
obj ===> tools
obj ===> tools/host-mkdep
obj ===> tools/compat
obj ===> tools/binstall
nbmake[2]: "/usr/src/tools/binstall/../Makefile.host" line 30: Need an operator
nbmake[2]: Fatal errors encountered -- cannot continue
nbmake[2]: stopped in /usr/src/tools/binstall

*** Failed target:  obj-binstall
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/./obj/tooldir.NetBSD-9.2-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget binstall obj
*** Error code 1

Stop.
nbmake[1]: stopped in /usr/src/tools

*** Failed target:  obj-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/./obj/tooldir.NetBSD-9.2-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools obj
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make obj-tools
*** BUILD ABORTED ***

>How-To-Repeat:
Just try make : ./build.sh  -a amd64 -O ./obj tools
On release 9.2
>Fix:
I dont know.



Home | Main Index | Thread Index | Old Index