Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2015 14:41:52 +0200
From:      Leslie Jensen <jensen.leslie@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Fwd: Cups-base will not build
Message-ID:  <CADtECiRHmvFiX8demmW493otKqxJFLsAB57b4A6UEkDQsU=o3g@mail.gmail.com>
In-Reply-To: <CADtECiTCxN74ZaYUBHD8vPOHsW-PTT3mO9-a46nNK%2B5KAd8TCA@mail.gmail.com>
References:  <CADtECiS2_Je1yzvdVqXz=ZGn1Eot%2BH2S_6UMmOvgO1e8%2BhBC6w@mail.gmail.com> <558E543C.9050006@consciuminternational.com.au> <CADtECiTCxN74ZaYUBHD8vPOHsW-PTT3mO9-a46nNK%2B5KAd8TCA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2015-06-27 9:43 GMT+02:00 Dewayne Geraghty <
dewayne.geraghty@consciuminternational.com.au>:

>
> 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.
>
>
Thanks Dewayne for answering :-)

Here's my config


uname -aKU
FreeBSD bljbsd01.no-ip.org 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0:
Wed May 13 06:54:13 UTC 2015
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
amd64 1001000 1001000


svnlite info /usr/ports | egrep "Rev|Date"
svn: E155007: '/usr/ports' is not a working copy


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=on: 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=off: Zeroconf support via mDNSResponder
===> Use 'make config' to modify these settings


make -DBATCH   clean deinstall package

Stops with the same error!

/Leslie



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