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

Bug 881307

Summary: net-analyzer/tcpstat-1.5_p8 - stats.c: error: incompatible function pointer types passing int (DB ,
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
net-analyzer:tcpstat-1.5_p8:20221114-195024.log
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-14 19:54:20 UTC
            ^~~~~~~~    ~~~~
stats.c:72:22: warning: unused parameter 'db' [-Wunused-parameter]
int compare_keys(DB *db, const DBT *d1, const DBT *d2) {
                     ^
stats.c:163:45: error: incompatible function pointer types passing 'int (DB *,
      const DBT *, const DBT *)' (aka 'int (struct __db *, const struct __db_dbt
      *, const struct __db_dbt *)') to parameter of type 'int (*)(DB *, const

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221112-220005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit e0484b385a43ace0b96fb91a643fd17f22a34497
Merge: f2401ce11ca3 0c77aadb9830
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 14 17:46:45 2022 +0000

    Merge updates from master

emerge -qpvO net-analyzer/tcpstat
[ebuild  N    ] net-analyzer/tcpstat-1.5_p8  USE="ipv6"
Comment 1 Toralf Förster gentoo-dev 2022-11-14 19:54:21 UTC
Created attachment 832457 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-14 19:54:22 UTC
Created attachment 832459 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-14 19:54:24 UTC
Created attachment 832461 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-14 19:54:25 UTC
Created attachment 832463 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-14 19:54:26 UTC
Created attachment 832465 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-14 19:54:27 UTC
Created attachment 832467 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-14 19:54:28 UTC
Created attachment 832469 [details]
net-analyzer:tcpstat-1.5_p8:20221114-195024.log
Comment 8 Toralf Förster gentoo-dev 2022-11-14 19:54:29 UTC
Created attachment 832471 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-14 19:54:31 UTC
Created attachment 832473 [details]
var.tmp.clang.tar.bz2