pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48882: print/cups build fails
>Number: 48882
>Category: pkg
>Synopsis: print/cups build fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 08 19:35:00 +0000 2014
>Originator: Hauke Fath
>Release: NetBSD 6.1_STABLE
>Organization:
Falling Raindrops
>Environment:
System: NetBSD pizza.causeuse.org 6.1_STABLE NetBSD 6.1_STABLE
(BLACKBOX-$Revision: 1.85 $) #0: Sat May 3 21:06:28 CEST 2014
hauke%pizza.causeuse.org@localhost:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/BLACKBOX
amd64
Architecture: x86_64
Machine: amd64
>Description:
The build of print/cups fails because of a missing
declaration.
>How-To-Repeat:
% make -dx
[...]
Compiling dirsvc.c...
Reaping winning child 0x7f7ff7b631b0 PID 13928
Live child 0x7f7ff7b631b0 (dirsvc.o) PID 25792
libtool: compile: gcc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g
-fstack-protector -Wno-tautological-compare -I.. -D_CUPS_SOURCE
-I/var/obj/pkgsrc/print/cups/work/.buildlink/include -O2 -pipe -Wall -Wno-error
-DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE -D_REENTRANT -c dirsvc.c -fPIC -DPIC -o .libs/dirsvc.o
dirsvc.c: In function 'dnssdErrorString':
dirsvc.c:835:10: error: 'kDNSServiceErr_Timeout' undeclared (first use in this
function)
dirsvc.c:835:10: note: each undeclared identifier is reported only once for
each function it appears in
At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
Reaping losing child 0x7f7ff7b631b0 PID 25792
../Makedefs:247: recipe for target 'dirsvc.o' failed
gmake[1]: *** [dirsvc.o] Error 1
Removing child 0x7f7ff7b631b0 PID 25792 from chain.
Reaping losing child 0x7f7ff7b5d200 PID 22199
Makefile:31: recipe for target 'all' failed
gmake: *** [all] Error 1
Removing child 0x7f7ff7b5d200 PID 22199 from chain.
*** Error code 2
Stop.
make: stopped in /u1/pkgsrc/print/cups
+ exitcode=1
+ /usr/bin/env 'MAKECONF=/etc/mk.conf'
'PATH=/var/obj/pkgsrc/print/cups/work/.wrapper/bin:/var/obj/pkgsrc/print/cups/work/.buildlink/bin:/var/obj/pkgsrc/print/cups/work/.gcc/bin:/var/obj/pkgsrc/print/cups/work/.tools/bin:/usr/pkg/bin:/home/hauke/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/pkg/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin'
'USE_DESTDIR=yes' /usr/bin/make '_MAKE=/usr/bin/make' OPSYS=NetBSD
'OS_VERSION=6.1_STABLE' 'LOWER_OPSYS=netbsd' '_PKGSRCDIR=/u1/pkgsrc'
'PKGTOOLS_VERSION=20130902' '_CC=/usr/bin/gcc'
'_PATH_ORIG=/home/hauke/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/pkg/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin'
'_PKGSRC_BARRIER=yes' barrier-error-check
+ set -e
+ /bin/rm -f '/var/obj/pkgsrc/print/cups/work/.warning/*.tmp'
+ test -d '/var/obj/pkgsrc/print/cups/work/.warning'
+ cd '/var/obj/pkgsrc/print/cups/work/.warning'
+ test './*' '!=' './*'
+ exit 0
+ set -e
+ /bin/rm -f '/var/obj/pkgsrc/print/cups/work/.error/*.tmp'
+ test -d '/var/obj/pkgsrc/print/cups/work/.error'
+ cd '/var/obj/pkgsrc/print/cups/work/.error'
+ test './*' '!=' './*'
+ exit 0
+ exit 1
*** Error code 1
Stop.
make: stopped in /u1/pkgsrc/print/cups
% fgrep -R "kDNSServiceErr_Timeout" /var/obj/pkgsrc/print/cups/work/cups-1.7.3/*
scheduler/dirsvc.c: case kDNSServiceErr_Timeout :
scheduler/dirsvc.c.orig: case kDNSServiceErr_Timeout :
test/ippfind.c: case kDNSServiceErr_Timeout :
%
>Fix:
Restore the missing declaration from Apple's system headers, I
guess?
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index