Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
11.99.2 build failures
As of 14 September, 11.99.2 fails to build for me on macOS:
1. In file included from hash.c:11:
/dist/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo/term_private.h:197:21: error: call to undeclared function 'le16dec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
197 | int num = (int16_t)le16dec(*cap);
| ^
/dist/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo/term_private.h:206:21: error: call to undeclared function 'le32dec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
206 | int num = (int32_t)le32dec(*cap);
| ^
/dist/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo/term_private.h:226:2: error: call to undeclared function 'le16enc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
226 | le16enc(*cap, (uint16_t)num);
| ^
/dist/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo/term_private.h:234:2: error: call to undeclared function 'le32enc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
234 | le32enc(*cap, (uint32_t)num);
| ^
/dist/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo/term_private.h:258:2: error: call to undeclared function 'le16enc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
258 | le16enc(tbuf->buf + tbuf->bufpos, (uint16_t)num);
| ^
/dist/src/tools/tic/../../usr.bin/tic/../../lib/libterminfo/term_private.h:266:2: error: call to undeclared function 'le32enc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
266 | le32enc(tbuf->buf + tbuf->bufpos, (uint32_t)num);
| ^
6 errors generated.
Adding missing #include fixes the build:
--- lib/libterminfo/term_private.h 21 Jun 2020 15:05:23 -0000 1.19
+++ lib/libterminfo/term_private.h 14 Sep 2025 07:50:10 -0000
@@ -71,6 +71,7 @@
*/
#include <sys/types.h>
+#include <sys/endian.h>
#include <assert.h>
#include <limits.h>
2. checkflist ===> distrib/sets
======= 3 extra files in DESTDIR =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/share/man/man3/DES_random_key.3.gz
./usr/share/man/man3/HMAC.3.gz
./usr/share/man/man3/MD5.3.gz
========= end of 3 extra files ===========
This fix works for me:
--- distrib/sets/lists/comp/mi 6 Sep 2025 02:53:21 -0000 1.2499
+++ distrib/sets/lists/comp/mi 14 Sep 2025 06:55:51 -0000
@@ -23168,7 +23168,7 @@
./usr/share/man/man3/CTLOG_new.3 comp-c-man .man
./usr/share/man/man3/CT_POLICY_EVAL_CTX_new.3 comp-c-man .man
./usr/share/man/man3/DEFINE_STACK_OF.3 comp-c-man .man
-./usr/share/man/man3/DES_random_key.3 comp-obsolete obsolete
+./usr/share/man/man3/DES_random_key.3 comp-obsolete .man,obsolete
./usr/share/man/man3/DH_generate_key.3 comp-c-man .man
./usr/share/man/man3/DH_generate_parameters.3 comp-c-man .man
./usr/share/man/man3/DH_get0_pqg.3 comp-c-man .man
@@ -23416,7 +23416,7 @@
./usr/share/man/man3/GCQ_INIT_HEAD.3 comp-sys-man .man
./usr/share/man/man3/GCQ_ITEM.3 comp-sys-man .man
./usr/share/man/man3/GENERAL_NAME.3 comp-c-man .man,openssl=35
-./usr/share/man/man3/HMAC.3 comp-obsolete obsolete
+./usr/share/man/man3/HMAC.3 comp-obsolete .man,obsolete
./usr/share/man/man3/IFTODT.3 comp-c-man .man
./usr/share/man/man3/LIST.3 comp-c-man .man
./usr/share/man/man3/LIST_EMPTY.3 comp-c-man .man
@@ -23448,7 +23448,7 @@
./usr/share/man/man3/MD4Final.3 comp-c-man .man
./usr/share/man/man3/MD4Init.3 comp-c-man .man
./usr/share/man/man3/MD4Update.3 comp-c-man .man
-./usr/share/man/man3/MD5.3 comp-obsolete obsolete
+./usr/share/man/man3/MD5.3 comp-obsolete .man,obsolete
./usr/share/man/man3/MD5Data.3 comp-c-man .man
./usr/share/man/man3/MD5End.3 comp-c-man .man
./usr/share/man/man3/MD5File.3 comp-c-man .man
May I commit?
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index