krb5 build error
- Reply: Sulev-Madis Silber : "Re: krb5 build error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 07:29:31 UTC
just right now i got fresh current and i got this:
/root/files/fbsd/current/src/crypto/krb5/src/util/profile/prof_file.c:189:20: warnin
g: call to undeclared function 'secure_getenv'; ISO C99 and later do not support imp
licit function declarations [-Wimplicit-function-declaration]
189 | home_env = secure_getenv("HOME");
| ^
/root/files/fbsd/current/src/crypto/krb5/src/util/profile/prof_file.c:189:18: error:
incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-
conversion]
--- _bootstrap-tools-secure/lib/libcrypto ---
--- ec_ameth.o ---
cc -O2 -pipe -fno-common -DOPENSSL_NO_SCTP -I/root/files/fbsd/current/src/crypto/o
penssl -I/root/files/fbsd/current/src/crypto/openssl/include -I/root/files/fbsd/curr
ent/src/crypto/openssl/providers/common/include -I/root/files/fbsd/current/src/crypt
o/openssl/providers/fips/include -I/root/files/fbsd/current/src/crypto/openssl/provi
ders/implementations/include -DL_ENDIAN -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"
/usr/lib/engines-3\"" -DMODULESDIR="\"/usr/lib/ossl-modules\"" -DNDEBUG -I/root/file
s/fbsd/current/src/crypto/openssl/crypto -I/root/files/fbsd/current/src/crypto/opens
sl/crypto/ec/curve448 -I/root/files/fbsd/current/src/crypto/openssl/crypto/ec/curve4
48/arch_32 -I/root/files/fbsd/current/src/crypto/openssl/crypto/modes -I/root/files/
fbsd/current/obj/univ/root/files/fbsd/current/src/arm.armv7/tmp/obj-tools/secure/lib
/libcrypto -DOPENSSL_NO_KTLS -g -gz=zlib -MD -MF.depend.ec_ameth.o -MTec_ameth.o -s
td=gnu17 -Wno-format-zero-length -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-
string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-
error=cast-function-type-mismatch -Wno-tautological-compare -Wno-unused-value -Wno-p
arentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-type
def -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-par
ameter -Wno-parentheses -Qunused-arguments -I/root/files/fbsd/current/obj/univ/
root/files/fbsd/current/src/arm.armv7/tmp/legacy/usr/include -c /root/files/fbsd/cur
rent/src/crypto/openssl/crypto/ec/ec_ameth.c -o ec_ameth.o
--- _bootstrap-tools-krb5/util/profile ---
189 | home_env = secure_getenv("HOME");
| ^ ~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
*** [prof_file.o] Error code 1
make[3]: stopped in /root/files/fbsd/current/src/krb5/util/profile
262.26 real 100.18 user 8.01 sys
make[1]: stopped in /root/files/fbsd/current/src
make: stopped in /root/files/fbsd/current/src
10:18,root@green:~#