Bug 214424 - net/zebra-server: overlinking yaz dependencies
Summary: net/zebra-server: overlinking yaz dependencies
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2016-11-11 15:56 UTC by Jan Beich
Modified: 2018-01-12 14:41 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (ben)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2016-11-11 15:56:27 UTC
ports r425890 added ICU to LIB_DEPENDS but it may not be required e.g. via LDFLAGS += -Wl,--as-needed.

$ poudriere testport -j 101i386 -o net/zebra-server 
[...]
  YAZ La Lib:                 -L/usr/local/lib -lyaz_icu -lyaz_server -lyaz -L/usr/local/lib -lxslt -lxml2 -lz -llzma -lm -lexecinfo -L/usr/lib -lpthread -L/usr/local/lib -licui18n -licuuc -licudata
  YAZ Lib:                    -L/usr/local/lib -lyaz_icu -lyaz_server -lyaz -L/usr/local/lib -lxslt -lxml2 -lz -llzma -lm -lexecinfo -L/usr/lib -lpthread -L/usr/local/lib -licui18n -licuuc -licudata
[...]
--- zebrasrv ---
/bin/sh ../libtool --tag=CC    --mode=link cc  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing   -fstack-protector -o zebrasrv zebrasrv.o libidzebra-2.0.la -L/usr/local/lib -lyaz_icu -lyaz_server -lyaz -L/usr/local/lib -lxslt -lxml2 -lz -llzma -lm -lexecinfo -L/usr/lib -lpthread -L/usr/local/lib -licui18n -licuuc -licudata -lm -lz -lbz2 -lcrypt  -L/usr/lib
[...]
===========================================================================
====>> Checking shared library dependencies
 0x00000001 (NEEDED)                     Shared library: [libbz2.so.4]
 0x00000001 (NEEDED)                     Shared library: [libc.so.7]
 0x00000001 (NEEDED)                     Shared library: [libcrypt.so.5]
 0x00000001 (NEEDED)                     Shared library: [libexecinfo.so.1]
 0x00000001 (NEEDED)                     Shared library: [libexpat.so.1]
 0x00000001 (NEEDED)                     Shared library: [libicudata.so.57]
 0x00000001 (NEEDED)                     Shared library: [libicui18n.so.57]
 0x00000001 (NEEDED)                     Shared library: [libicuuc.so.57]
 0x00000001 (NEEDED)                     Shared library: [libidzebra-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [liblzma.so.5]
 0x00000001 (NEEDED)                     Shared library: [libm.so.5]
 0x00000001 (NEEDED)                     Shared library: [libtcl86.so.1]
 0x00000001 (NEEDED)                     Shared library: [libthr.so.3]
 0x00000001 (NEEDED)                     Shared library: [libxml2.so.2]
 0x00000001 (NEEDED)                     Shared library: [libxslt.so.1]
 0x00000001 (NEEDED)                     Shared library: [libyaz.so.5]
 0x00000001 (NEEDED)                     Shared library: [libyaz_icu.so.5]
 0x00000001 (NEEDED)                     Shared library: [libyaz_server.so.5]
 0x00000001 (NEEDED)                     Shared library: [libz.so.6]
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-01-12 14:41:45 UTC
Maintainer feedback?