From owner-freebsd-ports@FreeBSD.ORG Thu Jan 15 20:16:07 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D3B4DD for ; Thu, 15 Jan 2015 20:16:07 +0000 (UTC) Received: from nskntmtas02p.mx.bigpond.com (nskntmtas02p.mx.bigpond.com [61.9.168.140]) by mx1.freebsd.org (Postfix) with ESMTP id 392CFA28 for ; Thu, 15 Jan 2015 20:16:06 +0000 (UTC) Received: from nskntcmgw07p ([61.9.169.167]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20150115201558.URSU2564.nskntmtas02p.mx.bigpond.com@nskntcmgw07p>; Thu, 15 Jan 2015 20:15:58 +0000 Received: from hermes.heuristicsystems.com.au ([203.41.22.114]) by nskntcmgw07p with BigPond Outbound id gLFx1p00H2ThMyb01LFx8A; Thu, 15 Jan 2015 20:15:58 +0000 X-Authority-Analysis: v=2.0 cv=JN65Qr2b c=1 sm=1 a=tBIanQelQkU72CJWnm+MWA==:17 a=XD52yEjQpfAA:10 a=N659UExz7-8A:10 a=GHIR_BbyAAAA:8 a=YNv0rlydsVwA:10 a=_7K1TTs8MANq9V_57IkA:9 a=pILNOxqGKmIA:10 a=tBIanQelQkU72CJWnm+MWA==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id t0FKDs3B059848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 16 Jan 2015 07:14:00 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <54B81F7F.3090805@heuristicsystems.com.au> Date: Fri, 16 Jan 2015 07:13:51 +1100 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Alan Eldridge , ports@FreeBSD.org Subject: Re: print/cups fails to build on 9.3-STABLE i386 References: <20150115190246.GE3301@itcom245.staff.itd.umich.edu> In-Reply-To: <20150115190246.GE3301@itcom245.staff.itd.umich.edu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2015 20:16:07 -0000 On 16/01/2015 6:02 AM, William Bulley wrote: > After running this command: "# svn update /usr/ports" I tried to > upgrade the print/cups port. > > As root I then ran this command: > > # portmaster -K -B -D print/cups > > Below is the output leading up to the failure and the failure itself. > > BTW - I did retry the build in /usr/ports/print/cups using this: > > # make MAKE_JOBS_UNSAFE=yes install > > and got the same results. > > =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= > > ... > ... > Making all in test... > gmake[1]: Entering directory '/usr/ports/print/cups-base/work/cups-1.7.3/test' > echo Linking ippserver... > Linking ippserver... > cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -Wl,-rpath,/usr/local/lib -Wl,-R/usr/local/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -o ippserver ippserver.o ../cups/libcups.a \ > -lssl -lcrypto -pthread -lm -lcrypt -lssp_nonshared -liconv -lz -lz > ../cups/libcups.a(http-support.o): In function `_httpResolveURI': > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1617: undefined reference to `DNSServiceCreateConnection' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1626: undefined reference to `DNSServiceResolve' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1736: undefined reference to `DNSServiceRefDeallocate' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1656: undefined reference to `DNSServiceRefSockFD' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1700: undefined reference to `DNSServiceResolve' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1722: undefined reference to `DNSServiceProcessResult' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1731: undefined reference to `DNSServiceRefDeallocate' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:1733: undefined reference to `DNSServiceRefDeallocate' > ../cups/libcups.a(http-support.o): In function `http_resolve_cb': > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:2071: undefined reference to `TXTRecordGetValuePtr' > /usr/ports/print/cups-client/work/cups-1.7.3/cups/http-support.c:2058: undefined reference to `TXTRecordGetValuePtr' > Makefile:192: recipe for target 'ippserver' failed > gmake[1]: *** [ippserver] Error 1 > gmake[1]: Leaving directory '/usr/ports/print/cups-base/work/cups-1.7.3/test' > Makefile:31: recipe for target 'all' failed > gmake: *** [all] Error 1 > *** [do-build] Error code 1 > > Stop in /usr/ports/print/cups-base. > *** [install] Error code 1 > > Stop in /usr/ports/print/cups-base. > > > > Regards, > > web... > William, I experienced the same issue. Using these enabled a successful build WITHOUT_AVAHI | WITH_MDNSRESPONDER in my custom ports.conf which I think means you need to add print_cups-base_UNSET=AVAHI print_cups-base_SET=MDNSRESPONDER I also set LIBPAPER - though I can't recall if that was a positive. It was a long time ago. Please note: I don't use the additional layer of poudriere. -- For the talkers: “The superior man acts before he speaks, and afterwards speaks according to his action.” For everyone else: “Life is really simple, but we insist on making it complicated.”