To: sunpoet@FreeBSD.org
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/169109: patch as net/mDNSResponder fails to install 
From: "Julian H. Stacey" <jhs_ERASE_@berklix.com>
Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany
User-agent: EXMH on FreeBSD http://www.berklix.com/free/
X-URL: http://www.berklix.com
In-reply-to: Your message "Fri, 15 Jun 2012 18:10:11 GMT."
		<201206151810.q5FIABN4034959@freefall.freebsd.org> 
Date: Sat, 23 Jun 2012 02:16:45 +0200
Sender: jhs@fire.js.berklix.net

Hi sunpoet@,
Ref:
http://www.freebsd.org/cgi/query-pr.cgi?pr=169109
http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/net/mDNSResponder/files/
http://people.freebsd.org/~sunpoet/mDNSResponder-333.10.log

> To: sunpoet@FreeBSD.org
> Subject: net/mDNSResponder /usr/local/etc/rc.d/mdns.sh: not found
> From: "Julian H. Stacey" <jhs_ERASE_@berklix.com>
> Date: Fri, 15 Jun 2012 15:02:17 +0200
> 
> Hi
> I keep seeing
> 	/usr/local/etc/rc.d/mdns.sh: not found
> from
> 	cd /usr/ports/net/mDNSResponder  ; make install package
> also with  current ports
> src=8.3-RELEASE
> Any ideas ?
> Cheers,
> Julian


> From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> Date: Sat, 16 Jun 2012 00:14:09 +0800
> Subject: Re: patch as net/mDNSResponder fails to install
> To: "Julian H. Stacey" <jhs_ERASE_@berklix.com>
> Cc: FreeBSD-gnats-submit@FreeBSD.org
> 
> Hi,
> 
> I can't reproduce the problem.
> I just built this port successfully on my 9-STABLE amd64.
> You can see the log at [1].
> ${PREFIX}/etc/rc.d/mdnsd was not installed by the port itself.
> It was done by bsd.port.mk via USE_RC_SUBR=mdnsd knob.
> The code is around bsd.port.mk line 5812 to 5819.
> And the rc.d script should end with .sh now.
> Please recheck your ports tree, esp. bsd.port.mk.
> Thanks.
> [1] http://people.freebsd.org/~sunpoet/mDNSResponder-333.10.log
> Regards,
> sunpoet


> From sunpoet@FreeBSD.org Fri Jun 15 20:15:08 2012
> Date: Fri, 15 Jun 2012 18:10:11 GMT
> To: jhs_ERASE_@berklix.com, sunpoet_ERASE@FreeBSD.org
> From: sunpoet@FreeBSD.org
> Subject: Re: ports/169109: patch as net/mDNSResponder fails to install

> Synopsis: patch as net/mDNSResponder fails to install
> State-Changed-From-To: open->feedback
> State-Changed-By: sunpoet
> State-Changed-When: Fri Jun 15 18:00:19 UTC 2012
> State-Changed-Why: 
> I can't reproduce the problem.  I just built this port successfully on
> my 9-STABLE amd64.  You can see the log at [1].
> ${PREFIX}/etc/rc.d/mdnsd was not installed by the port itself.  It was
> done by bsd.port.mk via USE_RC_SUBR=mdnsd knob.  The code is around
> bsd.port.mk line 5812 to 5819.  And the rc.d script should not end with
> sh now.
> Please recheck your ports tree, esp. bsd.port.mk.  Thanks.
> [1] http://people.freebsd.org/~sunpoet/mDNSResponder-333.10.log
> http://www.freebsd.org/cgi/query-pr.cgi?pr=169109


> To: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> cc: FreeBSD-gnats-submit@FreeBSD.org
> Subject: Re: patch as net/mDNSResponder fails to install 
> From: "Julian H. Stacey" <jhs_ERASE_@berklix.com>
> Date: Sat, 16 Jun 2012 02:29:57 +0200
> 
> Hi sunpoet
> Thanks for your quick reply.
> > Please recheck your ports tree, esp. bsd.port.mk.
> OK. Sorry but that may take a minimum of 2 days, 
>   as on rebooting, my host had some confusion between partitions
>   with 8.3 & 9.0 (I think I had a temporary 9.0 kernel on my 8.3
>   based partition, & uname -r may have led to a ports install of 9.0
>   I'm doing a rebuild of that host's 8.3 Then I can rebuild the
>   hosts other partition with 9.0 again. So it'll take a little while
>   to report back, Sorry !
> Meantime I saw no problem on another 8.3 box.
> Cheers,
> Julian

OK, discarding errors I saw from my previously confused system
	( An inadvertent 9 kernel, on an 8.3 base, now rectified )

I've been done tests on various hosts on unpatched ports/ 
With these I see no errors:
	8.2-RELEASE src based & 8.2-RELEASE generic unpatched ports/
	laph.js.berklix.net

	8.3-RELEASE src based & 8.3-RELEASE generic unpatched ports/
	blak.js.berklix.net 

	8.3-RELEASE src based & Current  generic unpatched ports/
	jhs@blak.js.berklix.net

These errror:
	9.0-RELEASE src based, + 9.0-RELEASE ports/ or current ports/
	lapr.js.berklix.net 9
From
	make deinstall ; make clean ; make all ; make install
Errors:
	/usr/local/etc/rc.d/mdns.sh: not found
	gmake: *** [/usr/local/sbin/mdnsd] Error 127
