From nobody@FreeBSD.org  Sun Aug  8 14:49:49 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2EC48106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Aug 2010 14:49:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1DFA78FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  8 Aug 2010 14:49:49 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o78EnmYQ075758
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 8 Aug 2010 14:49:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o78Enmuq075757;
	Sun, 8 Aug 2010 14:49:48 GMT
	(envelope-from nobody)
Message-Id: <201008081449.o78Enmuq075757@www.freebsd.org>
Date: Sun, 8 Aug 2010 14:49:48 GMT
From: Ivan Klymenko <fidaj@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: sunpoet@sunpoet.net

>Number:         149430
>Category:       ports
>Synopsis:       [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rene
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 14:50:07 UTC 2010
>Closed-Date:    Fri Aug 20 21:14:14 UTC 2010
>Last-Modified:  Fri Aug 20 21:20:01 UTC 2010
>Originator:     Ivan Klymenko
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
individual
>Environment:
>Description:
The port sometimes doesn't build when FORCE_MAKE_JOBS is defined.

===>  Building for mDNSResponder-214.3.2
gmake[1]: Entering directory `/usr/ports_build/usr/ports/net/mDNSResponder/work/mDNSResponder-214.3.2/Clients'
mkdir build
cc dns-sd.c ClientCommon.c -L../mDNSPosix/build/prod/ -ldns_sd -I../mDNSShared -Wall -o build/dns-sd
/usr/bin/ld: cannot find -ldns_sd
distcc[24109] ERROR: compile dns-sd.c on localhost failed
gmake[1]: *** [build/dns-sd] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[1]: Leaving directory `/usr/ports_build/usr/ports/net/mDNSResponder/work/mDNSResponder-214.3.2/Clients'
gmake: *** [../Clients/build/dns-sd] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2
gmake: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
===> Compilation failed unexpectedly.
You have chosen to use multiple make jobs (parallelization) for all ports.
This port was not tested for this setting.  Please remove FORCE_MAKE_JOBS and
retry the build before reporting the failure to the maintainer.
*** Error code 1

Stop in /usr/ports/net/mDNSResponder.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2010-08-08 17:38:57.000000000 +0300
+++ Makefile	2010-08-08 17:40:29.000000000 +0300
@@ -26,6 +26,7 @@
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	mdnsd
+MAKE_JOBS_UNSAFE=	yes
 
 EXTRA_BIN=	bin/mDNSClientPosix bin/mDNSIdentify bin/mDNSNetMonitor \
 		bin/mDNSProxyResponderPosix bin/mDNSResponderPosix


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 8 14:50:16 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149430 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: sunpoet@sunpoet.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/149430: [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
Date: Sun, 8 Aug 2010 14:50:14 UT

 Maintainer of net/mDNSResponder,
 
 Please note that PR ports/149430 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149430
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->rene 
Responsible-Changed-By: rene 
Responsible-Changed-When: Sun Aug 8 15:07:25 UTC 2010 
Responsible-Changed-Why:  
Grab 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149430 

From: Tilman Linneweh <arved@FreeBSD.org>
To: bug-followup@FreeBSD.org, fidaj@ukr.net
Cc:  
Subject: Re: ports/149430: [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
Date: Sat, 14 Aug 2010 18:50:00 +0200

 This is a multi-part message in MIME format.
 --------------030708080209050300050206
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 The problem seems to be easy to fix.
 
 See attachment.
 
 --------------030708080209050300050206
 Content-Type: text/plain;
  name="patch-mdnsresponder"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="patch-mdnsresponder"
 
 PyBwYXRjaC1tZG5zcmVzcG9uZGVyCj8gd29yawpJbmRleDogZmlsZXMvcGF0Y2gtbUROU1Bv
 c2l4X01ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbG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z
 OiBzZXR1cCBsaWJkbnNfc2QgLi4vQ2xpZW50cy9idWlsZC9kbnMtc2QKKytDbGllbnRzOiAu
 Li9DbGllbnRzL2J1aWxkL2Rucy1zZAorIAlAZWNobyAiQ2xpZW50cyBkb25lIgorIAorLS4u
 L0NsaWVudHMvYnVpbGQvZG5zLXNkOgorKy4uL0NsaWVudHMvYnVpbGQvZG5zLXNkOiBzZXR1
 cCBsaWJkbnNfc2QKKyAJQCQoTUFLRSkgLUMgLi4vQ2xpZW50cworIAorICMgbnNzX21kbnMg
 dGFyZ2V0IGJ1aWxkcyB0aGUgTmFtZSBTZXJ2aWNlIFN3aXRjaCBtb2R1bGUK
 --------------030708080209050300050206--

From: Rene Ladan <rene@freebsd.org>
To: Sunpoet Hsieh <sunpoet@sunpoet.net>
Cc: arved@freebsd.org, bug-followup@FreeBSD.org
Subject: Re: ports/149430: [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
Date: Tue, 17 Aug 2010 18:08:41 +0200

 On 17-08-2010 17:37, Sunpoet Hsieh wrote:
 > On Sun, Aug 8, 2010 at 11:07 PM,<rene@freebsd.org>  wrote:
 >> Synopsis: [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
 >>
 >> Responsible-Changed-From-To: freebsd-ports-bugs->rene
 >> Responsible-Changed-By: rene
 >> Responsible-Changed-When: Sun Aug 8 15:07:25 UTC 2010
 >> Responsible-Changed-Why:
 >> Grab
 >>
 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=149430
 >>
 >
 > Hi Rene,
 >
 > arved@ has submitted a patch which solves the problem.
 > It works fine.
 > Would you please review it?
 
 I could not reproduce the error on some tinderboxes with the
 old version, so I think the patch is fine.
 
 It also looks like this patch fixes the name of the manual page
 (mDNSResponderPosix(8) instead of mDNSResponder(8) ).
 
 Regards,
 Rene
 -- 
 http://www.rene-ladan.nl/
 
 GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC 
 (subkeys.pgp.net)
State-Changed-From-To: feedback->closed 
State-Changed-By: rene 
State-Changed-When: Fri Aug 20 21:13:51 UTC 2010 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149430 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149430: commit references a PR
Date: Fri, 20 Aug 2010 21:13:47 +0000 (UTC)

 rene        2010-08-20 21:13:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/mDNSResponder/files patch-mDNSPosix_Makefile 
   Log:
   - make multi-job safe
   - fix filename of manual page (should be mDNSResponderPosix(8))
   
   PR:             ports/149430
   Submitted by:   Ivan Klymenko [fidaj ukr.net], actual patch from arved
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.5       +24 -2     ports/net/mDNSResponder/files/patch-mDNSPosix_Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
