Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 14:46:28 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        Guido Falsi <madpilot@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r529260 - in head/net: ndpi ndpi/files ntopng ntopng/files
Message-ID:  <4f0e8f32-d9a8-b7bc-2368-1f4c7392a7c4@FreeBSD.org>
In-Reply-To: <202003271521.02RFLFM3097811@repo.freebsd.org>
References:  <202003271521.02RFLFM3097811@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/03/20 12:21, Guido Falsi wrote:
> Author: madpilot
> Date: Fri Mar 27 15:21:15 2020
> New Revision: 529260
> URL: https://svnweb.freebsd.org/changeset/ports/529260
> 
> Log:
>    - Update nDPI to 3.2.d20200324
>    - Update ntopng to 4.0.d20200326
>    
>    Reported by:	Victor Hooi <victorhooi@yahoo.com>
> 
> Deleted:
>    head/net/ntopng/files/patch-scripts_lua_examples_sqlite.lua
> Modified:
>    head/net/ndpi/Makefile
>    head/net/ndpi/distinfo
>    head/net/ndpi/files/patch-example_Makefile.in
>    head/net/ntopng/Makefile
>    head/net/ntopng/distinfo
>    head/net/ntopng/files/patch-configure.seed
>    head/net/ntopng/pkg-plist

After this change it's failing to build on 12-armv7, at least on pfSense 
jails, with following error:

src/ParsedFlow.cpp:130:14: error: invalid operands to binary expression 
('lua_Number' (aka 'double') and 'double')
           version = htons(lua_tonumber(L, -1));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:120:18: note: expanded from macro 'htons'
#define htons(x)        __htons(x)
                         ^~~~~~~~~~
/usr/include/machine/endian.h:74:28: note: expanded from macro '__htons'
#define __htons(x)        (__bswap16(x))
                            ^~~~~~~~~~~~
/usr/include/machine/endian.h:129:6: note: expanded from macro '__bswap16'
      __bswap16_constant(x) :                    \
      ^~~~~~~~~~~~~~~~~~~~~
/usr/include/machine/endian.h:124:12: note: expanded from macro 
'__bswap16_constant'
     ((((x) & 0xff00) >> 8) |            \
        ~~~ ^ ~~~~~~

-- 
Renato Botelho



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f0e8f32-d9a8-b7bc-2368-1f4c7392a7c4>