Bug 216548

Summary: dns/getdns: LIBEV=on, LIBEVENT=on, LIBUV=on fail check-plist
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Ryan Steinmetz <zi>
Status: Closed FIXED    
Severity: Affects Only Me CC: eduardo
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (zi)
jbeich: merge-quarterly?
Hardware: Any   
OS: Any   

Description Jan Beich freebsd_committer freebsd_triage 2017-01-28 15:41:53 UTC
====> Running Q/A tests (stage-qa)
Warning: 'lib/libgetdns_ext_ev.so.1.4.1' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/libgetdns_ext_ev.so.1
Error: Orphaned: lib/libgetdns_ext_ev.so.1.4.1
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/libgetdns_ext_ev-%%PORTVERSION%%.so
Error: Missing: lib/libgetdns_ext_ev-%%PORTVERSION%%.so.0
===> Error: Plist issues found.
*** Error code 1

====> Running Q/A tests (stage-qa)
Warning: 'lib/libgetdns_ext_event.so.1.4.1' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/libgetdns_ext_event.so.1
Error: Orphaned: lib/libgetdns_ext_event.so.1.4.1
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/libgetdns_ext_event-%%PORTVERSION%%.so
Error: Missing: lib/libgetdns_ext_event-%%PORTVERSION%%.so.0
===> Error: Plist issues found.
*** Error code 1

====> Running Q/A tests (stage-qa)
Warning: 'lib/libgetdns_ext_uv.so.1.4.1' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/libgetdns_ext_uv.so.1
Error: Orphaned: lib/libgetdns_ext_uv.so.1.4.1
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/libgetdns_ext_uv-%%PORTVERSION%%.so
Error: Missing: lib/libgetdns_ext_uv-%%PORTVERSION%%.so.0
===> Error: Plist issues found.
*** Error code 1
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2017-01-28 17:05:49 UTC
Fixed!
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-01-28 17:06:48 UTC
A commit references this bug:

Author: zi
Date: Sat Jan 28 17:05:59 UTC 2017
New revision: 432634
URL: https://svnweb.freebsd.org/changeset/ports/432634

Log:
  - Fix build issue with non-default OPTIONS
  - Don't bump PORTREVISION as this is a noop for the default package

  PR:		216548
  Reported by:	Jan Beich <jbeich@FreeBSD.org>

Changes:
  head/dns/getdns/Makefile
  head/dns/getdns/pkg-plist
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2021-05-15 06:05:39 UTC
(In reply to Ryan Steinmetz from comment #1)
Hello zi!

I have some Q/A warnings in port that I'm working like this
====> Running Q/A tests (stage-qa)
Warning: 'lib/libgetdns_ext_event.so.1.4.1' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}

How did you fixed this?

Thanks
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2021-05-15 13:15:59 UTC
One of two ways:
1. Add a post-install target to strip the libraries:

post-install:
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns*.so.*
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getdns_*

2. If the Makefile for your software supports it, you can use the install-strip target by defining:

INSTALL_TARGET=install-strip