Port-arm archive

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

Re: ./build.sh losing on RPi 3



In article <CAOaX04OVU2NrjeDD2TvtDVWdf6PCXbDg6OhzZQZXpm8xF=OSng%mail.gmail.com@localhost>,
Michael Cheponis  <Michael.Cheponis%gmail.com@localhost> wrote:
>-=-=-=-=-=-
>
>Hi, I wonder what I'm doing wrong.  I'm trying to build the kernel, but
>it's stopping in build of the tools.  Thanks for any hints.
>
>(dmesg says RPI2 but it's running on RPI3)

You don't have xsrc checked out? And it does not find makestrs
Either turn off X or checkout xsrc. Yes, the error message could be improved.

christos

>
>
>NetBSD 8.99.10 (RPI2) #0: Wed Jan  3 09:46:41 UTC 2018
>        mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI2
>total memory = 944 MB
>avail memory = 926 MB
><etc>
>
>===> build.sh command:    ./build.sh -T ../tooldir -D ../destdir -R
>../releasedir -O ../objdir -X ../xsrc -U -x -j4 -r release
>===> build.sh started:    Fri Jan 19 13:53:22 JST 2018
>===> NetBSD version:      8.99.12
>===> MACHINE:             evbarm
>===> MACHINE_ARCH:        earm
>===> Build platform:      NetBSD 8.99.10 evbarm
>===> HOST_SH:             /bin/sh
>===> Bootstrapping nbmake
>
>
>dependall ===> tools/makestrs
>--- .depend ---
>#    create  makestrs/.depend
>rm -f .depend
>/c/usr/src/../tooldir/bin/nbhost-mkdep -s .lo\ .ln\ .d -d -f .depend
>makestrs.d
>/c/usr/src/../tooldir/bin/nbhost-mkdep: Ignoring makestrs.d
>--- dependall ---
>--- nbmakestrs ---
>#      link  makestrs/nbmakestrs
>cc -O -I/c/usr/src/../tooldir/include/compat -I/c/usr/src/tools/compat
>-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I.   -o nbmakestrs
>makestrs.lo -L/c/usr/src/../tooldir/lib -lnbcompat -lrt -lz
>cc: error: makestrs.lo: No such file or directory
>*** [nbmakestrs] Error code 1
>nbmake[7]: stopped in /c/usr/src/tools/makestrs
>1 error
>nbmake[7]: stopped in /c/usr/src/tools/makestrs
>*** [dependall] Error code 2
>nbmake[6]: stopped in /c/usr/src/tools/makestrs
>1 error
>nbmake[6]: stopped in /c/usr/src/tools/makestrs
>*** Failed target:  dependall-makestrs
>*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
>case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/";
>real="/c/usr/src/tools" ;; *) this="tools/${dir}/";
>real="/c/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target}
>===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
>/c/usr/src/../tooldir/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
>_makedirtarget makestrs dependall
>*** Error code 2
>Stop.
>nbmake[5]: stopped in /c/usr/src/tools
>*** [build_install] Error code 1
>nbmake[4]: stopped in /c/usr/src/tools
>1 error
>nbmake[4]: stopped in /c/usr/src/tools
>*** [do-tools] Error code 2
>nbmake[3]: stopped in /c/usr/src
>1 error
>nbmake[3]: stopped in /c/usr/src
>*** [build] Error code 2
>nbmake[2]: stopped in /c/usr/src
>1 error
>
>nbmake[2]: stopped in /c/usr/src
>*** [distribution] Error code 2
>nbmake[1]: stopped in /c/usr/src
>1 error
>
>nbmake[1]: stopped in /c/usr/src
>*** [release] Error code 2
>
>nbmake: stopped in /c/usr/src
>1 error
>
>nbmake: stopped in /c/usr/src
>
>ERROR: Failed to make release
>*** BUILD ABORTED ***
>./build.sh -T ../tooldir -D ../destdir -R ../releasedir -O ../objdir -X  -U
>-  10171.93s user 2759.57s system 201% cpu 1:47:10.91 total
>
>-=-=-=-=-=-
>[Alternative: text/html]
>-=-=-=-=-=-





Home | Main Index | Thread Index | Old Index