Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 19:34:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199427] net/ntop: build results in ar-inside-ar, not handled by ELF tool chain strip
Message-ID:  <bug-199427-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199427

            Bug ID: 199427
           Summary: net/ntop: build results in ar-inside-ar, not handled
                    by ELF tool chain strip
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

Found in exp-run PR 198611. Neither base GNU strip 2.17.50 nor ELF Tool Chain
strip handle ar within ar, and it is almost certainly an error in the port's
build infrastructure.

>From the exp-run log:

*** 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 -lGeoIP -lpcap -lrrd_th
./nDPI/src/lib/.libs/libndpi.a  -g -O2 -fstack-protector -g -Wl,-rpath
-Wl,/usr/lib:/usr/local/lib -fstack-protector   -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: file format not recognized

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199427-13>