Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914864

Summary: app-antivirus/clamav-1.2.0 - [clang] /.../qsort.c: warning: a function definition without a prototype is deprecated in all versions of C and is not supported
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Antivirus Team <antivirus>
Status: CONFIRMED ---    
Severity: normal CC: kangie, mjo, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
app-antivirus:clamav-1.2.0:20230927-175450.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-27 20:31:26 UTC
too long lines were shrinked:

[42/221] /usr/lib/llvm/17/bin/clang -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamunrar_iface -I/var/tmp/portage/app-antivirus/c
[43/221] /usr/lib/llvm/17/bin/clang -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamunrar_iface -I/var/tmp/portage/app-antivirus/c
[44/221] /usr/lib/llvm/17/bin/clang -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamunrar_iface -I/var/tmp/portage/app-antivirus/c
[45/221] /usr/lib/llvm/17/bin/clang -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamunrar_iface -I/var/tmp/portage/app-antivirus/c
[46/221] /usr/lib/llvm/17/bin/clang -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamunrar_iface -I/var/tmp/portage/app-antivirus/c
[47/221] /usr/lib/llvm/17/bin/clang -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0_build/libclamav -I/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamunrar_iface -I/var/tmp/portage/app-antivirus/c
/var/tmp/portage/app-antivirus/clamav-1.2.0/work/clamav-clamav-1.2.0/libclamav/qsort.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
   66 |     swapfunc(a, b, n, swaptype) char *a,
      |     ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230924-160600

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
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.1+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit f2306275d19cbe3af31c08d70c126832f0e2d1d7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 27 17:01:43 2023 +0000

    2023-09-27 17:01:43 UTC

emerge -qpvO app-antivirus/clamav
[ebuild  N    ] app-antivirus/clamav-1.2.0  USE="clamapp system-mspack -clamonacc -debug -doc -experimental (-jit) -libclamav-only -milter -rar (-selinux) -systemd -test"
Comment 1 Toralf Förster gentoo-dev 2023-09-27 20:31:27 UTC
Created attachment 871586 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-27 20:31:28 UTC
Created attachment 871587 [details]
app-antivirus:clamav-1.2.0:20230927-175450.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-27 20:31:29 UTC
Created attachment 871588 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-27 20:31:30 UTC
Created attachment 871589 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-27 20:31:31 UTC
Created attachment 871590 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-27 20:31:32 UTC
Created attachment 871591 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-27 20:31:32 UTC
Created attachment 871592 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-27 20:31:33 UTC
Created attachment 871593 [details]
temp.tar.xz