Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 15:06:25 +0200
From:      Roman Serbski <mefystofel@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Upgrade from 12.2-RELEASE-p2 to 13.0-RELEASE
Message-ID:  <CAFnNK694kLsTAgps7KafLzN=KAR8nVR8fFwhLnHFW6n7C+CXOA@mail.gmail.com>

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

I've just finished upgrading a server running 12.2-RELEASE-p2 to
13.0-RELEASE using "Updating FreeBSD from Source" section from
https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld

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
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-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
ld-elf.so.1: Shared object "libgnuregex.so.5" 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 libgnuregex.so.5 -print
/usr/lib32/libgnuregex.so.5

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

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: <http://docs.FreeBSD.org/cgi/mid.cgi?CAFnNK694kLsTAgps7KafLzN=KAR8nVR8fFwhLnHFW6n7C+CXOA>