From owner-freebsd-ports Mon Nov 26 20:30: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E9B2037B419 for ; Mon, 26 Nov 2001 20:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAR4U0n32489; Mon, 26 Nov 2001 20:30:00 -0800 (PST) (envelope-from gnats) Received: from santropez.acs.rpi.edu (santropez.acs.rpi.edu [128.113.24.162]) by hub.freebsd.org (Postfix) with ESMTP id 9FE8737B417; Mon, 26 Nov 2001 20:28:54 -0800 (PST) Received: (from gad@localhost) by santropez.acs.rpi.edu (8.11.6/8.11.4) id fAR4SqO17032; Mon, 26 Nov 2001 23:28:52 -0500 (EST) (envelope-from gad) Message-Id: <200111270428.fAR4SqO17032@santropez.acs.rpi.edu> Date: Mon, 26 Nov 2001 23:28:52 -0500 (EST) From: Garance A Drosehn Reply-To: Garance A Drosehn To: FreeBSD-gnats-submit@freebsd.org Cc: kde@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32321: x11/kdelibs2 installs print/cups, which then causes problems Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32321 >Category: ports >Synopsis: x11/kdelibs2 installs print/cups, which then causes problems >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 26 20:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Garance A Drosehn >Release: FreeBSD 4.4-STABLE i386 >Organization: RPI; Troy NY >Environment: System: FreeBSD santropez.acs.rpi.edu 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Nov 20 21:59:46 EST 2001 root@santropez.acs.rpi.edu:/usr/obj/usr/src/sys/Dual-650P3 i386 >Description: The makefile for x11/kdelibs2 has a dependency on cups.2:${PORTSDIR}/print/cups This (apparently) causes CUPS to be installed when the user goes to install KDE. If the user is not actually using CUPS, this causes some confusion between /usr/local/bin/lpr (the cups version) and /usr/bin/lpr (the version everyone on the machine should really be using). What may then happen is that the administrator of the machine starts pulling their hair out becomes some users on the machine can print, and other ones can not (the difference being whether the user has /usr/local/bin in their PATH). Questions ensue, which generally come my way (gad@FreeBSD.org), and eventually we realize what the problem is. >How-To-Repeat: Install the port, I guess. >Fix: I am not sure what the best fix is. I have not looked at the port, but I am writing this right now because today I got two different administrators who ran into this problem, and of course came to me because "lpr isn't working". In some sense it's better for me when they come in groups like this, because I'm more likely to remember to ask them about /usr/local/bin/lpr vs /usr/bin/lpr. On the other hand, it would probably be better if we could just fix this. I assume that KDE needs some library that CUPS creates. Could we break that library out into a separate port, so the library could be installed without disrupting print-commands? Is there some change I could make to freebsd's lpr/lpd which would make it easier to fix this KDE port? I am willing to do that (particularly if it means less email from frustrated administrators), but I am not sure if that is the best fix either. (I do not know if that would help people who use lprNG instead of the bsd lpr, for instance). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message