Summary: | net/mDNSResponder missing rc.d/mdns | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | dewayne |
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | sunpoet |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
dewayne
2014-06-05 22:20:10 UTC
Please disregard. I've identified the problem as being with the staging mechanism per: rm -vR /usr/staging/usr/* # cd /usr/ports/net/mDNSResponder First time - through # make -DBATCH clean deinstall package Works and installs files correctly # ls -l /usr/staging/usr/local/etc/rc.d/md* /usr/local/etc/rc.d/md* -r-xr-xr-x 1 root wheel 368 Jun 8 11:56 /usr/staging/usr/local/etc/rc.d/mdnsd -r-xr-xr-x 1 root wheel 449 Jun 8 11:56 /usr/staging/usr/local/etc/rc.d/mdnsresponder Second time make -DBATCH clean deinstall package Fails with ===> Staging for mDNSResponder-544 ===> Generating temporary packing list /usr/local/etc/rc.d/mdns: not found gmake: *** [/usr/staging/usr/local/sbin/mdnsd] Error 127 *** [do-install] Error code 2 Stop in /usr/ports/net/mDNSResponder. *** [/var/ports/usr/ports/net/mDNSResponder/work/.package_done.mDNSResponder._usr_local] Error code 1 Stop in /usr/ports/net/mDNSResponder. # date Sun Jun 8 11:58:40 EST 2014 # ls -l /usr/staging/usr/local/etc/rc.d/md* /usr/local/etc/rc.d/md* -r-xr-xr-x 1 root wheel 368 Jun 8 11:56 /usr/staging/usr/local/etc/rc.d/mdnsd -r-xr-xr-x 1 root wheel 449 Jun 8 11:56 /usr/staging/usr/local/etc/rc.d/mdnsresponder Clearly /usr/staging either needs to be manually cleared, or make clean doesn't address /usr/staging, or ?? It is a bad idea to use a shared STAGEDIR (/usr/staging in your case). STAGEDIR defaults to ${WRKDIR}/stage which will not be affected by other ports. "make clean" empties ${WRKDIR} and your STAGEDIR is out of ${WRKDIR} therefore you should empty it by yourself and do not build ports concurrently if you decide to use a shared STAGEDIR. |