Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 07:13:51 +1100
From:      Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
To:        Alan Eldridge <alane@geeksrus.net>, ports@FreeBSD.org
Subject:   Re: print/cups fails to build on 9.3-STABLE i386
Message-ID:  <54B81F7F.3090805@heuristicsystems.com.au>
In-Reply-To: <20150115190246.GE3301@itcom245.staff.itd.umich.edu>
References:  <20150115190246.GE3301@itcom245.staff.itd.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.”




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B81F7F.3090805>