From owner-freebsd-ports@FreeBSD.ORG Sun Sep 7 15:37:06 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 981F5686 for ; Sun, 7 Sep 2014 15:37:06 +0000 (UTC) Received: from smtpb.telissant.net (smtpb.telissant.net [199.233.230.156]) by mx1.freebsd.org (Postfix) with ESMTP id 542011378 for ; Sun, 7 Sep 2014 15:37:05 +0000 (UTC) Received: from barrida.3dresearch.com (localhost [127.0.0.1]) by smtpb.telissant.net (Postfix) with ESMTP id 6028C27369 for ; Sun, 7 Sep 2014 11:36:59 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpb.telissant.net ([127.0.0.1]) by barrida.3dresearch.com (barrida.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQz2rLnQ6kiq for ; Sun, 7 Sep 2014 11:36:40 -0400 (EDT) Received: from doncurzio.3dresearch.com (pool-108-3-92-199.pitbpa.east.verizon.net [108.3.92.199]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtpb.telissant.net (Postfix) with ESMTPSA id D95E627332 for ; Sun, 7 Sep 2014 11:36:39 -0400 (EDT) Received: from doncurzio.3dresearch.com (localhost [127.0.0.1]) by doncurzio.3dresearch.com (Postfix) with SMTP id 31754A1E2C for ; Sun, 7 Sep 2014 11:36:39 -0400 (EDT) Date: Sun, 7 Sep 2014 11:36:33 -0400 From: Janos Dohanics To: freebsd-ports@freebsd.org Subject: Re: net/ntop strip: ... Invalid operation Message-Id: <20140907113633.5bca18a55c5c6f2198800d62@3dresearch.com> In-Reply-To: <540A34BB.3080704@gmx.de> 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> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 15:37:06 -0000 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