From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 7 08:10:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65858106566B for ; Tue, 7 Aug 2012 08:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF918FC15 for ; Tue, 7 Aug 2012 08:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q778A1aR014861 for ; Tue, 7 Aug 2012 08:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q778A1du014858; Tue, 7 Aug 2012 08:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 7 Aug 2012 08:10:01 GMT Resent-Message-Id: <201208070810.q778A1du014858@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, Frank Wall Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD81C106566B for ; Tue, 7 Aug 2012 08:04:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 989B28FC19 for ; Tue, 7 Aug 2012 08:04:35 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7784ZS2047376 for ; Tue, 7 Aug 2012 08:04:35 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7784YxO047375; Tue, 7 Aug 2012 08:04:34 GMT (envelope-from nobody) Message-Id: <201208070804.q7784YxO047375@red.freebsd.org> Date: Tue, 7 Aug 2012 08:04:34 GMT From: Frank Wall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170441: [PATCH] net/rinetd: fails to install due to file name collision X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 08:10:02 -0000 >Number: 170441 >Category: ports >Synopsis: [PATCH] net/rinetd: fails to install due to file name collision >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 07 08:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Frank Wall >Release: 7.4-RELEASE-p9 >Organization: >Environment: FreeBSD X 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11 19:47:58 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Recently (r302141) the RC script was renamed from *.sh.in to *.in. This lead to a file name collision during the "make install" phase. >How-To-Repeat: - try to install net/rinetd - install will stop with this error message: ===> Installing for rinetd-0.62_4 cannot create /work/a/ports/net/rinetd/work/rinetd: Is a directory *** Error code 2 Stop in /a/ports/net/rinetd. >Fix: I've created a patch to address this issue by renaming/moving the ${WRKSRC}. I'm not sure if this is the appropiate fix, but it solves the issue for me. Patch attached with submission follows: --- net/rinetd/Makefile.orig 2012-08-07 09:56:01.000000000 +0200 +++ net/rinetd/Makefile 2012-08-07 09:56:47.000000000 +0200 @@ -19,7 +19,7 @@ OPTIONS_DEFINE= DOCS -WRKSRC= ${WRKDIR}/rinetd/ +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKE_JOBS_SAFE= yes USE_DOS2UNIX= yes @@ -32,6 +32,9 @@ .include +post-extract: + ${MV} ${WRKDIR}/rinetd/ ${WRKDIR}/${PORTNAME}-${PORTVERSION} + post-patch: @${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \ ${WRKSRC}/rinetd.[8c] >Release-Note: >Audit-Trail: >Unformatted: