From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 2 13:28:27 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE69FAB4 for ; Wed, 2 Jul 2014 13:28:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 902CC2517 for ; Wed, 2 Jul 2014 13:28:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s62DSR5I007005 for ; Wed, 2 Jul 2014 14:28:27 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191559] New: [patch] print/cups-base-1.7.2_2 build fails if both AVAHI AND MDNSRESPONDER options are disabled Date: Wed, 02 Jul 2014 13:28:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nicolas.edel@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 13:28:27 -0000 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@FreeBSD.org Reporter: nicolas.edel@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.