Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
my build issues
My attempt at "time nice ./build.sh -U distribution" failed with:
...
# objdir /usr/obj/
sh: Cannot determine current working directory
do-tools ===> .
sh: /usr/src/obj/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake: not found
...
I got rid of my /usr/src/obj and /usr/obj and tried again:
built make and the failed:
cc -O -o nbmake *.o
BSDOBJDIR /usr/obj does not exist, bailing..
So created /usr/obj owned by me so I can write to it.
So then this completed after 1.5 hours or so:
time nice ./build.sh -U distribution
So then I did:
time sudo ./build.sh -U install=/
And that started built nbmake again. That seems like a wrong default.
And then failed here:
...
cc -O -o nbmake *.o
# objdir /usr/obj/tools
===> TOOLDIR path: /usr/src/obj/tooldir.NetBSD-4.99.62-x86_64
===> DESTDIR path: /usr/src/obj/destdir.amd64
===> RELEASEDIR path: /usr/src/obj/releasedir
===> Created /usr/src/obj/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake
===> makewrapper:
/usr/src/obj/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake-amd64
===> Updated /usr/src/obj/tooldir.NetBSD-4.99.62-x86_64/bin/nbmake-amd64
installsets ===> distrib/sets (with: INSTALLDIR=/ INSTALLSETS=)
nbmake: don't know how to make /usr/src/obj/destdir.amd64/METALOG. Stop
nbmake: stopped in /usr/src/distrib/sets
*** Failed target: installworld
*** 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-4.99.62-x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets
installsets INSTALLDIR=/ INSTALLSETS=
*** Error code 2
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make installworld to /
*** BUILD ABORTED ***
I don't have /usr/src/obj/destdir.amd64/METALOG mentioned above. I have:
-rw-r--r-- 1 reed wsrc 3419602 Sep 23 16:45 /usr/src/destdir.amd64/METALOG
-rw-r--r-- 1 reed wsrc 3419533 Sep 23 16:45
/usr/src/destdir.amd64/METALOG.sanitised
Where is that "obj" coming from above?
Note I think I followed examples 2 and 3 in the BUILDING documentation.
I don't think I should have to have various mk.conf settings or custom
script wrapping around build.sh or extra build.sh command-line options. I
wish by default it would work. And definitely the examples in the
documentation should work.
Note that the examples at end of documentation doesn't mention precreating
obj directory. That should be done automatically too, like
src/obj.amd64 would be nice too.
Jeremy C. Reed
Home |
Main Index |
Thread Index |
Old Index