Date: Thu, 8 Jan 2015 11:33:38 -0800 From: Freddy Andersen <fandersen@youmail.com> To: freebsd-ports@freebsd.org Subject: do-install fails when files in .PLIST.mktmp are truncated Message-ID: <8205C518-2B3A-412F-A854-641AC5610E37@youmail.com>
next in thread | raw e-mail | index | archive | help
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 = <https://www.google.com/maps/dir//43+Corporate+Park,+Irvine,+CA+92606/@33.= 6917757,-117.826406,17z/data=3D!4m13!1m4!3m3!1s0x80dcdc26bea9447f:0xa1c2fd= 19e9949b35!2s43+Corporate+Park,+Irvine,+CA+92606!3b1!4m7!1m0!1m5!1m1!1s0x8= 0dcdc26bea9447f:0xa1c2fd19e9949b35!2m2!1d-117.826406!2d33.6917757> =20 Try YouMail Now: iPhone = <https://itunes.apple.com/us/app/youmail-visual-voicemail/id308331524?mt=3D= 8>, Android = <https://play.google.com/store/apps/details?id=3Dcom.youmail.android.vvm>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8205C518-2B3A-412F-A854-641AC5610E37>