Roman Serbski
2021-05-23 13:06:25 UTC
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.
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.