Bug 226000 - dns/mdnsd make install does not install liblibmdnsd.so
Summary: dns/mdnsd make install does not install liblibmdnsd.so
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-18 14:37 UTC by xavier
Modified: 2018-03-13 06:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (daniel+mdnsd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xavier 2018-02-18 14:37:34 UTC
pkg check -Bd reports missing library :

Checking all packages:  38%
(mdnsd-0.7.g.107,1) /usr/local/bin/mdnsd - required shared library liblibmdnsd.so not found
(mdnsd-0.7.g.107,1) /usr/local/bin/mquery - required shared library liblibmdnsd.so not found

Reinstalling does not fix, but here is a workaround :


[root@numenor mdnsd]# ldd /usr/local/bin/mdnsd 
/usr/local/bin/mdnsd:
	liblibmdnsd.so => not found (0)
	libc.so.7 => /lib/libc.so.7 (0x800825000)
[root@numenor mdnsd]# make reinstall
   =>[... DO NOT CLEAN...]
[root@numenor mdnsd]# ldd /usr/local/bin/mquery
/usr/local/bin/mquery:
	liblibmdnsd.so => /usr/ports/dns/mdnsd/work/.build/libmdnsd/liblibmdnsd.so (0x800824000)
	libc.so.7 => /lib/libc.so.7 (0x800a2c000)
[root@numenor mdnsd]# cp -ip /usr/ports/dns/mdnsd/work/.build/libmdnsd/liblibmdnsd.so /usr/local/lib
  =>[... no warning about an already installed file...]
[root@numenor mdnsd]# make clean
===>  Cleaning for mdnsd-0.7.g.107,1
[root@numenor mdnsd]# ldd /usr/local/bin/mquery
/usr/local/bin/mquery:
	liblibmdnsd.so => /usr/local/lib/liblibmdnsd.so (0x800824000)
	libc.so.7 => /lib/libc.so.7 (0x800a2c000)

Conclusion : make install seems to fail to install the shared library

Regards,

Xavier
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2018-03-13 06:07:12 UTC
Fixed. Thanks for reporting this!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-03-13 06:07:22 UTC
A commit references this bug:

Author: tobik
Date: Tue Mar 13 06:06:52 UTC 2018
New revision: 464341
URL: https://svnweb.freebsd.org/changeset/ports/464341

Log:
  dns/mdnsd: Fix package and install missing library

  Shared object "liblibmdnsd.so" not found, required by "mdnsd"

  PR:		226000
  Reported by:	xavier@xavierhumbert.net
  Approved by:	daniel+mdnsd@pelleg.org (maintainer timeout, 3 weeks)

Changes:
  head/dns/mdnsd/Makefile