pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50433: print/cups installation fails without "dnssd" option



>Number:         50433
>Category:       pkg
>Synopsis:       print/cups installation fails without "dnssd" option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 16 13:25:00 +0000 2015
>Originator:     Rin Okuyama
>Release:        pkgsrc-MAIN 20151116
>Organization:
Department of Physics, Tohoku University
>Environment:
NetBSD XXX 7.99.21 NetBSD 7.99.21 (GENERIC) #0: Mon Nov 16 12:47:35 JST 2015  root@XXX:XXX amd64
>Description:
Installation of print/cups fails without "dnssd" option:

    % cd /usr/pkgsrc/print/cups && sudo make install
    => Checking file-check results for cups-2.1.0
    ERROR: ************************************************************
    ERROR: The following files are in the PLIST but not in XXX/print/cups/work/.destdir/usr/pkg:
    ERROR:         XXX/print/cups/work/.destdir/usr/pkg/libexec/cups/backend/mdns
    *** Error code 1

"libexec/cups/backend/mdns" is a symbolic link of "dnssd" in the same
directory, whose entry in PLIST is,

    ${PLIST.dnssd}libexec/cups/backend/dnssd.

Therefore, we also need "${PLIST.dnssd}" for "mdns".
>How-To-Repeat:
Install print/cups with "PKG_OPTIONS.cups+=-dnssd" in /etc/mk.conf.
>Fix:
--- print/cups/PLIST.orig	2015-11-16 21:54:11.000000000 +0900
+++ print/cups/PLIST	2015-11-16 21:54:49.000000000 +0900
@@ -43,7 +43,7 @@
 libexec/cups/backend/http
 libexec/cups/backend/ipp
 libexec/cups/backend/lpd
-libexec/cups/backend/mdns
+${PLIST.dnssd}libexec/cups/backend/mdns
 libexec/cups/backend/snmp
 libexec/cups/backend/socket
 libexec/cups/backend/usb



Home | Main Index | Thread Index | Old Index