From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 16 18:10:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4065516A4CE for ; Tue, 16 Nov 2004 18:10:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B54043D46 for ; Tue, 16 Nov 2004 18:10:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iAGIAPRU049002 for ; Tue, 16 Nov 2004 18:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAGIAPEh049001; Tue, 16 Nov 2004 18:10:25 GMT (envelope-from gnats) Resent-Date: Tue, 16 Nov 2004 18:10:25 GMT Resent-Message-Id: <200411161810.iAGIAPEh049001@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Linh Pham Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5BC16A4CE for ; Tue, 16 Nov 2004 18:04:13 +0000 (GMT) Received: from q.closedsrc.org (ip233.gte244.dsl-acs2.sea.iinet.com [209.20.244.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBA4B43D5F for ; Tue, 16 Nov 2004 18:04:13 +0000 (GMT) (envelope-from question@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1001) id 042CD45037; Tue, 16 Nov 2004 10:03:31 -0800 (PST) Message-Id: <20041116180331.042CD45037@q.closedsrc.org> Date: Tue, 16 Nov 2004 10:03:31 -0800 (PST) From: Linh Pham To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/74009: sysutils/tree: make install fails for version 1.5.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Linh Pham List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 18:10:26 -0000 >Number: 74009 >Category: ports >Synopsis: sysutils/tree: make install fails for version 1.5.0 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 16 18:10:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Linh Pham >Release: FreeBSD 5.2.1-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD q.internal.closedsrc.org 5.2.1-RELEASE-p11 FreeBSD 5.2.1-RELEASE-p11 #3: Thu Oct 14 23:10:30 PDT 2004 question@q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386 >Description: When trying to install sysutils/tree, the port installation process fails with the following error: ===> Installing for tree-1.5.0 ===> Generating temporary packing list ===> Checking if sysutils/tree already installed /usr/local/bin /usr/local/bin:Permission denied *** Error code 1 Stop in /usr/ports/sysutils/tree/work/tree-1.5.0. *** Error code 1 Stop in /usr/ports/sysutils/tree. The problem is reproduceable on a 4.10 and 5.2.1 >How-To-Repeat: fetch latest version of sysutils/tree run: cd sysutils/tree ; make install >Fix: I compared the install portion of the extracted (and patched?) Makefile from the distfile and noted a difference in the two versions: >From version 1.3.0: install: $(TREE_DEST) $(MAN) mkdir -p $(BINDIR) mkdir -p $(MANDIR) ${BSD_INSTALL_PROGRAM} $(TREE_DEST) $(BINDIR) ${BSD_INSTALL_MAN} $(MAN) $(MANDIR) >From version 1.5.0: install: $(TREE_DEST) $(MAN) $(MKDIR) $(BINDIR) $(MKDIR) $(MANDIR) ${BSD_INSTALL_PROGRAM} $(TREE_DEST) $(BINDIR) ${BSD_INSTALL_MAN} $(MAN) $(MANDIR) Replacing the two $(MKDIR) with the respective "mkdir -p" lines from the previous version results in a different error when trying to run a "make install": ===> Installing for tree-1.5.0 ===> Generating temporary packing list ===> Checking if sysutils/tree already installed "Makefile", line 51: Need an operator make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/ports/sysutils/tree. >Release-Note: >Audit-Trail: >Unformatted: