Hi,

since some days (when the last change(s) to src/share/mk/bsd.prog.mk where done)
build.sh distribution fails for me like so:

  [...]
    compile  elf32_compat/xmalloc.o
      build  elf32_compat/libldd_elf32_compat.a
dependall ===> build
     create  build/ldd.d
     create  build/.depend
nbmake[2]: don't know how to make 
/u/NetBSD/arch/amd64/dest/usr/lib/i386/crt0.o. Stop

nbmake[2]: stopped in /u/NetBSD/src/usr.bin/ldd/build

*** Failed target:  dependall
*** Failed command: cd "/u/NetBSD/src/usr.bin/ldd/build"; 
/u/NetBSD/arch/amd64/TOOLS/bin/nbmake realall
*** Error code 2

Stop.
nbmake[1]: stopped in /u/NetBSD/src/usr.bin/ldd/build

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

Stop.
nbmake: stopped in /u/NetBSD/src/usr.bin/ldd


The problem seems to be caused by the following lines in 
.../src/usr.bin/ldd/Makefile.inc

.if ${MACHINE_ARCH} == "x86_64"
MLIBDIR=        i386
.endif

_and_ my setting of MKCOMPAT to "no" in /etc/mk.conf

If MKCOMPAT=yes, build.sh ... distribution completes w/o hickups.


Kurt

Reply via email to