usr/sbin/pkg does not compile in make buildworld (13.4-STABLE)

Hi,

Latest pull of SRC does not build

Code:
[root@numenor src]# git branch -vv
* stable/13 f57df4589d3c [origin/stable/13] Fix failure to add an interface prefix route when route with the same  prefix is already presented in the routing table.
  stable/14 7be29291845a UPDATING: fix a vestigial reference to -CURRENT

[root@numenor src]# uname -a
FreeBSD numenor.groumpf.org 13.4-STABLE FreeBSD 13.4-STABLE stable/13-e374f096e7b6 XAVIER amd64

Here is the relevant part of build log

Code:
===> usr.sbin/pkg (all)
cc -target x86_64-unknown-freebsd13.4 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -g -fno-common -I/usr/src/contrib/libucl/include -I/usr/src/contrib/libder/libder -I/usr/src/crypto/libecc/include -march=core2  -fPIE -g -MD  -MF.depend.rsa.o -MTrsa.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wstrict-prototypes -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch  -Qunused-arguments    -c /usr/src/usr.sbin/pkg/rsa.c -o rsa.o
/usr/src/usr.sbin/pkg/rsa.c:164:37: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  164 |         ret = rsa_verify_data(ctx, sha256, strlen(sha256), sigfile, key, keylen,
      |                                            ^
/usr/src/usr.sbin/pkg/rsa.c:164:37: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
1 error generated.
*** [rsa.o] Error code 1

make[4]: stopped in /usr/src/usr.sbin/pkg
1 error

make[4]: stopped in /usr/src/usr.sbin/pkg

make[3]: stopped in /usr/src/usr.sbin

make[2]: stopped in /usr/src

make[1]: stopped in /usr/src

make: stopped in /usr/src

Regards,
Xavier
 
Back
Top