Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645478 - net-analyzer/ntopng-3.0-r2 : src/Flow.cpp:433:42: error: struct ndpi_flow_struct has no member named bittorent_hash
Summary: net-analyzer/ntopng-3.0-r2 : src/Flow.cpp:433:42: error: struct ndpi_flow_str...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sławek Lis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 18:11 UTC by Toralf Förster
Modified: 2018-01-23 19:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.49 KB, text/plain)
2018-01-23 18:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,238.16 KB, text/plain)
2018-01-23 18:11 UTC, Toralf Förster
Details
environment (environment,68.59 KB, text/plain)
2018-01-23 18:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.46 KB, application/x-bzip)
2018-01-23 18:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.95 KB, application/x-bzip)
2018-01-23 18:11 UTC, Toralf Förster
Details
net-analyzer:ntopng-3.0-r2:20180123-001451.log (net-analyzer:ntopng-3.0-r2:20180123-001451.log,37.56 KB, text/plain)
2018-01-23 18:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.97 KB, application/x-bzip)
2018-01-23 18:11 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 2018-01-23 18:11:01 UTC
src/Flow.cpp: In member function ‘void Flow::processDetectedProtocol()’:
src/Flow.cpp:433:42: error: ‘struct ndpi_flow_struct’ has no member named ‘bittorent_hash’; did you mean ‘bittorrent_stage’?
       setBittorrentHash((char*)ndpiFlow->bittorent_hash);
                                          ^~~~~~~~~~~~~~
                                          bittorrent_stage

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl_20180117-220140

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
  [2]   ruby23 (with Rubygems)
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-analyzer/ntopng
[ebuild  N    ] net-analyzer/ntopng-2.4 
[blocks B     ] net-libs/nDPI ("net-libs/nDPI" is blocking net-analyzer/ntopng-2.4)
Comment 1 Toralf Förster gentoo-dev 2018-01-23 18:11:04 UTC
Created attachment 516120 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-23 18:11:07 UTC
Created attachment 516122 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-01-23 18:11:10 UTC
Created attachment 516124 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-01-23 18:11:13 UTC
Created attachment 516126 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-01-23 18:11:16 UTC
Created attachment 516128 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-23 18:11:19 UTC
Created attachment 516130 [details]
net-analyzer:ntopng-3.0-r2:20180123-001451.log
Comment 7 Toralf Förster gentoo-dev 2018-01-23 18:11:22 UTC
Created attachment 516132 [details]
temp.tbz2
Comment 8 Sławek Lis (RETIRED) gentoo-dev 2018-01-23 19:06:04 UTC
ntopng versions are closely related with net-libs/nDPI, and this particular version requires net-libs/nDPI-2.0. While latest nDPI is added, ntopng still cannot be built yet.

As best resolution, I've fixed ntopngs' dependecies.
Comment 9 Larry the Git Cow gentoo-dev 2018-01-23 19:06:50 UTC
The bug has been closed via the following commit(s):

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

commit e7f82a8eedbb20edd935ff420d91fdbcc3576d69
Author:     Slawomir Lis <slis@gentoo.org>
AuthorDate: 2018-01-23 19:06:40 +0000
Commit:     Slawomir Lis <slis@gentoo.org>
CommitDate: 2018-01-23 19:06:40 +0000

    net-analyzer/ntopng: fixed dependencies for net-libs/nDPI library
    
    Closes: https://bugs.gentoo.org/645478
    Package-Manager: Portage-2.3.20, Repoman-2.3.6

 net-analyzer/ntopng/ntopng-3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)