PDA

View Full Version : lang/pcc build errors


JMJ_coder
06-16-2008, 11:57 PM
Hello,

I tried to install lang/pcc (ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/lang/pcc/README.html) - build from source - via pkgsrc and it failed during installation. Does anyone know why it failed or how to correct?


Here is the error(s):

=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
===> Installing for pcc-0.9.9
cd cc && /usr/bin/make install
cd cc && /usr/bin/make install
test -z "/usr/pkg/bin" || mkdir -p "/usr/pkg/bin"
/usr/bin/install -c -s -o root -g wheel -m 555 pcc /usr/pkg/bin
strip /usr/pkg/bin/pcc
test -z "/usr/pkg/man/man1" || mkdir -p "/usr/pkg/man/man1"
/usr/bin/install -c -o root -g wheel cc.1 /usr/pkg/man/man1/pcc.1
cd cpp && /usr/bin/make install
test -z "/usr/pkg/libexec" || mkdir -p "/usr/pkg/libexec"
/usr/bin/install -c -s -o root -g wheel -m 555 cpp /usr/pkg/libexec
install: cpp: stat: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pcc/work/pcc-0.9.9/cc/cpp
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pcc/work/pcc-0.9.9/cc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pcc/work/pcc-0.9.9
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pcc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pcc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/pcc

JMJ_coder
06-17-2008, 03:00 AM
Hello,

I solved the error. What was happening is the it wasn't building all the binaries early enough and then was tripping over itself. I manually built the binaries and then let Make take care of the rest. But, pkgsrc needs to fix the Makefile. I filed a PR - pkg/38964 (http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38964) - so hopefully, this will be taken care of quickly.