From owner-freebsd-ports@FreeBSD.ORG Thu Oct 16 15:05:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF6F910656A4 for ; Thu, 16 Oct 2008 15:05:09 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1548FC1D for ; Thu, 16 Oct 2008 15:05:09 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20081016150508.UKKV23768.eastrmmtao105.cox.net@eastrmimpo02.cox.net>; Thu, 16 Oct 2008 11:05:08 -0400 Received: from localhost ([68.103.35.214]) by eastrmimpo02.cox.net with bizsmtp id TT581a0014dCcn002T587k; Thu, 16 Oct 2008 11:05:08 -0400 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=8-OEHsVFlL1l9QFwqVUA:9 a=DkZ8peKw2ceR23-oXt8A:7 a=j43LIwU1deZoPfPAsBL-Uvqy--QA:4 a=EfJqPEOeqlMA:10 a=4vB-4DCPJfMA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Thu, 16 Oct 2008 15:05:11 -0000 To: "Desmond Chapman" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.60 (Linux) X-Mailman-Approved-At: Thu, 16 Oct 2008 16:16:31 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: need help with vbox X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 15:05:09 -0000 On Thu, 16 Oct 2008 05:17:47 -0000, Desmond Chapman wrote: > > It's dependent upon kbuild. Since the developers have no intention of > fixing the issue, I would like a tutorial on converting the kmk file to > a normal Makefile. I think you are barking at the wrong tree. :-) I don't think the issue is in kBuild. It looks like an issue is in devel/kbuild/Makefile in the do-install target part. http://pointyhat.freebsd.org/errorlogs/sparc64-errorlogs/e.6.20080731104323/kBuild-0.1.3.log ---------------------------------------- (cd ${WRKSRC}/out/freebsd.${MACHINE_ARCH}/release${PREFIX}/bin && ${COPYTREE_BIN} \* ${PREFIX}/bin) ---------------------------------------- ---------------------------------------- # make -V COPYTREE_BIN /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/sbin/chown -R root:wheel $1 && /usr/bin/find $1 -type d -exec chmod 755 {} \; && /usr/bin/find $1 -type f -exec chmod 555 {} \;' -- ---------------------------------------- So.. See that $1, it is ${PREFIX}/bin. It's a bug. The COPYTREE_BIN can't have ${PREFIX}/bin. I suggest you to not use COPYTREE_BIN, so do the different method should solve kbuild ports problem. I personal haven't use COPYTREE_* before, so possible misuse COPYTREE_BIN or just can't have ${PREFIX}/bin (uncheck in bsd.port.mk/document). BTW: Add CC'ing to freebsd-ports@ to make its search useful. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org