Bug 192047 - net/ntop fails to build on 8.4 amd64
Summary: net/ntop fails to build on 8.4 amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Matthias Andree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 21:51 UTC by Mark Felder
Modified: 2014-09-05 22:08 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Felder freebsd_committer freebsd_triage 2014-07-22 21:51:00 UTC
fails to build package



===>   Returning to build of ntop-5.0.1_6
===>   ntop-5.0.1_6 depends on file: /usr/local/bin/python2.7 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for ntop-5.0.1_6
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



Preparing 

New file lines are:      1815


New file is:
-rw-r--r--  1 root  wheel  18394 Jul 22 21:22 etter.finger.os.gz
===>   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 /wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" \
    install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
      install; \
else \
  gmake  INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1/install-sh -c -s" \
    install_sh_PROGRAM="/bin/sh /wrkdirs/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 `/wrkdirs/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 `/wrkdirs/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 `/wrkdirs/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 '/wrkdirs/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 '/wrkdirs/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 /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntop-5.0.1.so
libtool: install: strip --strip-unneeded /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntop-5.0.1.so
libtool: install: (cd /wrkdirs/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 /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntop.la
libtool: install: warning: relinking `libntopreport.la'
libtool: install: (cd /wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1; /bin/sh /wrkdirs/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 -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 -lm -lc -lcrypt -lssl -lcrypto -lgdbm -lz -lGeoIP -L/usr/lib -lpcap -L/usr/local/lib -lrrd_th ./nDPI/src/lib/.libs/libndpi.a -inst-prefix-dir /wrkdirs/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 -lm -lcrypt -lssl -lcrypto /usr/local/lib/libgdbm.so -lz /usr/local/lib/libGeoIP.so -lpcap /usr/local/lib/librrd_th.so ./nDPI/src/lib/.libs/libndpi.a  -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 /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntopreport-5.0.1.so
libtool: install: strip --strip-unneeded /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntopreport-5.0.1.so
libtool: install: (cd /wrkdirs/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 /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntopreport.la
libtool: install: /usr/bin/install -c -o root -g wheel .libs/libntop.a /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntop.a
libtool: install: strip --strip-debug /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/libntop.a
strip: /wrkdirs/usr/ports/net/ntop/work/stage/usr/local/lib/stuSGM0A/libndpi.a: Invalid operation
gmake[3]: *** [install-libLTLIBRARIES] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/net/ntop/work/ntop-5.0.1'
gmake: *** [install-strip] Error 2
*** Error code 2

Stop in /usr/ports/net/ntop.
====>> Cleaning up wrkdir
===>  Cleaning for ntop-5.0.1_6
build of /usr/ports/net/ntop ended at Tue Jul 22 16:23:52 CDT 2014
build time: 00:02:10
!!! build failure encountered !!!
Comment 1 John Marino freebsd_committer freebsd_triage 2014-07-24 08:31:55 UTC
Mark, the port is unmaintained.  Want do you want to do with this PR?
Comment 2 Matthias Andree freebsd_committer freebsd_triage 2014-09-05 21:15:34 UTC
Apparently newer binutils are more forgiving when you try to strip an .a file, while the older one on 8.x hangs up the phone...

I am currently testing patches on redports and poudriere that set USE_BINUTILS=yes on OSVERSION < 900033, which is when binutils were upgraded.
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2014-09-05 22:08:04 UTC
Should be fixed as of r367396.