too long lines were shrinked: 1 warning generated. [67/220] /var/tmp/portage/app-antivirus/clamav-0.105.1/temp/clang -DHAVE_CONFIG_H -DTFM_CHECK -DTFM_NO_ASM -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-0.105.1/work/clamav-0.105.1_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-0.105.1/work/clamav-0.105.1/libc FAILED: libclamav/CMakeFiles/clamav.dir/crypto.c.o /var/tmp/portage/app-antivirus/clamav-0.105.1/temp/clang -DHAVE_CONFIG_H -DTFM_CHECK -DTFM_NO_ASM -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-0.105.1/work/clamav-0.105.1_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-0.105.1/work/clamav-0.105.1/libclamunrar_ /var/tmp/portage/app-antivirus/clamav-0.105.1/work/clamav-0.105.1/libclamav/crypto.c:1100:10: error: implicit declaration of function 'strptime' [-Werror,-Wimplicit-function-declaration] if (!strptime(str, fmt, t)) { ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220915-203738 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * GNU Make 4.3.90 HEAD of ::gentoo commit 4737e48d935a07ae10cdeb0bcba4f17c85f93223 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 08:46:57 2022 +0000 2022-09-18 08:46:56 UTC emerge -qpvO app-antivirus/clamav [ebuild N ] app-antivirus/clamav-0.105.1 USE="clamapp -clamonacc -doc -experimental (-jit) -libclamav-only -milter -rar (-selinux) -systemd -test"
Created attachment 810781 [details] emerge-info.txt
Created attachment 810784 [details] app-antivirus:clamav-0.105.1:20220918-095957.log
Created attachment 810787 [details] clang.tar.bz2
Created attachment 810790 [details] emerge-history.txt
Created attachment 810793 [details] environment
Created attachment 810796 [details] etc.portage.tar.bz2
Created attachment 810799 [details] logs.tar.bz2
Created attachment 810802 [details] temp.tar.bz2
Just a quick guess is that it might be something similar to this: https://stackoverflow.com/questions/15334558/compiler-gets-warnings-when-using-strptime-function-c (i know that is about a warning, but maybe some change in clang .. will look into it later, but if someone who knows more about clang has clues please let me know)
It compiled just fine with LLVM and CLANG 15.0.1 here will have to see if I can somehow reproduce it or figure out what is causing it
(In reply to Thomas Raschbacher from comment #10) > It compiled just fine with LLVM and CLANG 15.0.1 here will have to see if I > can somehow reproduce it or figure out what is causing it clang-16 enables these flags by default: * -Werror=implicit-function-declaration * -Werror=implicit-int * -Werror=strict-prototypes it's probably one of those that causes the build to fail.
(In reply to Michael Orlitzky from comment #11) > (In reply to Thomas Raschbacher from comment #10) > > It compiled just fine with LLVM and CLANG 15.0.1 here will have to see if I > > can somehow reproduce it or figure out what is causing it > > clang-16 enables these flags by default: > > * -Werror=implicit-function-declaration > * -Werror=implicit-int > * -Werror=strict-prototypes > > it's probably one of those that causes the build to fail. good point that sounds reasonable .. I shall test it asap