From owner-freebsd-ports@FreeBSD.ORG Thu Jan 15 19:37:17 2015 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 262CF3D6 for ; Thu, 15 Jan 2015 19:37:17 +0000 (UTC) Received: from forward6l.mail.yandex.net (forward6l.mail.yandex.net [IPv6:2a02:6b8:0:1819::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B166B5E2 for ; Thu, 15 Jan 2015 19:37:16 +0000 (UTC) Received: from smtp19.mail.yandex.net (smtp19.mail.yandex.net [95.108.252.19]) by forward6l.mail.yandex.net (Yandex) with ESMTP id 74B4114E1361; Thu, 15 Jan 2015 22:37:12 +0300 (MSK) Received: from smtp19.mail.yandex.net (localhost [127.0.0.1]) by smtp19.mail.yandex.net (Yandex) with ESMTP id 01780BE0437; Thu, 15 Jan 2015 22:37:11 +0300 (MSK) Received: from 78.108.206.242.tel.ru (78.108.206.242.tel.ru [78.108.206.242]) by smtp19.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id lDU4JHiEkJ-bBkmUvFo; Thu, 15 Jan 2015 22:37:11 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) Message-ID: <54B816E6.8040307@passap.ru> Date: Thu, 15 Jan 2015 22:37:10 +0300 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.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=utf-8 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 19:37:17 -0000 15.01.2015 22:02, William Bulley пишет: > 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. I think that your cups-client libs are linked against dns libraries. With a fresh portstree (this imho should be fixesd at r376233) rebuild print/cups-client, then print/cups-base. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve