Date: Sun, 14 Jun 2015 22:38:40 +0200 From: Torfinn Ingolfsen <tingox@gmail.com> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: cups-base fails in linking ippfind Message-ID: <CAJ_iqtYueYoMT2%2B_S2PeJ5n=mO%2B3XiqxYSPu7kz1b4oxcV5C=w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Latest cups-base fails: gmake[1]: Entering directory '/usr/ports/print/cups-base/work/cups-2.0.3/test' echo Compiling ippfind.c... echo Compiling ippserver.c... Compiling ippfind.c... cc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_THREAD_SAFE -D_REENTRANT -c -o ippfind.o ippfind.c echo Compiling ipptool.c... Compiling ippserver.c... cc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_THREAD_SAFE -D_REENTRANT -c -o ippserver.o ippserver.c Compiling ipptool.c... cc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include -I/usr/local/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_THREAD_SAFE -D_REENTRANT -c -o ipptool.o ipptool.c ippserver.c: In function 'ipp_cancel_job': ippserver.c:2864: warning: null format string ippserver.c: In function 'ipp_close_job': ippserver.c:2919: warning: null format string ippserver.c: In function 'ipp_create_job': ippserver.c:2972: warning: null format string ippserver.c: In function 'ipp_get_job_attributes': ippserver.c:3004: warning: null format string ippserver.c: In function 'ipp_get_jobs': ippserver.c:3159: warning: null format string ippserver.c: In function 'ipp_get_printer_attributes': ippserver.c:3211: warning: null format string ippserver.c: In function 'ipp_identify_printer': ippserver.c:3389: warning: null format string ippserver.c: In function 'ipp_print_job': ippserver.c:3526: warning: null format string ippserver.c: In function 'ipp_print_uri': ippserver.c:3838: warning: null format string ippserver.c: In function 'ipp_send_document': ippserver.c:4040: warning: null format string ippserver.c: In function 'ipp_send_uri': ippserver.c:4409: warning: null format string ippserver.c: In function 'ipp_validate_job': ippserver.c:4430: warning: null format string echo Linking ippfind... Linking ippfind... cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -fstack-protector -Wl,-R/usr/local/lib -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -o ippfind ippfind.o -lcups -L/usr/local/lib -lavahi-common -lavahi-client -lz -lpthread -lm -lcrypt -liconv -liconv -lz echo Linking ippfind-static... Linking ippfind-static... cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -fstack-protector -Wl,-R/usr/local/lib -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -o ippfind-static ippfind.o ../cups/libcups.a \ -L/usr/local/lib -lgnutls -L/usr/local/lib -lavahi-common -lavahi-client -lpthread -lm -lcrypt -liconv -liconv -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:1855: undefined reference to `DNSServiceRefDeallocate' /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:1785: undefined reference to `DNSServiceResolve' /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:1833: undefined reference to `DNSServiceProcessResult' /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:1798: undefined reference to `DNSServiceResolve' ../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:2158: undefined reference to `TXTRecordGetValuePtr' /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:2215: undefined reference to `TXTRecordGetValuePtr' /usr/ports/print/cups-client/work/cups-2.0.3/cups/http-support.c:2202: undefined reference to `TXTRecordGetValuePtr' Makefile:180: recipe for target 'ippfind' failed gmake[1]: *** [ippfind] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/usr/ports/print/cups-base/work/cups-2.0.3/test' Makefile:31: recipe for target 'all' failed gmake: *** [all] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/print/cups-base. *** [stage] Error code 1 Stop in /usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20150614-72897-144zwyb env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.7.3_3 UPGRADE_PORT_VER=1.7.3_3 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/cups-base (cups-base-1.7.3_3) (linker error) This on: tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 HTH -- Regards, Torfinn Ingolfsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtYueYoMT2%2B_S2PeJ5n=mO%2B3XiqxYSPu7kz1b4oxcV5C=w>