Current-Users archive

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

Trouble building atf/lib/tools/libtools.a on amd64



I've tried several times in the last week to build the base system on
amd64.  The commands
        $ ./build.sh tools
and
        $ ./build.sh kernel
run fine, but when I get to
        $ ./build.sh distribution
I always hit the error:
        nbmake[9]: don't know how to make 
/build/src/external/bsd/atf/lib/tools/libtools.a. Stop

(more extensive error output below).  These are clean non-update builds,
including one where I manually rm-rf *ed everything in obj/ and
tools/.  Since the builds are running successfully on the test servers,
I assume that the problem is at my end.  Does anyone have any ideas as
to what could trigger such a problem?

Additional information:
----------
$ uname -a
NetBSD scrameustache.unrouted.net 6.99.28 NetBSD 6.99.28 (SCRAMEUSTACHE) #0: 
Wed Jan  1 09:28:12 CET 2014  
idleroux%scrameustache.unrouted.net@localhost:/build/obj/sys/arch/amd64/compile/SCRAMEUSTACHE
 amd64

$ cat /etc/mk.conf
.ifdef BSD_PKG_MK
  ALLOW_VULNERABLE_PACKAGES=YES
  CLEANDEPENDS=YES
  LOCALPATCHES=${PKGSRCDIR}/localpatches
  PAPERSIZE=A4
  PKGCHK_UPDATE_CONF=/var/pkg_chk-update.conf # guaranteed writable
  PKG_DEFAULT_OPTIONS= -arts -esound -gssapi -nas -perl -lame
.else
  MKHESIOD=no
  MKHTML=no
  MKIPFILTER=no
  MKISCSI=no
  MKKERBEROS=no
  MKKMOD=no
  MKLDAP=no
  MKPF=no
  MKRUMP=no
  MKUNPRIVED=yes
  MKX11=yes
  MKYP=no
  MKZFS=no

  TOOLDIR=/build/tools
  BSDOBJDIR=/build/obj
  BSDSRCDIR=/build/src
.endif
----------

The tail end of the ./build.sh output is:
----------
#   compile  atf-config/atf-config.o
/build/tools/bin/x86_64--netbsd-c++ -frandom-seed=cc6a7066 -O2 -Wall 
-Wpointer-arith -Wno-sign-compare -Wa,--fatal-warnings -Wreturn-type -Wswitch 
-Wshadow -Werror  --sysroot=/build/src/obj/destdir.amd64 -DHAVE_CONFIG_H 
-DATF_ARCH=\"x86_64\" -DATF_BUILD_CC=\"/usr/bin/cc\" -DATF_BUILD_CFLAGS=\"\" 
-DATF_BUILD_CPP=\"/usr/bin/cpp\" -DATF_BUILD_CPPFLAGS=\"\" 
-DATF_BUILD_CXX=\"/usr/bin/c++\" -DATF_BUILD_CXXFLAGS=\"\" 
-DATF_CONFDIR=\"/etc/atf\" -DATF_INCLUDEDIR=\"/usr/include\" 
-DATF_LIBDIR=\"/usr/lib\" -DATF_LIBEXECDIR=\"/usr/libexec\" 
-DATF_MACHINE=\"amd64\" -DATF_M4=\"/usr/bin/m4\" 
-DATF_PKGDATADIR=\"/usr/share/atf\" -DATF_SHELL=\"/bin/sh\" 
-DATF_WORKDIR=\"/tmp\" -I/build/src/external/bsd/atf 
-I/build/src/external/bsd/atf/lib/libatf-c -I/build/src/external/bsd/atf/dist 
-I/build/src/external/bsd/atf/lib/tools 
-I/build/src/external/bsd/atf/dist/tools  -c    
/build/src/external/bsd/atf/dist/tools/atf-config.cpp
nbmake[9]: don't know how to make 
/build/src/external/bsd/atf/lib/tools/libtools.a. Stop

nbmake[9]: stopped in /build/src/external/bsd/atf/usr.bin/atf-config

*** Failed target:  dependall
*** Failed command: cd "/build/src/external/bsd/atf/usr.bin/atf-config"; 
/build/tools/bin/nbmake realall
*** Error code 2

Stop.
nbmake[8]: stopped in /build/src/external/bsd/atf/usr.bin/atf-config

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

Stop.
nbmake[7]: stopped in /build/src/external/bsd/atf/usr.bin

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

Stop.
nbmake[6]: stopped in /build/src/external/bsd/atf

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

Stop.
nbmake[5]: stopped in /build/src/external/bsd

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

Stop.
nbmake[4]: stopped in /build/src/external

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

Stop.
nbmake[3]: stopped in /build/src

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

Stop.
nbmake[2]: stopped in /build/src

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

Stop.
nbmake[1]: stopped in /build/src

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

Stop.
nbmake: stopped in /build/src

ERROR: Failed to make distribution
----------

Any assistance or advice will be gratefully received.

Thanks,

--
IDL


Home | Main Index | Thread Index | Old Index