[Bug 191559] New: [patch] print/cups-base-1.7.2_2 build fails if both AVAHI AND MDNSRESPONDER options are disabled
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 2 13:28:27 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191559
Bug ID: 191559
Summary: [patch] print/cups-base-1.7.2_2 build fails if both
AVAHI AND MDNSRESPONDER options are disabled
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: nicolas.edel at gmail.com
Created attachment 144341
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144341&action=edit
proposed patch
When compiling print/cups-base port with default options and both AVAHI and
MDNSRESPONDER options disabled, the link fails because of undefined references:
/usr/ports/print/cups-base % make
[...]
Linking cupsfilter...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib
-Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib -Wall -Wno-format-y2k
-Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -o cupsfilter
cupsfilter.o -L. -lcupsmime -lcups -lssl -lcrypto -lz -pthread -lm -lcrypt
-lz
/bin/rm -f convert
/bin/ln -sf cupsfilter convert
dirsvc.o: In function `cupsdStartBrowsing':
/usr/ports/print/cups-base/work/cups-1.7.2/scheduler/dirsvc.c:244: undefined
reference to `dnssdRegisterAllPrinters'
dirsvc.o: In function `cupsdStopBrowsing':
/usr/ports/print/cups-base/work/cups-1.7.2/scheduler/dirsvc.c:262: undefined
reference to `dnssdDeregisterAllPrinters'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [cupsd] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
`/usr/ports/print/cups-base/work/cups-1.7.2/scheduler'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.7.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/print/cups-base
*** Error code 1
Stop.
make: stopped in /usr/ports/print/cups-base
/usr/ports/print/cups-base %
Please find attached a small patch to fix this.
Note this is *not* a duplicate of bug#190865 since linker failures are not the
same.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list