From owner-freebsd-ports Thu Dec 14 23:50:11 2000 From owner-freebsd-ports@FreeBSD.ORG Thu Dec 14 23:50:01 2000 Return-Path: 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 CF67337B404 for ; Thu, 14 Dec 2000 23:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBF7o1K37082; Thu, 14 Dec 2000 23:50:01 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 14 Dec 2000 23:50:01 -0800 (PST) Resent-Message-Id: <200012150750.eBF7o1K37082@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, Alan Bawden Received: from snowview.camellia.org (snowview.camellia.org [64.23.221.226]) by hub.freebsd.org (Postfix) with ESMTP id E692C37B402 for ; Thu, 14 Dec 2000 23:40:12 -0800 (PST) Received: (from alan@localhost) by snowview.camellia.org (8.9.3/8.9.3/Erasmus) id CAA41369; Fri, 15 Dec 2000 02:40:02 -0500 (EST) (envelope-from alan) Message-Id: <200012150740.CAA41369@snowview.camellia.org> Date: Fri, 15 Dec 2000 02:40:02 -0500 (EST) From: Alan Bawden Sender: alan@snowview.camellia.org Reply-To: Alan Bawden To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23560: linux-jdk/Makefile assumes default `patch' behavior. Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23560 >Category: ports >Synopsis: linux-jdk/Makefile assumes default `patch' behavior. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 14 23:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Alan Bawden >Release: FreeBSD 3.4-RELEASE i386 >Organization: ITS Preservation Society >Environment: The most recent cvsup of my ports collection ended: 13 Dec 2000 11:22:31 GMT. >Description: /usr/ports/java/linux-jdk/Makefile assumes that you don't have the VERSION_CONTROL environment set. If you set it, then the `patch' program might use a different scheme for naming backup files, and so when the Makefile does: ${RM} ${PREFIX}/linux-jdk1.2.2/bin/.java_wrapper.orig ${RM} ${PREFIX}/linux-jdk1.2.2/jre/bin/.java_wrapper.orig The files it expects to delete don't exist, and the install fails. >How-To-Repeat: cd /usr/ports/java/linux-jdk/ export VERSION_CONTROL="t" make install >Fix: Depends who you think is at fault here. Perhaps this Makefile is making unjustified assumptions about the behavior of `patch', in which case it should be fixed somehow. Or perhaps the ports system could be fixed to always invoke `patch' with `-b .orig'. This isn't the first time I have had trouble with a port because I set some environment variable in some unexpected way. So this is actually another instance of a more general problem. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message