From owner-freebsd-ports@freebsd.org Sat Jun 27 08:01:27 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB02A98EBF3 for ; Sat, 27 Jun 2015 08:01:27 +0000 (UTC) (envelope-from dewayne.geraghty@consciuminternational.com.au) Received: from hermes.heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DFB1F1F for ; Sat, 27 Jun 2015 08:01:26 +0000 (UTC) (envelope-from dewayne.geraghty@consciuminternational.com.au) Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.6/8.13.6) with ESMTP id t5R7hxja005546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 27 Jun 2015 17:44:05 +1000 (EST) (envelope-from dewayne.geraghty@consciuminternational.com.au) Subject: Re: Cups-base will not build To: Leslie Jensen , freebsd-ports@freebsd.org References: From: Dewayne Geraghty X-Enigmail-Draft-Status: N1110 Message-ID: <558E543C.9050006@consciuminternational.com.au> Date: Sat, 27 Jun 2015 17:43:56 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2015 08:01:27 -0000 On 27/06/2015 4:06 PM, Leslie Jensen wrote: > I've tried with MAKE_JOBS_UNSAFE=yes but it does not do it! > > Any suggestions? > > Thanks > > /Leslie > > > -L/usr/local/lib -lgnutls -lpthread -lm -lcrypt -lz -lz > ../cups/libcups.a(http-support.o): In function `_httpResolveURI': > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1702: > undefined reference to `DNSServiceCreateConnection' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1711: > undefined reference to `DNSServiceResolve' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1741: > undefined reference to `DNSServiceRefSockFD' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1833: > undefined reference to `DNSServiceProcessResult' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1811: > undefined reference to `DNSServiceResolve' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1798: > undefined reference to `DNSServiceResolve' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1845: > undefined reference to `DNSServiceRefDeallocate' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1847: > undefined reference to `DNSServiceRefDeallocate' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1849: > undefined reference to `DNSServiceRefDeallocate' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1852: > undefined reference to `DNSServiceRefDeallocate' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:1855: > undefined reference to `DNSServiceRefDeallocate' > ../cups/libcups.a(http-support.o): In function `http_resolve_cb': > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:2159: > undefined reference to `TXTRecordGetValuePtr' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:2204: > undefined reference to `TXTRecordGetValuePtr' > /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:2215: > undefined reference to `TXTRecordGetValuePtr' > cc: error: linker command failed with exit code 1 (use -v to see invocation) > Makefile:192: receptet f?r m?let ?ippserver? misslyckades > gmake[3]: *** [ippserver] Fel 1 > gmake[3]: L?mnar katalogen ?/usr/ports/print/cups-base/work/cups-2.0.3/test? > Makefile:31: receptet f?r m?let ?all? misslyckades > gmake[2]: *** [all] Fel 1 > gmake[2]: L?mnar katalogen ?/usr/ports/print/cups-base/work/cups-2.0.3? > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/print/cups-base > *** Error code 1 > > Stop. > make: stopped in /usr/ports/print/cups-base > > ===>> > _______________________________________________ > Leslie, You'll need to provide further details. For example: # uname -aKU FreeBSD b2.hs 10.1-STABLE FreeBSD 10.1-STABLE #0 r284339M: Sun Jun 14 07:17:24 AEST 2015 root@hathor:/usr/obj/prod/100102/D/K8/usr/src/sys/hqdev-amd64-smp-vga amd64 1001518 1001518 # svnlite info /usr/ports | egrep "Rev|Date" Revision: 390691 Last Changed Rev: 390691 Last Changed Date: 2015-06-27 15:45:12 +1000 (Sat, 27 Jun 2015) # cc -v FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix Selected GCC installation: # make -DBATCH showconfig ===> The following configuration options are available for cups-base-2.0.3_3: DBUS=off: D-Bus IPC system support ICONS=off: Desktop icons LIBPAPER=on: Paper size selection support via libpaper LIBUSB=off: USB support PAM=off: Pluggable authentication module support XDG_OPEN=off: Build with XDG_OPEN as browser ====> Interpreters for web interfaces JAVA=off: Java platform support PERL=off: Perl scripting language support PHP=off: PHP bindings or support PYTHON=off: Python bindings or support ====> Zeroconf support: you can only select none or one of them AVAHI=off: Zeroconf support via Avahi MDNSRESPONDER=on: Zeroconf support via mDNSResponder ===> Use 'make config' to modify these settings How I tested, in my case to see if cups-base was going to be a problem: # make -DBATCH clean deinstall package ... ===> Staging rc.d startup script(s) ===> Building package for cups-base-2.0.3_3 where USE_K8 passes customisations for the target host, like CCFLAGS+= -march=core-avx-i that aren't really relevant. (aside: portmaster is how I rebuild everything) So thanks for the heads up, but, with the config options that I'm using (ie NOT avahi), it looks ok... Dewayne.