From owner-freebsd-ports@FreeBSD.ORG Thu Jan 8 19:33:42 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88A15EB0 for ; Thu, 8 Jan 2015 19:33:42 +0000 (UTC) Received: from corpmail01.youmail.com (corpmail01.youmail.com [66.85.99.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 655ADDB2 for ; Thu, 8 Jan 2015 19:33:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by corpmail01.youmail.com (Postfix) with ESMTP id ABA77B00ACF for ; Thu, 8 Jan 2015 11:33:40 -0800 (PST) Received: from corpmail01.youmail.com ([127.0.0.1]) by localhost (corpmail01.youmail.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id e4ZdF7v1HPDD for ; Thu, 8 Jan 2015 11:33:39 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by corpmail01.youmail.com (Postfix) with ESMTP id 88DA9B0170F for ; Thu, 8 Jan 2015 11:33:39 -0800 (PST) X-Virus-Scanned: amavisd-new at corpmail01.youmail.com Received: from corpmail01.youmail.com ([127.0.0.1]) by localhost (corpmail01.youmail.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id m9PWNQb67hBG for ; Thu, 8 Jan 2015 11:33:39 -0800 (PST) Received: from freddy-laptop.hq.youmail.com (freddy-laptop.hq.youmail.com [10.3.185.50]) by corpmail01.youmail.com (Postfix) with ESMTPSA id 463D8B00ACF for ; Thu, 8 Jan 2015 11:33:39 -0800 (PST) From: Freddy Andersen Subject: do-install fails when files in .PLIST.mktmp are truncated Message-Id: <8205C518-2B3A-412F-A854-641AC5610E37@youmail.com> Date: Thu, 8 Jan 2015 11:33:38 -0800 To: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 19:33:42 -0000 So I started the process of updating the [PORT]devel/hadoop2[/PORT] port = from 2.4.1 -> 2.6.0 but I'm having some issues when the finally = do-install runs. This is the error: [code] =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D> Staging rc.d startup script(s) =3D=3D=3D> Installing for hadoop2-2.6.0 =3D=3D=3D> Checking if hadoop2 already installed =3D=3D=3D> Registering installation for hadoop2-2.6.0 pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/ass: No such = file or directory pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/ass: No such = file or directory pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/leSystemAccessS= ervice$FileSystemCachePurger.class: No such file or directory pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/ass: No such = file or directory pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/strumentationSe= rvice$SamplersRunnable.class: No such file or directory pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/ass: No such = file or directory pkg-static: Unable to access file = /usr/ports/devel/hadoop2/work/stage/usr/local/share/hadoop/strumentationSe= rvice$VariableHolder.class: No such file or directory *** Error code 74 [/code] It looks like the following command cuts some of the full path to files = in my [FILE].PLIST.mktmp[/FILE] file so when it tries to install it all = fails. (updating [FILE].PLIST.mktmp[/FILE] after this error and running = [CMD]make install[/CMD] again works fine). Here is from my [FILE]Makefile[/FILE]: [code] cd ${HADOOP_DIST}/share/hadoop && ${COPYTREE_SHARE} \* = ${STAGEDIR}${DATADIR}/ "! -name *-sources.jar -and ! -name sources" [/code] This is by the way my first port adventure so I'm a little lost BUT it = looks like the [FILE]COPYTREE_SHARE[/FILE] command (whatever that is) = does not handle the [FILE]$[/FILE] in a file name. That is my guess. I = tried using [FILE]'*'[/FILE] or [FILE]"*"[/FILE] or just [FILE].[/FILE] = for the files but its all the same. Is there a way that I could replace the [FILE]${COPYTREE_SHARE}[/FILE] = line in my [FILE]Makefile[/FILE] with a simple find command to add the = files into the [FILE].PLIST[/FILE]? Or am I doing this wrong? Freddy Andersen VP of Operations Cell: (714) 366-0668 =20 43 Corporate Park, Suite 200 Irvine, CA 92606 = =20 Try YouMail Now: iPhone = , Android =