Date: Sat, 27 Jun 2015 17:43:56 +1000 From: Dewayne Geraghty <dewayne.geraghty@consciuminternational.com.au> To: Leslie Jensen <jensen.leslie@gmail.com>, freebsd-ports@freebsd.org Subject: Re: Cups-base will not build Message-ID: <558E543C.9050006@consciuminternational.com.au> In-Reply-To: <CADtECiS2_Je1yzvdVqXz=ZGn1Eot%2BH2S_6UMmOvgO1e8%2BhBC6w@mail.gmail.com> References: <CADtECiS2_Je1yzvdVqXz=ZGn1Eot%2BH2S_6UMmOvgO1e8%2BhBC6w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558E543C.9050006>