Bug 199427 - net/ntop: build results in ar-inside-ar, not handled by ELF tool chain strip
Summary: net/ntop: build results in ar-inside-ar, not handled by ELF tool chain strip
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rene Ladan
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks: 203349
  Show dependency treegraph
 
Reported: 2015-04-13 19:34 UTC by Ed Maste
Modified: 2021-10-02 01:55 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2015-04-13 19:34:42 UTC
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
Comment 1 Ed Maste freebsd_committer freebsd_triage 2015-05-27 18:12:32 UTC
bapt@ IIRC you had a fix for this?
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2015-09-01 22:16:48 UTC
I do not remember I will have to refresh my memory :)
Comment 3 Ed Maste freebsd_committer freebsd_triage 2015-09-25 19:56:18 UTC
this issue was fixed in audio/deadbeef by disabling static libs
Comment 4 VK 2016-10-16 19:04:20 UTC
Thanks for the report. Any news about this?
Comment 5 Ed Maste freebsd_committer freebsd_triage 2018-08-31 18:37:11 UTC
mmokhi@ is going to have a look at this
Comment 6 Rene Ladan freebsd_committer freebsd_triage 2018-12-21 13:42:23 UTC
Expired port removed, try net/ntopng instead.