too long lines were shrinked: rdlibtool: lconf: openat(AT_FDCWD,"../",O_DIRECTORY,0) = 3. rdlibtool: lconf: fstat(3,...) = 0 {.st_dev = 162, .st_ino = 153230}. rdlibtool: lconf: openat(3,"libtool",O_RDONLY,0) = 4. rdlibtool: lconf: found "/var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28-abi_x86_64.amd64/libtool". rdlibtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/plugins -I.. -DLIBSASL_EXPORTS=1 -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/include -I/var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/wo /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/plugins/digestmd5.c: In function digestmd5_server_mech_step1: /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/plugins/digestmd5.c:2239:46: error: implicit declaration of function time [-Wimplicit-function-declaration] 2239 | text->reauth->e[val].u.s.timestamp = time(0); | ^~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-20231228-120810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-bin-21 system-vm php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit 7ef56be711cf53dd404f92afee9e41a85367d31e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 29 09:46:58 2023 +0000 2023-12-29 09:46:58 UTC emerge -qpvO dev-libs/cyrus-sasl [ebuild N ] dev-libs/cyrus-sasl-2.1.28-r4 USE="gdbm kerberos pam postgres -authdaemond -berkdb -ldapdb -mysql -openldap -sample (-selinux) -sqlite -srp -ssl -static-libs -urandom"
Created attachment 880953 [details] emerge-info.txt
Created attachment 880954 [details] dev-libs:cyrus-sasl-2.1.28-r4:20231229-105743.log
Created attachment 880955 [details] emerge-history.txt
Created attachment 880956 [details] environment
Created attachment 880957 [details] etc.clang.tar.xz
Created attachment 880958 [details] etc.portage.tar.xz
Created attachment 880959 [details] logs.tar.xz
Created attachment 880960 [details] qlist-info.txt
Created attachment 880961 [details] temp.tar.xz
Wants time.h. /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/plugins/digestmd5.c:93:1: note: ‘time’ is defined in header ‘<time.h>’; this is probably fixable by adding ‘#include <time.h>’
There's also a lot of incompatible pointer type errors. /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/saslauthd/md5.c:363:33: error: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 363 | _saslauthd_MD5Update(&tctx, key, key_len); | ^~~ /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/saslauthd/md5.c:384:23: error: passing 'const unsigned char *' to parameter of type 'POINTER' (aka 'unsigned char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 384 | MD5_memcpy( k_ipad, key, key_len); | ^~~ /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/saslauthd/md5.c:385:23: error: passing 'const unsigned char *' to parameter of type 'POINTER' (aka 'unsigned char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 385 | MD5_memcpy( k_opad, key, key_len); | ^~~ /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/saslauthd/md5.c:400:14: error: incompatible pointer types passing 'unsigned char (*)[65]' to parameter of type 'POINTER' (aka 'unsigned char *') [-Werror,-Wincompatible-pointer-types] 400 | MD5_memset(&k_ipad, 0, sizeof(k_ipad)); | ^~~~~~~ /var/tmp/portage/dev-libs/cyrus-sasl-2.1.28-r4/work/cyrus-sasl-2.1.28/saslauthd/md5.c:401:14: error: incompatible pointer types passing 'unsigned char (*)[65]' to parameter of type 'POINTER' (aka 'unsigned char *') [-Werror,-Wincompatible-pointer-types] 401 | MD5_memset(&k_opad, 0, sizeof(k_opad));
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64520916e20b8e8139c7a28bd792ac9cd66c2224 commit 64520916e20b8e8139c7a28bd792ac9cd66c2224 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-07-26 08:10:14 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-07-26 08:12:27 +0000 dev-libs/cyrus-sasl-2.1.28-r4: fix compilation on certain platforms Seems at least GCC-14 makes implicit function declarations errors, so add compilation patch to include what's being used. Seen the problem on Darwin 23 for strcmp, and on Linux for time. Closes: https://bugs.gentoo.org/920936 Signed-off-by: Fabian Groffen <grobian@gentoo.org> dev-libs/cyrus-sasl/Manifest | 2 +- dev-libs/cyrus-sasl/cyrus-sasl-2.1.28-r4.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)