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

Bug 932616

Summary: net-analyzer/ntopng-5.6-r2 - [ncurses-6.5] [gcc-15] [llvm] src/LuaEngineNtop.cpp: error: no matching function for call to
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: CONFIRMED ---    
Severity: normal CC: pabou88
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=861230
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-analyzer:ntopng-5.6-r2:20240524-052649.log
qlist-info.txt.xz
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2024-05-24 07:11:50 UTC
too long lines were shrinked:

  173 |   NetworkStats *ns = c ? c->network : NULL;
      |                 ^~
3 warnings generated.
clang++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/net-analyzer/ntopng-5.6-r2/work/ntopng-5.6 -I/var/tmp/portage/net-analyzer/ntopng-5.6-r2/work/ntopng-5.6/include -Wall -std=c++1y -I/usr/include/hiredis -D_FILE_OFFSET
1 warning generated.
clang++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I/var/tmp/portage/net-analyzer/ntopng-5.6-r2/work/ntopng-5.6 -I/var/tmp/portage/net-analyzer/ntopng-5.6-r2/work/ntopng-5.6/include -Wall -std=c++1y -I/usr/include/hiredis -D_FILE_OFFSET
src/LuaEngineNtop.cpp:5709:12: error: no matching function for call to
      'rrd_tune'
 5709 |   status = rrd_tune(argc, (char**)argv);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm_systemd-20240520-084001

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6+libcxx
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit f2bdd3705ec8f27a1df27ccb3fa2bc516c744a23
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 24 04:18:55 2024 +0000

    2024-05-24 04:18:54 UTC

emerge -qpvO net-analyzer/ntopng
[ebuild  N    ] net-analyzer/ntopng-5.6-r2
Comment 1 Toralf Förster gentoo-dev 2024-05-24 07:11:51 UTC
Created attachment 894161 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-24 07:11:53 UTC
Created attachment 894162 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-24 07:11:54 UTC
Created attachment 894163 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-24 07:11:55 UTC
Created attachment 894164 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-24 07:11:56 UTC
Created attachment 894165 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-24 07:11:56 UTC
Created attachment 894166 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-24 07:11:58 UTC
Created attachment 894167 [details]
net-analyzer:ntopng-5.6-r2:20240524-052649.log
Comment 8 Toralf Förster gentoo-dev 2024-05-24 07:11:59 UTC
Created attachment 894168 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-05-24 07:12:00 UTC
Created attachment 894169 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-05-24 07:12:01 UTC
Created attachment 894170 [details]
var.tmp.clang.tar.xz
Comment 11 Paweł Metelski 2024-06-24 08:07:16 UTC
It seems that limiting net-analyzer/rrdtool==1.4.8 in ebuild could help.
https://github.com/ntop/ntopng/issues/8229#issuecomment-2002614170

Have anyone tried this approach?