Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662010 - net-analyzer/ntopng-3.0-r3 with net-libs/libpcap-1.9.0 : src/.../mongoose.c:273:13: error: multiple types in one declaration
Summary: net-analyzer/ntopng-3.0-r3 with net-libs/libpcap-1.9.0 : src/.../mongoose.c:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-24 17:42 UTC by Toralf Förster
Modified: 2019-12-28 12:04 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2018-07-24 17:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,340.23 KB, text/plain)
2018-07-24 17:42 UTC, Toralf Förster
Details
environment (environment,71.64 KB, text/plain)
2018-07-24 17:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.05 KB, application/x-bzip)
2018-07-24 17:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.09 KB, application/x-bzip)
2018-07-24 17:42 UTC, Toralf Förster
Details
net-analyzer:ntopng-3.0-r3:20180724-154057.log (net-analyzer:ntopng-3.0-r3:20180724-154057.log,43.16 KB, text/plain)
2018-07-24 17:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.55 KB, application/x-bzip)
2018-07-24 17:42 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-07-24 17:42:21 UTC
   #define INVALID_SOCKET -1
 
src/../third-party/mongoose/mongoose.c:273:13: error: multiple types in one declaration
 typedef int SOCKET;
             ^
src/../third-party/mongoose/mongoose.c:273:13: error: declaration does not declare anything [-fpermissive]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20180714-115334

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.7 (fallback)
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv net-analyzer/ntopng
[ebuild  N    ] net-analyzer/ntopng-3.0-r3
Comment 1 Toralf Förster gentoo-dev 2018-07-24 17:42:24 UTC
Created attachment 540832 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-24 17:42:27 UTC
Created attachment 540834 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-07-24 17:42:30 UTC
Created attachment 540836 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-07-24 17:42:33 UTC
Created attachment 540838 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-07-24 17:42:36 UTC
Created attachment 540840 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-24 17:42:39 UTC
Created attachment 540842 [details]
net-analyzer:ntopng-3.0-r3:20180724-154057.log
Comment 7 Toralf Förster gentoo-dev 2018-07-24 17:42:41 UTC
Created attachment 540844 [details]
temp.tbz2
Comment 8 Juergen Rose 2018-08-08 08:31:33 UTC
Same issue here.
Comment 9 Fred Krogh 2018-08-08 23:10:51 UTC
And same for me as well.
Comment 10 Juergen Rose 2018-10-03 08:51:31 UTC
Is there not any patch?
Comment 11 Martin von Gagern 2018-11-03 23:13:24 UTC
I suggest using https://github.com/ntop/ntopng/commit/9cb650ea96c0e5063775071cfdae072e92c553b8 to resolve this.

mkdir -p /etc/portage/patches/net-analyzer/ntopng-3.0-r3
wget -O /etc/portage/patches/net-analyzer/ntopng-3.0-r3/9cb650ea96c0e5063775071cfdae072e92c553b8.patch https://github.com/ntop/ntopng/commit/9cb650ea96c0e5063775071cfdae072e92c553b8.patch
emerge -1 --nodeps =net-analyzer/ntopng-3.0-r3
Comment 12 Juergen Rose 2019-03-15 08:06:31 UTC
It still fails.
Comment 13 juneau_ 2019-04-03 13:32:26 UTC
(In reply to Juergen Rose from comment #12)
> It still fails.
Works good there (as Martin said above in comment #11).
Comment 14 Juergen Rose 2019-04-27 19:47:02 UTC
Works for me now as well with patch from comment #11.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-28 12:04:17 UTC
Fixed in >=3.8