[PC-BSD Pbi-dev] PBI build failed due to an incomplete port tree in pbi builder 2.5 ?

Kris Moore kris at pcbsd.org
Fri Aug 6 05:22:23 PDT 2010


On 08/06/2010 03:46, Sam Lin wrote:
> Hi,
>
> I was trying to build a pbi for math/R (a statistics environment and
> language) using PBI Builder 2.5 on PC-BSD 8.1, whereas it was not
> successful and I found something weird. The last few line of my
> build.log shows that:
>
> ======== build.log from here  ===========
>
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
> a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
> cd: can't cd to /usr/ports/math/R
> make: don't know how to make clean. Stop
> make: don't know how to make install. Stop
> make: don't know how to make install. Stop
> ERROR: 2.1 Build failed of math/R!!!
>
> ============ to here ===============
>
> It appears that something is wrong with the directory or the path to
> the ports, so I checked out my /pbi-build/ports/ and alas!
>
> ======== /pbi-build/ports/ from here =======
>
> total 884
> -rw-r--r--    1 root  wheel      19  7月 15  1997 .cvsignore
> -rw-r--r--    1 root  wheel   56860  6月  7 05:17 CHANGES
> -rw-r--r--    1 root  wheel    1498  1月  1  2010 COPYRIGHT
> -rw-r--r--    1 root  wheel    2416  7月  5 19:40 GIDs
> -rw-r--r--    1 root  wheel    4631  2月  8 00:51 KNOBS
> -rw-r--r--    1 root  wheel   34278  8月  4 21:52 LEGAL
> -rw-r--r--    1 root  wheel  336624  8月  4 09:15 MOVED
> -rw-r--r--    1 root  wheel    6018 12月 19  2009 Makefile
> drwxr-xr-x    2 root  wheel    1536  8月  6 11:50 Mk
> -rw-r--r--    1 root  wheel    1298  5月 23  2006 README
> drwxr-xr-x    2 root  wheel     512  8月  6 11:50 Templates
> drwxr-xr-x    4 root  wheel     512  8月  6 11:50 Tools
> -rw-r--r--    1 root  wheel   12161  7月  5 19:40 UIDs
> -rw-r--r--    1 root  wheel  339022  8月  2 04:08 UPDATING
> drwxr-xr-x   31 root  wheel    1024  8月  6 11:50 accessibility
> drwxr-xr-x   12 root  wheel     512  8月  6 11:50 arabic
> drwxr-xr-x  197 root  wheel    4096  8月  6 11:50 archivers
> drwxr-xr-x  117 root  wheel    2560  8月  6 11:50 astro
> drwxr-xr-x  872 root  wheel   17920  8月  6 11:51 audio
> drwxr-xr-x   68 root  wheel    1536  8月  6 11:51 benchmarks
> drwxr-xr-x  100 root  wheel    2048  8月  6 11:51 biology
> drwxr-xr-x  100 root  wheel    2048  8月  6 11:51 cad
> drwxr-xr-x  145 root  wheel    3072  8月  6 11:51 chinese
> drwxr-xr-x  167 root  wheel    3584  8月  6 11:51 comms
> drwxr-xr-x  143 root  wheel    3584  8月  6 11:51 converters
> drwxr-xr-x   36 root  wheel    1024  8月  6 11:51 databases
>
> ============ to here ================
>
> That's all?! Apparently for some reason portsnap invoked by
> buildpbi.sh did not build up a complete port tree in my /pbi-build,
> which results in the builder not being able to locate
> /usr/ports/math/R. But I wonder why the port tree is incomplete...
>
> As a workaround (I thought it would be), I added the following lines
> in preportmake.sh:
>
> ========= preportmake.sh from here =========
>
> # math/R requires gmake and perl to build
>
> pkg_add -r gmake
> pkg_add-r perl
>
> # to re-construct a whole new (and complete) port tree
>
> portsnap -p ${PROGDIR}/ports fetch extract update
>
> ================ to here ================
>
> But still got the same result with the same log.
>
> How do I sort this glitch out?
>
>
> Thank you
> Sam
>    

That is very odd. You're not out of disk space on the partition 
pbi-build is located are you?

How about if you manually run "portsnap -p /pbi-build/ports fetch 
extract update" does it finish?

-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Pbi-dev mailing list