Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881307 - net-analyzer/tcpstat-1.5_p8 - stats.c: error: incompatible function pointer types passing int (DB ,
Summary: net-analyzer/tcpstat-1.5_p8 - stats.c: error: incompatible function pointer t...
Status: RESOLVED PKGREMOVED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard: removed
Keywords: PMASKED
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-14 19:54 UTC by Toralf Förster
Modified: 2024-10-29 14:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.38 KB, text/plain)
2022-11-14 19:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,254.75 KB, text/plain)
2022-11-14 19:54 UTC, Toralf Förster
Details
environment (environment,99.11 KB, text/plain)
2022-11-14 19:54 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-11-14 19:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.04 KB, application/x-bzip)
2022-11-14 19:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.84 KB, application/x-bzip)
2022-11-14 19:54 UTC, Toralf Förster
Details
net-analyzer:tcpstat-1.5_p8:20221114-195024.log (net-analyzer:tcpstat-1.5_p8:20221114-195024.log,13.62 KB, text/plain)
2022-11-14 19:54 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.43 KB, application/x-bzip)
2022-11-14 19:54 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.73 KB, application/x-bzip)
2022-11-14 19:54 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 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
Comment 10 Larry the Git Cow gentoo-dev 2024-05-25 07:23:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033d219858ab4f7c1de692b3b4927ace373f9d86

commit 033d219858ab4f7c1de692b3b4927ace373f9d86
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-05-25 07:22:38 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-05-25 07:22:38 +0000

    net-analyzer/tcpstat: treeclean
    
    Closes: https://bugs.gentoo.org/928731
    Bug: https://bugs.gentoo.org/724930
    Bug: https://bugs.gentoo.org/881307
    Bug: https://bugs.gentoo.org/923090
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 net-analyzer/tcpstat/Manifest                      |  2 -
 .../files/tcpstat-1.5_p8-_DEFAULT_SOURCE.patch     | 11 ---
 .../tcpstat/files/tcpstat-1.5_p8-ipv6.patch        | 30 -------
 .../tcpstat/files/tcpstat-1.5_p8-libpcap.patch     | 11 ---
 .../tcpstat/files/tcpstat-1.5_p8-off-by-one.patch  | 50 -----------
 .../tcpstat/files/tcpstat-1.5_p8-unused.patch      | 99 ----------------------
 net-analyzer/tcpstat/metadata.xml                  |  8 --
 net-analyzer/tcpstat/tcpstat-1.5_p8.ebuild         | 61 -------------
 profiles/package.mask                              |  5 --
 9 files changed, 277 deletions(-)