Martin Husemann <[email protected]> writes:

> Maybe also clean the objdir for this one?

I used `build.sh .. cleandir', removed the respawned file then retried
and it aborts for the same reason.

> Do you have any local changes or conflicts in your source tree?

My source tree had a .cvsignore for

   /usr/src/sys/arch/amd64/conf/TP_E470

After moving /usr/src to /usr/osrc, a fresh cvs checkout to /usr/src
followed by

  build.sh .. cleandir
  [remove respawned file]
  build.sh .. build

I see

   total 168
   -r--r--r--  1 root  users    182 Dec  4 18:50 Atffile
   lrwxr-xr-x  1 root  users     22 Dec  4 18:50 libh_pthread_weak.so -> 
libh_pthread_weak.so.1
   -r--r--r--  1 root  users  16616 Dec  4 18:50 libh_pthread_weak.so.1
   -r--r--r--  1 root  users  16718 Dec  4 18:50 libh_pthread_weak_g.a
   -r-xr-xr-x  1 root  users  18480 Dec  4 18:50 t_pthread_weak_nothread
   -r-xr-xr-x  1 root  users  18440 Dec  4 18:50 t_pthread_weak_threaded

The build status is as follows

Build started at:  Thu Dec  4 13:58:15 AEDT 2025
Build finished at: Thu Dec  4 18:52:04 AEDT 2025
===> Successful make build
===> build.sh ended:      Thu Dec  4 18:52:04 AEDT 2025
===> Summary of results:
         build.sh command:    ./build.sh -j 4 -m amd64 -x -X /usr/xsrc -D 
/local/n/11/distribution -R /local/n/11/release -N 0 -O /local/n/11/build -U -T 
/local/n/11/tools build
         build.sh started:    Thu Dec  4 13:58:12 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/tools
         DESTDIR path:        /local/n/11/distribution
         RELEASEDIR path:     /local/n/11/release
         Updated makewrapper: /local/n/11/tools/bin/nbmake-amd64
         Successful make build
         build.sh ended:      Thu Dec  4 18:52:04 AEDT 2025
===> .

File libh_pthread_weak_g.a is respawned and is expected to cause

   build.sh .. distribution
   build.sh .. release

to abort.

The goal is to populate /local/n/11/distribution and apply that to
rootdir target followed by the etc, xetc postinstall.

-- 
vl

Reply via email to