print/cups fails to build on 9.3-STABLE i386

Mark Martinec Mark.Martinec+freebsd at ijs.si
Thu Jan 15 19:51:45 UTC 2015


Boris Samorodov wrote:
> 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.

It also fails with the same diagnostics
under poudriere on 10.1 using today's ports checkout.

   Mark



> 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.



More information about the freebsd-ports mailing list