Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921572 - net-libs/daq-2.0.7 - daq_nfq.c: error: passing argument 2 of nfq_get_payload from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-libs/daq-2.0.7 - daq_nfq.c: error: passing argument 2 of nfq_get_payload ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-07 15:56 UTC by Toralf Förster
Modified: 2024-04-11 01:25 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.71 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,206.44 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
environment (environment,78.25 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.41 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.71 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
net-libs:daq-2.0.7:20240107-033909.log (net-libs:daq-2.0.7:20240107-033909.log,72.64 KB, text/plain)
2024-01-07 15:56 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,55.57 KB, application/x-xz)
2024-01-07 15:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.05 KB, application/x-xz)
2024-01-07 15:56 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 2024-01-07 15:56:17 UTC
      |                 ^~~~~~~~~~~~
daq_nfq.c:334:62: warning: ISO C does not support __FUNCTION__ predefined identifier [-Wpedantic]
  334 |            snprintf(errBuf, errMax, "%s: can't open ip!\n", __FUNCTION__);
      |                                                             ^~~~~~~~~~~~

daq_nfq.c: In function SetPktHdr:
daq_nfq.c:394:37: error: passing argument 2 of nfq_get_payload from incompatible pointer type [-Wincompatible-pointer-types]
  394 |     int len = nfq_get_payload(nfad, (char**)pkt);
      |                                     ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240104-075517

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] 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 Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 05a833589be25f317c19155053d68486d56d025a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 7 01:51:56 2024 +0000

    2024-01-07 01:51:56 UTC

emerge -qpvO net-libs/daq
[ebuild  N    ] net-libs/daq-2.0.7  USE="afpacket dump ipq ipv6 nfq pcap -static-libs"
Comment 1 Toralf Förster gentoo-dev 2024-01-07 15:56:18 UTC
Created attachment 881618 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-07 15:56:19 UTC
Created attachment 881619 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-07 15:56:21 UTC
Created attachment 881620 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-07 15:56:21 UTC
Created attachment 881621 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-07 15:56:23 UTC
Created attachment 881622 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-07 15:56:23 UTC
Created attachment 881623 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-07 15:56:25 UTC
Created attachment 881624 [details]
net-libs:daq-2.0.7:20240107-033909.log
Comment 8 Toralf Förster gentoo-dev 2024-01-07 15:56:26 UTC
Created attachment 881625 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-07 15:56:27 UTC
Created attachment 881626 [details]
temp.tar.xz