Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2000 02:40:02 -0500 (EST)
From:      Alan Bawden <Alan@LCS.MIT.EDU>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23560: linux-jdk/Makefile assumes default `patch' behavior.
Message-ID:  <200012150740.CAA41369@snowview.camellia.org>
Resent-Message-ID: <200012150750.eBF7o1K37082@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012150740.CAA41369>