From owner-freebsd-ports@FreeBSD.ORG Sun Sep 7 16:02:56 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D767E18D for ; Sun, 7 Sep 2014 16:02:56 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98F5E17A1 for ; Sun, 7 Sep 2014 16:02:56 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id wn1so10054855obc.16 for ; Sun, 07 Sep 2014 09:02:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CYEv7oTyJitGqp0xqB1SanRRNSHDAa6E9WzcC568hDE=; b=Wo9UGE4kHL4cINzyRotJJhg8Fbf3Dw5lUncMflTzuymWqw8OTCG/HCmlHy+1Hdzkpw iaT79qZVdAFWX6lk9K2bj/ccCdmhOXTqw+sjBozViiSKNTd9KbkygtvQiwTNUBkEGpxI N7JTwMNAPWp2RzSO3OVV/CzhEwbBcF4vJe2arxQ5oKuUMByPL0lMZtf4pxRoL9Yp25Kp ThUu/hDduh/895uQ0ZgaEBDVS1r8Cebs/nZCl80IY4Nz7o2HKrNi/Hxx0kj33lf/RaHk Zy8B42ptGHeswLrUbU5HNOvzMKagA8B079pGf6KeAEy8HFcM6PwgG7gQmSwdI9+Npni8 1Bcw== MIME-Version: 1.0 X-Received: by 10.60.41.65 with SMTP id d1mr18455377oel.32.1410105775899; Sun, 07 Sep 2014 09:02:55 -0700 (PDT) Received: by 10.202.59.193 with HTTP; Sun, 7 Sep 2014 09:02:55 -0700 (PDT) In-Reply-To: <20140907113633.5bca18a55c5c6f2198800d62@3dresearch.com> References: <20140904123253.3ce66f73b13e27196ea55c04@3dresearch.com> <540A0781.90609@gmx.de> <20140905203236.GB9400@home.opsec.eu> <540A1E95.4000802@gmx.de> <20140905204704.GC9400@home.opsec.eu> <540A34BB.3080704@gmx.de> <20140907113633.5bca18a55c5c6f2198800d62@3dresearch.com> Date: Sun, 7 Sep 2014 22:02:55 +0600 Message-ID: Subject: Re: net/ntop strip: ... Invalid operation From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: Janos Dohanics Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 16:02:56 -0000 Hi, ntopng 1.2.1 is on bugzilla. However I couldn't make it work on 8.X due to ENDIAN issues. So have marked it broken on 8.X. Today someone committed ndpi so the bug 193421 is ready to be committed. BR, Muhammad On Sun, Sep 7, 2014 at 9:36 PM, Janos Dohanics wrote: > On Sat, 06 Sep 2014 00:10:03 +0200 > Matthias Andree wrote: > > > Am 05.09.2014 um 22:47 schrieb Kurt Jaeger: > > > Hi! > > > > > >>>>> I understand that net/ntop is unmaintained, but someone perhaps > > >>>>> still could advise... > > > > > >>>> Another suggestion, after checking the website: did you try > > >>>> ntopng yet? > > > > > >> Apparently it needs a bit love, upstream seems rather active given > > >> the latest file release dates in August. Haven't checked in depth. > > > > > > I had a quick look at it, it needs more than a little bit to get it > > > up to 1.2.0. > > > > > > > I believe SVN r367396 fixes the net/ntop build problem, at the price > > of an additional requisite package, namely binutils, on 8.x releases > > (or all versions before OSVERSION reached 900033, for that matter). > > > > It also fixes a problem when trying to build WITH_SSP_PORTS=yes for > > hardening. > > > > Closes Bug #192047. I am not bumping the portrevision because this > > fixes build failures only. > > > > > > Janos, > > > > thank you for the report. Try upgrading your ports tree a short while > > after I've sent this message; the port is up to date if it > > uses .include at its very end. > > > > HTH > > Matthias, > > Thanks for your help. > > I have upgraded the ports tree: > > # portsnap fetch > Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found. > Fetching snapshot tag from your-org.portsnap.freebsd.org... done. > Ports tree hasn't changed since last snapshot. > No updates needed. > > Installed binutils-2.24_1 > > Removed libndpi.so*: > > # ls /usr/ports/net/ntop/work/ntop-5.0.1/nDPI/src/lib/.libs/libndpi* > /usr/ports/net/ntop/work/ntop-5.0.1/nDPI/src/lib/.libs/libndpi.a > /usr/ports/net/ntop/work/ntop-5.0.1/nDPI/src/lib/.libs/libndpi.lai > /usr/ports/net/ntop/work/ntop-5.0.1/nDPI/src/lib/.libs/libndpi.la > > End of Makefile: > > # tail -n 1 /usr/ports/net/ntop/Makefile > .include > > Trying again: > > # make install clean > ===> Staging for ntop-5.0.1_8 > [...] > /bin/mkdir -p '/usr/ports/net/ntop/work/stage/usr/local/lib' > /bin/sh ./libtool --mode=install /usr/bin/install -c -o root -g wheel > -s libntop.la libntopreport.la > '/usr/ports/net/ntop/work/stage/usr/local/lib' > libtool: install: /usr/bin/install -c -o root -g wheel .libs/ > libntop-5.0.1.so /usr/ports/net/ntop/work/stage/usr/local/lib/ > libntop-5.0.1.so > libtool: install: strip --strip-unneeded > /usr/ports/net/ntop/work/stage/usr/local/lib/libntop-5.0.1.so > libtool: install: (cd /usr/ports/net/ntop/work/stage/usr/local/lib && { ln > -s -f libntop-5.0.1.so libntop.so || { rm -f libntop.so && ln -s > libntop-5.0.1.so libntop.so; }; }) > libtool: install: /usr/bin/install -c -o root -g wheel .libs/libntop.lai > /usr/ports/net/ntop/work/stage/usr/local/lib/libntop.la > libtool: install: warning: relinking `libntopreport.la' > libtool: install: (cd /usr/ports/net/ntop/work/ntop-5.0.1; /bin/sh > /usr/ports/net/ntop/work/ntop-5.0.1/libtool --tag CC --mode=relink cc -g > -O2 -pipe -I/usr/local/include -L/usr/local/lib -fno-strict-aliasing > -I/usr/local/include -I/opt/local/include -g -Wshadow -Wpointer-arith > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I > /usr/include -I/usr/local/include -I/usr/include > -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 > -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -release 5.0.1 > -export-dynamic -L/usr/local/lib -pthread > -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/local/lib -L/opt/local/lib > -L/usr/local/lib -L/usr/lib -o libntopreport.la -rpath /usr/local/lib > emitter.lo globals-report.lo graph.lo httpd.lo report.lo reportUtils.lo > ssl_utils.lo webInterface.lo map.lo python.lo libntop.la -lpthread -lc > -lcrypt -lssl -lcrypto -lgdbm -lz -L/usr/local/lib -lintl -lutil -lm > -lpython2.7 -lGeoIP -L/usr/lib -lpcap -L/usr/local/lib -lrrd_th ./nDPI/src > /lib/.libs/libndpi.a -inst-prefix-dir /usr/ports/net/ntop/work/stage) > > *** Warning: Linking the shared library libntopreport.la against the > *** static library ./nDPI/src/lib/.libs/libndpi.a is not portable! > libtool: relink: cc -shared -fPIC -DPIC .libs/emitter.o > .libs/globals-report.o .libs/graph.o .libs/httpd.o .libs/report.o > .libs/reportUtils.o .libs/ssl_utils.o .libs/webInterface.o .libs/map.o > .libs/python.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib > -L/opt/local/lib -L/usr/lib ./.libs/libntop.so -lpthread -lcrypt -lssl > -lcrypto /usr/local/lib/libgdbm.so -lz /usr/local/lib/libintl.so -lutil -lm > -lpython2.7 -lGeoIP -lpcap -lrrd_th ./nDPI/src/lib/.libs/libndpi.a -O2 -O2 > -pthread -Wl,-rpath -Wl,/usr/lib:/usr/local/lib -pthread -Wl,-soname -Wl, > libntopreport-5.0.1.so -o .libs/libntopreport-5.0.1.so > libtool: install: /usr/bin/install -c -o root -g wheel > .libs/libntopreport-5.0.1.soT /usr/ports/net/ntop/work/stage/usr/local/lib/ > libntopreport-5.0.1.so > libtool: install: strip --strip-unneeded > /usr/ports/net/ntop/work/stage/usr/local/lib/libntopreport-5.0.1.so > libtool: install: (cd /usr/ports/net/ntop/work/stage/usr/local/lib && { ln > -s -f libntopreport-5.0.1.so libntopreport.so || { rm -f libntopreport.so > && ln -s libntopreport-5.0.1.so libntopreport.so; }; }) > libtool: install: /usr/bin/install -c -o root -g wheel > .libs/libntopreport.lai /usr/ports/net/ntop/work/stage/usr/local/lib/ > libntopreport.la > libtool: install: /usr/bin/install -c -o root -g wheel .libs/libntop.a > /usr/ports/net/ntop/work/stage/usr/local/lib/libntop.a > libtool: install: strip --strip-debug > /usr/ports/net/ntop/work/stage/usr/local/lib/libntop.a > strip: /usr/ports/net/ntop/work/stage/usr/local/lib/stJ2uYIj/libndpi.a: > Invalid operation > gmake[3]: *** [install-libLTLIBRARIES] Error 1 > gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1' > gmake[2]: *** [install-am] Error 2 > gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1' > gmake[1]: *** [install-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop-5.0.1' > gmake: *** [install-strip] Error 2 > *** Error code 2 > > Stop in /usr/ports/net/ntop. > *** Error code 1 > > # make showconfig > ===> The following configuration options are available for ntop-5.0.1_8: > JUMBO_FRAMES=off: Jumbo Frames (experimental) > MAKO=off: Install py-mako for Host Map, Region View > PCAP_PORT=off: Use libpcap from ports > XMLDUMP=off: Enable XML Dump support > ===> Use 'make config' to modify these settings > > Should I remove all libndpi* files? > > -- > Janos Dohanics > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >