prt-get: updating /usr/ports/opt/cups prt-get: starting build Wed Jan 18 01:07:33 2017 =======> Building '/home/pkgmk/packages/cups#2.2.1-1.pkg.tar.xz'. bsdtar -p -o -C /home/pkgmk/work/cups/src -xf /home/pkgmk/distfiles/cups-2.2.1-source.tar.gz cp cups /home/pkgmk/work/cups/src + build + cd cups-2.2.1 + CC=cc + CXX=c++ + ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --localstatedir=/var --with-docdir=/usr/share/cups/doc --with-logdir=/var/log/cups --with-cups-user=daemon --with-cups-group=lp --with-languages= --without-java --without-perl --without-php --without-python --without-rcdir '--with-optim=-march=native -O2 -pipe' --disable-tcp-wrappers --enable-acl --disable-pam --disable-dbus --disable-avahi --disable-systemd checking for gawk... gawk checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for gzip... /bin/gzip checking for ld... /usr/bin/ld checking for ln... /bin/ln checking for mv... /bin/mv checking for rm... /bin/rm checking for rmdir... /bin/rmdir checking for sed... /bin/sed checking for xdg-open... no checking for install-sh script... using /home/pkgmk/work/cups/src/cups-2.2.1/install-sh checking for pkg-config... /usr/bin/pkg-config checking for library containing abs... none required checking for library containing crypt... -lcrypt checking for library containing fmod... -lm checking for library containing getspent... none required checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/ucred.h usability... no checking sys/ucred.h presence... no checking for sys/ucred.h... no checking asl.h usability... no checking asl.h presence... no checking for asl.h... no checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for library containing iconv_open... none required checking for library containing libiconv_open... no checking mxml.h usability... no checking mxml.h presence... no checking for mxml.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking for statfs... yes checking for statvfs... yes checking for strdup... yes checking for strlcat... no checking for strlcpy... no checking for snprintf... yes checking for vsnprintf... yes checking for random... yes checking for lrand48... yes checking for arc4random... no checking for geteuid... yes checking for setpgid... yes checking for vsyslog... yes checking for sigaction... yes checking for waitpid... yes checking for wait3... yes checking for posix_spawn... yes checking for getgrouplist... yes checking for tm_gmtoff member in tm structure... yes checking for st_gen member in stat structure... no checking for removefile... no checking for libusb-1.0... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzgets in -lz... yes checking for inflateCopy in -lz... yes checking for library containing acl_init... -lacl checking whether compiler supports -fstack-protector... yes checking whether compiler supports -fPIE... yes checking for resolv.h... yes checking for library containing socket... none required checking for library containing gethostbyaddr... none required checking for library containing getifaddrs... none required checking for library containing hstrerror... none required checking for library containing rresvport_af... none required checking for library containing __res_init... none required checking for library containing getaddrinfo... none required checking for library containing getnameinfo... none required checking for struct sockaddr.sa_len... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for poll... yes checking for epoll_create... yes checking for kqueue... no checking for krb5-config... /usr/bin/krb5-config checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking gssapi/gssapi.h usability... yes checking gssapi/gssapi.h presence... yes checking for gssapi/gssapi.h... yes checking for __ApplePrivate_gss_acquire_cred_ex_f... no checking for GSS_C_NT_HOSTBASED_SERVICE... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create using -lpthreads... no checking for pthread_create using -lpthread... yes checking for libgnutls-config... no checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for gnutls_transport_set_pull_timeout_function... yes checking for gnutls_priority_set_direct... yes Using SSLLIBS="-lgnutls" Using SSLFLAGS="" checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for long long int... yes checking for strtoll... yes checking dns_sd.h usability... yes checking dns_sd.h presence... yes checking for dns_sd.h... yes checking for current version of dns_sd library... no checking for launch_activate_socket... no checking launch.h usability... no checking launch.h presence... no checking for launch.h... no checking for default system groups... "sys root" configure: creating ./config.status config.status: creating Makedefs config.status: creating conf/cups-files.conf config.status: creating conf/cupsd.conf config.status: creating conf/mime.convs config.status: creating conf/pam.std config.status: creating conf/snmp.conf config.status: creating cups-config config.status: creating desktop/cups.desktop config.status: creating doc/index.html config.status: creating man/client.conf.man config.status: creating man/cups-files.conf.man config.status: creating man/cups-lpd.man config.status: creating man/cups-snmp.man config.status: creating man/cupsaddsmb.man config.status: creating man/cupsd.conf.man config.status: creating man/cupsd.man config.status: creating man/lpoptions.man config.status: creating scheduler/cups-lpd.xinetd config.status: creating scheduler/cups.sh config.status: creating scheduler/cups.xml config.status: creating scheduler/org.cups.cups-lpd.plist config.status: creating scheduler/org.cups.cups-lpdAT.service config.status: creating scheduler/org.cups.cupsd.path config.status: creating scheduler/org.cups.cupsd.service config.status: creating scheduler/org.cups.cupsd.socket config.status: creating templates/header.tmpl config.status: creating packaging/cups.list config.status: creating config.h + make Using ARCHFLAGS= Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -march=native -O2 -pipe -I/usr/include/libusb-1.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -march=native -O2 -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT Using CC=cc Using CXX=cc Using DSOFLAGS=-L../cups -Wl,-soname,all -shared -fPIC -march=native -O2 -pipe -fstack-protector -D_GNU_SOURCE Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -fPIE -pie -fPIC -march=native -O2 -pipe -fstack-protector -D_GNU_SOURCE Using LIBS=-lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -lpthread -lm -lcrypt -lz Making all in cups... make[1]: warning: -jN forced in submake: disabling jobserver mode. Compiling adminutil.c... Compiling array.c... Compiling auth.c... Compiling backchannel.c... Compiling backend.c... Compiling debug.c... Compiling dest.c... Compiling dest-job.c... Compiling dest-localization.c... Compiling dest-options.c... Compiling dir.c... Compiling encode.c... Compiling file.c... Compiling getdevices.c... Compiling getifaddrs.c... Compiling getputfile.c... Compiling globals.c... Compiling hash.c... dir.c: In function 'cupsDirRead': dir.c:367:5: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] if (readdir_r(dp->dir, (struct dirent *)buffer, &entry)) ^~ In file included from dir.c:234:0: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ Compiling http.c... Compiling http-addr.c... Compiling http-addrlist.c... Compiling http-support.c... Compiling ipp.c... Compiling ipp-support.c... Compiling langprintf.c... Compiling language.c... Compiling md5.c... Compiling md5passwd.c... Compiling notify.c... Compiling options.c... Compiling ppd.c... Compiling ppd-attr.c... Compiling ppd-cache.c... Compiling ppd-conflicts.c... Compiling ppd-custom.c... Compiling ppd-emit.c... Compiling ppd-localize.c... Compiling ppd-mark.c... Compiling ppd-page.c... Compiling ppd-util.c... Compiling pwg-media.c... Compiling request.c... Compiling sidechannel.c... Compiling snmp.c... Compiling snprintf.c... Compiling string.c... Compiling tempfile.c... Compiling thread.c... Compiling tls.c... Compiling transcode.c... Compiling usersys.c... Compiling util.c... Archiving libcups.a... Linking libcups.so.2... a - adminutil.o a - array.o a - auth.o a - backchannel.o a - backend.o a - debug.o a - dest.o a - dest-job.o a - dest-localization.o a - dest-options.o a - dir.o a - encode.o a - file.o a - getdevices.o a - getifaddrs.o a - getputfile.o a - globals.o a - hash.o a - http.o a - http-addr.o a - http-addrlist.o a - http-support.o a - ipp.o a - ipp-support.o a - langprintf.o a - language.o a - md5.o a - md5passwd.o a - notify.o a - options.o a - ppd.o a - ppd-attr.o a - ppd-cache.o a - ppd-conflicts.o a - ppd-custom.o a - ppd-emit.o a - ppd-localize.o a - ppd-mark.o a - ppd-page.o a - ppd-util.o a - pwg-media.o a - request.o a - sidechannel.o a - snmp.o a - snprintf.o a - string.o a - tempfile.o a - thread.o a - tls.o a - transcode.o a - usersys.o a - util.o Making all in test... make[1]: warning: -jN forced in submake: disabling jobserver mode. Compiling ippfind.c... Compiling ippserver.c... Compiling ipptool.c... Linking ippserver... Linking ipptool... Linking ipptool-static... ippfind.c: In function 'main': ippfind.c:1365:21: error: 'ippfind_srv_t {aka struct ippfind_srv_s}' has no member named 'ref' if (!service->ref && !service->is_resolved) ^~ ippfind.c:1414:22: error: 'ippfind_srv_t {aka struct ippfind_srv_s}' has no member named 'ref' if (service->ref) ^~ ippfind.c:1419:13: warning: implicit declaration of function 'avahi_service_resolver_free' [-Wimplicit-function-declaration] avahi_service_resolver_free(service->ref); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ippfind.c:1419:48: error: 'ippfind_srv_t {aka struct ippfind_srv_s}' has no member named 'ref' avahi_service_resolver_free(service->ref); ^~ ippfind.c:1422:13: error: 'ippfind_srv_t {aka struct ippfind_srv_s}' has no member named 'ref' service->ref = NULL; ^~ ippfind.c:1430:25: error: 'ippfind_srv_t {aka struct ippfind_srv_s}' has no member named 'ref' else if (service->ref) ^~ ippfind.c: In function 'get_service': ippfind.c:2117:17: error: 'kDNSServiceMaxDomainName' undeclared (first use in this function) char fullName[kDNSServiceMaxDomainName]; ^~~~~~~~~~~~~~~~~~~~~~~~ ippfind.c:2117:17: note: each undeclared identifier is reported only once for each function it appears in ippfind.c:2155:3: warning: implicit declaration of function 'avahi_service_name_join' [-Wimplicit-function-declaration] avahi_service_name_join(fullName, kDNSServiceMaxDomainName, serviceName, ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [../Makedefs:246: ippfind.o] Error 1 make: *** [Makefile:38: all] Error 1 =======> ERROR: Building '/home/pkgmk/packages/cups#2.2.1-1.pkg.tar.xz' failed.