From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 6 13:30:13 2003 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 9DE7A37B401 for ; Fri, 6 Jun 2003 13:30:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA5A643FB1 for ; Fri, 6 Jun 2003 13:30:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h56KUCUp020003 for ; Fri, 6 Jun 2003 13:30:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h56KUCrc020002; Fri, 6 Jun 2003 13:30:12 -0700 (PDT) Resent-Date: Fri, 6 Jun 2003 13:30:12 -0700 (PDT) Resent-Message-Id: <200306062030.h56KUCrc020002@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 296F737B401 for ; Fri, 6 Jun 2003 13:26:03 -0700 (PDT) Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F6CB43F93 for ; Fri, 6 Jun 2003 13:26:03 -0700 (PDT) (envelope-from question@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1001) id 8BF6652F8; Fri, 6 Jun 2003 13:25:58 -0700 (PDT) Message-Id: <20030606202558.8BF6652F8@q.closedsrc.org> Date: Fri, 6 Jun 2003 13:25:58 -0700 (PDT) From: Linh Pham To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53001: Incorrect path during install portion of editors/vim 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: Fri, 06 Jun 2003 20:30:13 -0000 >Number: 53001 >Category: ports >Synopsis: Incorrect path during install portion of editors/vim >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: Fri Jun 06 13:30:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Linh Pham >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD q.closedsrc.org 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Sun Apr 6 22:50:16 PDT 2003 question@q.closedsrc.org:/usr/obj/usr/src/sys/Q i386 >Description: When trying to do a 'make install' for editors/vim for version 6.2.14 (the version for the Makefile is 1.228), it fails with an error code of 71 as posted below: ===> Generating temporary packing list [ -e /usr/local/bin/gvim ] || (cd /usr/local/bin ; /bin/ln -sf vim gvim) # below needed for `vim-lite' port test -e /usr/local/bin/rgvim || (cd /usr/local/bin ; /bin/ln -sf vim rgvim) test -e /usr/local/bin/gview || (cd /usr/local/bin ; /bin/ln -sf vim gview) test -e /usr/local/bin/rgview || (cd /usr/local/bin ; /bin/ln -sf vim rgview) test -e /usr/local/bin/evim || (cd /usr/local/bin ; /bin/ln -sf vim evim) test -e /usr/local/bin/eview || (cd /usr/local/bin ; /bin/ln -sf vim eview) test -e /usr/local/bin/gvimdiff || (cd /usr/local/bin ; /bin/ln -sf vim gvimdiff) install -c -o root -g wheel -m 444 /usr/ports/editors/vim/files/vietnamese_viscii.vim /usr/local/share/vim/vim6/keymap install: /usr/local/share/vim/vim6/keymap: No such file or directory *** Error code 71 The correct path should be /usr/local/share/vim/vim62 rather than /usr/local/share/vim/vim6 as listed above. >How-To-Repeat: Run 'make ; make install' in editors/vim with the latest revision of the port (last updated 06 Jun 2003 12:01:42) >Fix: In version 1.228 of Makefile for the port, line 154 is: ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${DATADIR}/keymap DATADIR is defined as the following on line 48 as: ${PREFIX}/share/vim/${_DATADIR} And _DATADIR is defined on line 47 as: ${DISTNAME:C/.[0-9]*$//:S/-//g:S/.//g} For some reason, DATADIR is returning a value of 6 instead of 62 at line 154. That needs to be fixed and I'm not sure what the regex would be to do so. >Release-Note: >Audit-Trail: >Unformatted: