Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712058 - net-analyzer/ntopng-3.8.1-r3 with =net-libs/nDPI-3.2 : src/Flow.cpp: error: struct ndpi_flow_struct::<unnamed union>::<unnamed struct>::<unnamed> has no
Summary: net-analyzer/ntopng-3.8.1-r3 with =net-libs/nDPI-3.2 : src/Flow.cpp: error: ...
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: CVE-2020-11939, CVE-2020-11940, CVE-2020-15471, CVE-2020-15472, CVE-2020-15473, CVE-2020-15474, CVE-2020-15475, CVE-2020-15476
  Show dependency tree
 
Reported: 2020-03-10 13:01 UTC by Toralf Förster
Modified: 2020-05-16 22:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.86 KB, text/plain)
2020-03-10 13:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.57 KB, text/plain)
2020-03-10 13:01 UTC, Toralf Förster
Details
environment (environment,80.99 KB, text/plain)
2020-03-10 13:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.24 KB, application/x-bzip)
2020-03-10 13:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.39 KB, application/x-bzip)
2020-03-10 13:01 UTC, Toralf Förster
Details
net-analyzer:ntopng-3.8.1-r3:20200310-125855.log (net-analyzer:ntopng-3.8.1-r3:20200310-125855.log,37.96 KB, text/plain)
2020-03-10 13:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.18 KB, application/x-bzip)
2020-03-10 13:02 UTC, Toralf Förster
Details
git based ebuild for nDPI-3.2 (nDPI-3.2-r1.ebuild,1.30 KB, text/plain)
2020-04-23 19:06 UTC, Martin Cyr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-10 13:01:41 UTC
src/Flow.cpp: In member function 'void Flow::processDetectedProtocol()':
src/Flow.cpp:451:42: error: 'struct ndpi_flow_struct::<unnamed union>::<unnamed struct>::<unnamed>' has no member named 'client_certificate'
  451 |        && (ndpiFlow->protos.stun_ssl.ssl.client_certificate[0] != '\0')) {
      |                                          ^~~~~~~~~~~~~~~~~~
src/Flow.cpp:452:69: error: 'struct ndpi_flow_struct::<unnamed union>::<unnamed struct>::<unnamed>' has no member named 'client_certificate'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200305-031819

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

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

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-8]
2)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   openjdk-bin-8 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 10 Mar 2020 11:37:37 +0000

emerge -qpvO net-analyzer/ntopng
[ebuild  N    ] net-analyzer/ntopng-3.8.1-r3
Comment 1 Toralf Förster gentoo-dev 2020-03-10 13:01:43 UTC
Created attachment 617918 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-10 13:01:46 UTC
Created attachment 617920 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-10 13:01:49 UTC
Created attachment 617922 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-10 13:01:52 UTC
Created attachment 617924 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-10 13:01:55 UTC
Created attachment 617926 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-10 13:01:58 UTC
Created attachment 617928 [details]
net-analyzer:ntopng-3.8.1-r3:20200310-125855.log
Comment 7 Toralf Förster gentoo-dev 2020-03-10 13:02:01 UTC
Created attachment 617930 [details]
temp.tbz2
Comment 8 Jack 2020-03-23 19:22:17 UTC
3.8.1-r4 fails the same way.
Comment 9 Leonardo Ferraguzzi 2020-03-23 20:14:49 UTC
just downgraded net-libs/nDPI from 3.2 to 3.0-r2 and now net-analyzer/ntopng-3.8.1-r4 builds successfully
Comment 10 Bozhidar Hristov 2020-03-24 19:25:19 UTC
I can confirm same problem here. 
Leonardo Ferraguzzi's solution is working.
Comment 11 Martin Cyr 2020-04-23 19:06:23 UTC
Created attachment 634238 [details]
git based ebuild for nDPI-3.2

The released nDPI version 3.2 archive on github doesn't match 3.2-stable branch.
Building from git branch fixes this.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-05 22:39:35 UTC
(In reply to Martin Cyr from comment #11)
> Created attachment 634238 [details]
> git based ebuild for nDPI-3.2
> 
> The released nDPI version 3.2 archive on github doesn't match 3.2-stable
> branch.
> Building from git branch fixes this.

Any progress on this?
Comment 13 Adrian Bassett 2020-05-16 12:58:28 UTC
(In reply to Sam James (sec padawan) from comment #12)
> (In reply to Martin Cyr from comment #11)
> > Created attachment 634238 [details]
> > git based ebuild for nDPI-3.2
> > 
> > The released nDPI version 3.2 archive on github doesn't match 3.2-stable
> > branch.
> > Building from git branch fixes this.
> 
> Any progress on this?

net-analyzer/ntopng-4.0 just built successfully against net-libs/nDPI-3.2-r1, both recently added/upgraded in portage.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-16 21:01:38 UTC
(In reply to Adrian Bassett from comment #13)
> net-analyzer/ntopng-4.0 just built successfully against
> net-libs/nDPI-3.2-r1, both recently added/upgraded in portage.

What an amazing coincidence! (Thanks for the confirmation anyway.)
Comment 15 Adrian Bassett 2020-05-16 21:02:43 UTC
(In reply to Jeroen Roovers from comment #14)
> (In reply to Adrian Bassett from comment #13)
> > net-analyzer/ntopng-4.0 just built successfully against
> > net-libs/nDPI-3.2-r1, both recently added/upgraded in portage.
> 
> What an amazing coincidence! (Thanks for the confirmation anyway.)

:-)