Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857768 - net-analyzer/ntopng-5.2.1 - src/NetworkInterface.cpp: error: too few arguments to function int ndpi_load_ip_category(ndpi_detectio
Summary: net-analyzer/ntopng-5.2.1 - src/NetworkInterface.cpp: error: too few argument...
Status: RESOLVED FIXED
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:
 
Reported: 2022-07-12 09:21 UTC by Toralf Förster
Modified: 2022-08-18 00:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.38 KB, text/plain)
2022-07-12 09:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,95.21 KB, text/plain)
2022-07-12 09:21 UTC, Toralf Förster
Details
environment (environment,73.56 KB, text/plain)
2022-07-12 09:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.36 KB, application/x-bzip)
2022-07-12 09:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,34.77 KB, application/x-bzip)
2022-07-12 09:21 UTC, Toralf Förster
Details
net-analyzer:ntopng-5.2.1:20220712-084647.log (net-analyzer:ntopng-5.2.1:20220712-084647.log,98.47 KB, text/plain)
2022-07-12 09:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.74 KB, application/x-bzip)
2022-07-12 09:21 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-07-12 09:21:20 UTC
/usr/include/ndpi/ndpi_main.h:146:57: note:   initializing argument 6 of void ndpi_set_proto_defaults(ndpi_detection_module_struct*, u_int8_t, u_int8_t, ndpi_protocol_breed_t, u_int16_t, char*, ndpi_protocol_category_t, ndpi_port_range*, ndpi_port_range*)’
  146 |                                u_int16_t protoId, char *protoName,
      |                                                   ~~~~~~^~~~~~~~~
src/NetworkInterface.cpp: In member function void NetworkInterface::nDPILoadIPCategory(char*, ndpi_protocol_category_t)’:
src/NetworkInterface.cpp:505:26: error: too few arguments to function int ndpi_load_ip_category(ndpi_detection_module_struct*, const char*, ndpi_protocol_category_t, void*)’
  505 |     ndpi_load_ip_category(ndpi_struct_shadow, what, id);
      |     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220711-180014

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0 *
  [3]   php8.1

  HEAD of ::gentoo
commit 61ab94305be62f7ca8665f24f4712413190ce4cf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jul 12 08:01:47 2022 +0000

    2022-07-12 08:01:46 UTC

emerge -qpvO net-analyzer/ntopng
[ebuild  N    ] net-analyzer/ntopng-5.2.1
Comment 1 Toralf Förster gentoo-dev 2022-07-12 09:21:21 UTC
Created attachment 791201 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-12 09:21:23 UTC
Created attachment 791204 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-07-12 09:21:24 UTC
Created attachment 791207 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-07-12 09:21:25 UTC
Created attachment 791210 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-07-12 09:21:26 UTC
Created attachment 791213 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-12 09:21:27 UTC
Created attachment 791216 [details]
net-analyzer:ntopng-5.2.1:20220712-084647.log
Comment 7 Toralf Förster gentoo-dev 2022-07-12 09:21:28 UTC
Created attachment 791219 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-08-18 00:30:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242e1c014bc6ad66793c8cc0440237ad2bd03de5

commit 242e1c014bc6ad66793c8cc0440237ad2bd03de5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-18 00:29:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-18 00:30:05 +0000

    net-analyzer/ntopng: add max version on nDPI
    
    Huge pain w/ API changes as often happens with these,
    but hopefully new release soon.
    
    Closes: https://bugs.gentoo.org/857768
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/ntopng/{ntopng-5.2.1.ebuild => ntopng-5.2.1-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)