Subject: Build fails on libkvm
To: None <current-users@netbsd.org>
From: Marcin Michal Jessa <m.jessa@gmail.com>
List: current-users
Date: 05/01/2007 03:04:23
Hi.

Making distribution on new fresh sources gives this error now:

#   compile  libkvm/kvm_proc.ln
CC=/usr/tools/bin/i386--netbsdelf-gcc
/usr/tools/bin/i386--netbsdelf-lint -chapbxzFS -w -d
/usr/obj/destdir.i386/usr/include  -DLIBC_SCCS -I/usr/src/sys    -i
/usr/src/lib/libkvm/kvm_proc.c
/usr/src/lib/libkvm/kvm_proc.c(584): illegal member use: p_ru [102]

*** Failed target:  kvm_proc.ln
*** Failed command: CC=/usr/tools/bin/i386--netbsdelf-gcc
/usr/tools/bin/i386--netbsdelf-lint -chapbxzFS -w -d
/usr/obj/destdir.i386/usr/include -DLIBC_SCCS -I/usr/src/sys -i
/usr/src/lib/libkvm/kvm_proc.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libkvm

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/libkvm; /usr/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libkvm

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

Stop.
nbmake: stopped in /usr/src/lib

*** Failed target:  do-lib
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget lib dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . do-lib
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  distribution
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***