net/ntop strip: ... Invalid operation

Janos Dohanics web at 3dresearch.com
Thu Sep 4 16:33:39 UTC 2014


I'm trying to build and install net/ntop and getting this error
(FreeBSD 8.4-STABLE #0 r264373 amd64):

===>   Generating temporary packing list
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo -I m4
-I m4
 cd . && /bin/sh ./missing --run echo --gnu
--gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo

if test -z 'strip'; then \
  gmake  INSTALL_PROGRAM="/bin/sh /usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" \
    install_sh_PROGRAM="/bin/sh /usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
      install; \
else \
  gmake  INSTALL_PROGRAM="/bin/sh /usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" \
    install_sh_PROGRAM="/bin/sh /usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
    "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
fi
gmake[1]: Entering directory `/usr/ports/net/ntop/work/ntop-5.0.1'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo -I m4
-I m4
 cd . && /bin/sh ./missing --run echo --gnu
--gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo

Making install in .
gmake[2]: Entering directory `/usr/ports/net/ntop/work/ntop-5.0.1'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo -I m4
-I m4
 cd . && /bin/sh ./missing --run echo --gnu
--gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo

gmake[3]: Entering directory `/usr/ports/net/ntop/work/ntop-5.0.1'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo -I m4
-I m4
 cd . && /bin/sh ./missing --run echo --gnu
--gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo

 /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-L/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/stcf7kmO/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

Stop in /usr/ports/net/ntop.

I understand that net/ntop is unmaintained, but someone perhaps still
could advise...

-- 
Janos Dohanics


More information about the freebsd-ports mailing list