lib/60418: -current rump/wg(4) build failure

"Bch via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
>Number:         60418
>Category:       lib
>Synopsis:       -current wg(4) build failure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 06 04:40:00 +0000 2026
>Originator:     bch
>Release:        NetBSD 11.99.6
>Organization:
	method logic digital
>Environment:
System: NetBSD katy 11.99.6 NetBSD 11.99.6 (GENERIC) #528: Sat Jun 27 21:17:15 PPT 2026 root@katy:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	Build failure trace:


        dependall ===> lib/../sys/rump/net/lib/libtun
        dependall ===> lib/../sys/rump/net/lib/libvlan
        dependall ===> lib/../sys/rump/net/lib/libvether
        dependall ===> lib/../sys/rump/net/lib/libwg
            compile  libwg/if_wg.o
            compile  libwg/if_wg.pico
            compile  libwg/if_wg.po
            compile  libwg/wg_component.pico
            compile  libwg/wg_user.pico
              build  libwg/librumpnet_wg.a
            compile  libwg/if_wg.go
            compile  libwg/wg_user.go
        /usr/src/sys/rump/net/lib/libwg/wg_user.c:45:10: fatal error: assert.h: No such file or directory
           45 | #include <assert.h>
              |          ^~~~~~~~~~
        compilation terminated.

        *** Failed target:  wg_user.go
        *** Failed command: /usr/src/obj/tooldir.NetBSD-11.99.6-amd64/bin/x86_64--netbsd-gcc -O2 -fno-delete-null-pointer-checks -ffreestanding -fno-strict-aliasing -mno-red-zone -mno-mmx -mno-sse -mno-avx -msoft-float -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Werror -Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-sign -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/src/obj/destdir.amd64 -DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 -DCOMPAT_90 -DCOMPAT_100 -DCOMPAT_110 -nostdinc -I/usr/src/sys/rump/net/lib/libwg -I. -I/usr/
 src/sys/rump/net/lib/libwg/../../../../../common/include -I/usr/src/sys/rump/net/lib/libwg/../../../include -I/usr/src/sys/rump/net/lib/libwg/../../../include/opt -I/usr/src/sys/rump/net/lib/libwg/.
 ./../../../arch -I/usr/src/sys/rump/net/lib/libwg/../../../.. -DDIAGNOSTIC -DDEBUG -DKTRACE -imacros /usr/src/sys/rump/net/lib/libwg/../../../include/opt/opt_rumpkernel.h -D_FORTIFY_SOURCE=2 -c -DDEBUG -g /usr/src/sys/rump/net/lib/libwg/wg_user.c -o wg_user.go
        *** Error code 1

        Stop.
        nbmake[7]: stopped making "realall" in /usr/src/sys/rump/net/lib/libwg

        *** Failed target:  dependall
        *** Failed command: cd "/usr/src/sys/rump/net/lib/libwg"; /usr/src/obj/tooldir.NetBSD-11.99.6-amd64/bin/nbmake realall
        *** Error code 1

        Stop.
        nbmake[6]: stopped making "dependall" in /usr/src/sys/rump/net/lib/libwg

        *** Failed target:  dependall-libwg
        *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/../sys/rump/net/lib/"; real="/usr/src/sys/rump/net/lib" ;; *) this="lib/../sys/rump/net/lib/${dir}/"; real="/usr/src/sys/rump/net/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-11.99.6-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libwg dependall
        *** Error code 1

        Stop.
        nbmake[5]: stopped making "dependall" in /usr/src/sys/rump/net/lib

        *** Failed target:  dependall-../sys/rump/net/lib
        *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-11.99.6-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ../sys/rump/net/lib dependall
        *** Error code 1

        Stop.
        nbmake[4]: stopped making "dependall-libp2k dependall-../sys/rump/dev/lib dependall-../sys/rump/fs/lib dependall-../sys/rump/kern/lib dependall-../sys/rump/net/lib dependall-lua dependall-../external/gpl3/gcc/lib/libquadmath dependall-../external/bsd/pam-u2f/lib" in /usr/src/lib


>How-To-Repeat:
        ./build.sh -u -x distribution
>Fix:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.