Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914864 - 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
Summary: app-antivirus/clamav-1.2.0 - [clang] /.../qsort.c: warning: a function defini...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2023-09-27 20:31 UTC by Toralf Förster
Modified: 2023-09-27 20:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.54 KB, text/plain)
2023-09-27 20:31 UTC, Toralf Förster
Details
app-antivirus:clamav-1.2.0:20230927-175450.log.xz (app-antivirus:clamav-1.2.0:20230927-175450.log.xz,22.93 KB, application/x-xz)
2023-09-27 20:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,164.24 KB, text/plain)
2023-09-27 20:31 UTC, Toralf Förster
Details
environment (environment,179.68 KB, text/plain)
2023-09-27 20:31 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-27 20:31 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.41 KB, application/x-xz)
2023-09-27 20:31 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.38 KB, application/x-xz)
2023-09-27 20:31 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,57.54 KB, application/x-xz)
2023-09-27 20:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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