Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 15:06:25 +0200
From:      Roman Serbski <>
Subject:   Upgrade from 12.2-RELEASE-p2 to 13.0-RELEASE
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I've just finished upgrading a server running 12.2-RELEASE-p2 to
13.0-RELEASE using "Updating FreeBSD from Source" section from

Everything went well except that now, when I try to build a new kernel I get:

--- usbdevs.h ---
awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h
--- rpctlscd.h ---
RPCGEN_CPP='cpp -target x86_64-unknown-freebsd13.0
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin' rpcgen -hM
/usr/src/sys/rpc/rpcsec_tls/rpctlscd.x | grep -v pthread.h >
rpctlscd.h Shared object "" not found, required by "grep"
*** [rpctlscd.h] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/BSD13TEST
1 error

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/BSD13TEST

make[1]: stopped in /usr/src

make: stopped in /usr/src

The file seems to be present:

# find / -name -print

# ls -al /usr/lib32/*
lrwxr-xr-x  1 root  wheel     16 Jan 19 14:49
/usr/lib32/ ->
-r--r--r--  1 root  wheel  83044 Jan 19 14:49 /usr/lib32/

According to the release notes:

The BSD version of grep(1) is now installed by default. The obsolete
GNU version that was the previous default has been removed.

Any manual steps missed?

Thank you.

Want to link to this message? Use this URL: <>