From owner-freebsd-java@FreeBSD.ORG Thu May 23 08:30:00 2013 Return-Path: Delivered-To: freebsd-java@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E40E427E for ; Thu, 23 May 2013 08:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B0F3BCE1 for ; Thu, 23 May 2013 08:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4N8U0xw045312 for ; Thu, 23 May 2013 08:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4N8U0x8045311; Thu, 23 May 2013 08:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 23 May 2013 08:30:00 GMT Resent-Message-Id: <201305230830.r4N8U0x8045311@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dr. Andreas Haakh" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4C3F0167 for ; Thu, 23 May 2013 08:23:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 3EB4BC2C for ; Thu, 23 May 2013 08:23:09 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4N8N8SN012641 for ; Thu, 23 May 2013 08:23:08 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4N8N8WR012640; Thu, 23 May 2013 08:23:08 GMT (envelope-from nobody) Message-Id: <201305230823.r4N8N8WR012640@oldred.FreeBSD.org> Date: Thu, 23 May 2013 08:23:08 GMT From: "Dr. Andreas Haakh" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: java/178856: Java fails to print when lpr is removed from base system X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 08:30:01 -0000 >Number: 178856 >Category: java >Synopsis: Java fails to print when lpr is removed from base system >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 23 08:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dr. Andreas Haakh >Release: 9.1-STABLE >Organization: ibh >Environment: FreeBSD Crabberio.Haakh.de 9.1-STABLE FreeBSD 9.1-STABLE #5 r250329: Tue May 7 15:36:34 CEST 2013 toor@Crabberio.Haakh.de:/usr/obj/usr/src/sys/CRABBERIO amd64 >Description: Due to the use of cups, lpr is removed (WITHOUT_LPR=YES in make.config). When printing, Java recognises the printer but tries to execute /usr/bin/lpr which does not exist. >How-To-Repeat: build FreeBSD without lpr remove unnecessary binaries install cups and define printer try to print from java >Fix: create a symbolic link: ln -s /usr/local/bin/lpr /usr/bin/lpr or teach jre to search for /usr/local/bin/lpr if /usr/bin/lpr does not exist or vice versa >Release-Note: >Audit-Trail: >Unformatted: