NetBSD-Users archive

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

Re: 11.0_BETA amd64 aborts at `build.sh .. installmodules=/'



Martin Husemann <martin%duskware.de@localhost> writes:

> On Sun, Dec 07, 2025 at 11:05:04AM +0000, Van Ly wrote:
>> see final hunk in
>> 
>> cvs rdiff -u -r1.487 -r1.488 src/distrib/sets/lists/debug/mi
>> 
>>    +./usr/tests/lib/libpthread/weak/libh_pthread_weak_g.a			comp-c-debuglib	atf,debuglib,compattestfile
>
> Yes, that is what should have been fixed by:
>
> distrib/sets/lists/debug/mi                     1.488 (parts of, via patch)
>
>         fix debuglib setlists.
>         [riz, ticket #114]
>
> which was applied on dec 5.
>
> The build cluster did not notice the issue as it does not use MKDEBUGLIB=yes.
>

Thanks, I'm now able to build release to completion with `yes' set on MKDEBUG* options.

After building and installing the kernel, `build.sh .. installmodules=/' aborts.

It worked while previously `build.sh .. release' would not complete.

Now, src/BUILDING does not detail the `installmodules=IDIR' target documented in src/build.sh .

Here's the `build.sh .. installmodules=/' abort listing.


   ===> build.sh command:    ./build.sh -D /local/n/11/build/dst/amd64 -O /local/n/11/build/obj/amd64 -T /local/n/11/build/tools/x86_64/amd64 -X /usr/xsrc -R /local/n/11/build/rel -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes -V MKDEBUGKERNEL=yes -V MKDEBUGLIB=yes -V KERNEL_DIR=yes -V USE_XZ_SETS=yes -V MKUPDATE=yes -U -x -N0 -m amd64 -j4 installmodules=/
   ===> build.sh started:    Mon Dec  8 16:18:31 AEDT 2025
   ===> NetBSD version:      11.0_BETA
   ===> MACHINE:             amd64
   ===> MACHINE_ARCH:        x86_64
   ===> Build platform:      NetBSD 11.0_BETA amd64
   ===> HOST_SH:             /bin/sh
   ===> share/mk MAKECONF:   /etc/mk.conf
   ===> MAKECONF file:       /etc/mk.conf (File not found)
   ===> TOOLDIR path:        /local/n/11/build/tools/x86_64/amd64
   ===> DESTDIR path:        /local/n/11/build/dst/amd64
   ===> RELEASEDIR path:     /local/n/11/build/rel
   ===> Updated makewrapper: /local/n/11/build/tools/x86_64/amd64/bin/nbmake-amd64
   install ===> sys/modules	(with: DESTDIR=/)
   install ===> sys/modules/compat_util
   x86_64--netbsd-install: //netbsd exists but is not a directory
   x86_64--netbsd-install: //netbsd exists but is not a directory
   x86_64--netbsd-install: //netbsd exists but is not a directory
   x86_64--netbsd-install: //netbsd/modules/compat_util/compat_util.kmod.inst.F5Bibq: mkstemp: Not a directory

   *** Failed target:  //netbsd/modules/compat_util/compat_util.kmod
   *** Failed command: /local/n/11/build/tools/x86_64/amd64/bin/x86_64--netbsd-install -U -M //METALOG -D / -h sha256 -N /usr/src/etc -c -p -r -o root -g wheel -m 444 compat_util.kmod //netbsd/modules/compat_util/compat_util.kmod
   *** Error code 1

   Stop.
   nbmake[2]: stopped making "install" in /usr/src/sys/modules/compat_util

   *** Failed target:  install-compat_util
   *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/modules/"; real="/usr/src/sys/modules" ;; *) this="sys/modules/${dir}/"; real="/usr/src/sys/modules/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /local/n/11/build/tools/x86_64/amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget compat_util install
   *** Error code 1

   Stop.
   nbmake[1]: stopped making "install" in /usr/src/sys/modules

   *** Failed target:  installmodules
   *** 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}" && /local/n/11/build/tools/x86_64/amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget sys/modules install DESTDIR=/
   *** Error code 1

   Stop.
   nbmake: stopped making "installmodules" in /usr/src

   ERROR: Failed to make installmodules to /

   *** BUILD ABORTED ***


-- 
vl


Home | Main Index | Thread Index | Old Index