On Sat, 11 Oct 2025, RVP wrote:

On Fri, 10 Oct 2025, Paul Goyette wrote:

This is stilll happening with sources updated to

        2025-10-10 at 04:49:20 UTC

I am invoking build.shh as follows:

===> build.sh command:    ./build.sh                 \
         -T /build/netbsd-local/tools/x86_64/amd64      \
         -D /build/netbsd-local/dest/amd64              \
         -O /build/netbsd-local/obj/amd64               \
         -R /build/netbsd-local/release                 \
         -V RELEASEMACHINEDIR=amd64                     \
         -V MKDEBUG=yes                                 \
         -V MKDEBUGKERNEL=yes                           \
         -V MKDEBUGLIB=yes                              \
         -V KERNEL_DIR=yes                              \
         -U -x -N0 -m amd64 -j25                        \
         release

On Thu, 9 Oct 2025, Paul Goyette wrote:

 Starting with empty output directories I get the following error:

 =======  1 extra files in DESTDIR  =========
 Files in DESTDIR but missing from flist.
 File is obsolete or flist is out of date ?
 ------------------------------------------
 ./usr/tests/lib/libpthread/weak/libh_pthread_weak_g.a
 =========  end of 1 extra files  ===========

 Sources were updated on 2025-10-09 at 14:50:05 UTC



Think Christo's fixed this one too (see final hunk):

Yes it is fixed now.


cvs rdiff -u -r1.487 -r1.488 src/distrib/sets/lists/debug/mi

but, I think setting `NOSTATICLIB=' should've worked too. Can you try this:
(WARNING: haven't done a full build, just `src/tests/lib/libpthread/weak/')


---START patch---
--- src/share/mk/bsd.lib.mk.orig        2025-09-20 03:56:03.753948411 +0000
+++ src/share/mk/bsd.lib.mk     2025-10-11 05:32:17.192792877 +0000
@@ -463,7 +463,9 @@
.endif

.if ${MKDEBUGLIB} != "no"
+. if ${MAKESTATICLIB} != "no"
_LIBS+=${_LIB_g.a}
+. endif
GOBJS+=${OBJS:.o=.go}
DEBUGFLAGS?=-DDEBUG
.endif
--- src/tests/lib/libpthread/weak/lib/Makefile.orig 2025-10-06 13:16:44.000000000 +0000 +++ src/tests/lib/libpthread/weak/lib/Makefile 2025-10-11 05:29:30.042531183 +0000
@@ -1,7 +1,7 @@
#       $NetBSD: Makefile,v 1.1 2025/10/06 13:16:44 riastradh Exp $
#

-MKPROFILE=     no              # XXX hack -- should be NOPROFILE
+NOPROFILE=     # defined
NOLINT=         # defined
NOMAN=          # defined
NOSTATICLIB=    # defined
---END patch---

Thanks.  Let me see if it works.

+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | [email protected]    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | [email protected]  |
| & Network Engineer  |                          | [email protected] |
+---------------------+--------------------------+----------------------+

Reply via email to