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
This version has been removed from the tree a while ago. If it is still an issue with current ones please report a new bug (or re-open this if there is any benefit in doing so)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8921c8cca743d458262c1d112decc3339826bf6 commit b8921c8cca743d458262c1d112decc3339826bf6 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-27 11:22:02 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-27 11:22:02 +0000 app-antivirus/clamav: drop 0.103.11-r1, 0.103.12 Bug: https://bugs.gentoo.org/871252 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-antivirus/clamav/Manifest | 2 - app-antivirus/clamav/clamav-0.103.11-r1.ebuild | 236 ---------- app-antivirus/clamav/clamav-0.103.12.ebuild | 237 ----------- .../files/clamav-0.102.1-libxml2_pkgconfig.patch | 120 ------ .../files/clamav-0.102.2-fix-curl-detection.patch | 26 -- .../files/clamav-0.103.0-system-tomsfastmath.patch | 115 ----- .../files/clamav-0.103.1-upstream-openrc.patch | 474 --------------------- .../files/clamav-0.103.12-missing-const.patch | 13 - 8 files changed, 1223 deletions(-)
(In reply to Larry the Git Cow from comment #14) > commit b8921c8cca743d458262c1d112decc3339826bf6 > Author: Andreas K. Hüttel <dilfridge@gentoo.org> > AuthorDate: 2024-10-27 11:22:02 +0000 > Commit: Andreas K. Hüttel <dilfridge@gentoo.org> > CommitDate: 2024-10-27 11:22:02 +0000 > > app-antivirus/clamav: drop 0.103.11-r1, 0.103.12 I'm not sure why you are deleting my package with a reference to a closed bug from 2022, but if you were worried that it was still affected by this, it's not =P I maintain the 0.103.x branch separately. It's still supported upstream for now, and is supported by me anyways. It's the last branch that doesn't require rust and bundled libraries.