Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2010 14:49:48 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149430: [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
Message-ID:  <201008081449.o78Enmuq075757@www.freebsd.org>
Resent-Message-ID: <201008081450.o78Eo7Sq016791@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         149430
>Category:       ports
>Synopsis:       [patch] net/mDNSResponder mark MAKE_JOBS_UNSAFE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 14:50:07 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008081449.o78Enmuq075757>