pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bootstrap fails on Mac/Linux vm
Hi All,
I'm trying to bootstrap pkgsrc into an Arch Linux install
on a VirturalBox VM on Mac hardware. It fails like this:
checking if diff -u works... yes
checking for MACHINE & MACHINE_ARCH...
defaults: MACHINE=linux2, MACHINE_ARCH=intel(r) core(tm)2 duo cpu p7550 @
2.26ghz
Using: MACHINE=linux2, MACHINE_ARCH=intel(r) core(tm)2 duo cpu p7550 @ 2.26ghz
Using: MKSRC=mk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating make-bootstrap.sh
config.status: creating unit-tests/Makefile
config.status: creating config.h
You can now run
./make-bootstrap.sh
to produce a fully functional bmake.
gcc -c -g -O2 -I. -I/usr/pkgsrc/work/bmake -DHAVE_CONFIG_H
-I/usr/pkgsrc/work/bmake/missing -DNEED_HOST_CDEFS_H -DMAKE_NATIVE
-D_PATH_DEFSYSPATH="/usr/pkgsrc/work/share/mk" -DMACHINE="linux2"
-DMACHINE_ARCH="intel(r) core(tm)2 duo cpu p7550 @ 2.26ghz"
-DMAKE_VERSION="20100510" -o main.o /usr/pkgsrc/work/bmake/main.c
gcc: core(tm)2: No such file or directory
gcc: duo: No such file or directory
gcc: cpu: No such file or directory
gcc: p7550: No such file or directory
gcc: @: No such file or directory
gcc: 2.26ghz": No such file or directory
<command-line>:0:14: warning: missing terminating " character
/usr/pkgsrc/work/bmake/main.c: In function ‘main’:
/usr/pkgsrc/work/bmake/main.c:875:6: error: missing terminating " character
/usr/pkgsrc/work/bmake/main.c:875:33: error: expected expression before ‘;’
token
===> exited with status 1
aborted.
It would seem gcc is now using utf-8 for errors? here are the last
lines manually converted:
/usr/pkgsrc/work/bmake/main.c: In function 'main':
/usr/pkgsrc/work/bmake/main.c:875:6: error: missing terminating " character
/usr/pkgsrc/work/bmake/main.c:875:33: error: expected expression before ';'
token
===> exited with status 1
This is pkgsrc-2010Q2.tar.gz 29.6 MB 7/4/10 8:22:00 AM
ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2010Q2/pkgsrc-2010Q2.tar.gz
I tried "export MACHINE=i386 ; bootstrap/bootstrap" but did not help.
I had another error while trying to update the checkout...
# cd /usr/pkgsrc && cvs -q upd -dP
anoncvs.netbsd.org: No route to host
cvs [update aborted]: end of file from server (consult above messages if any)
Networking is otherwise working and I can ping the host fine.
Any ideas how to fix these?
-George
Home |
Main Index |
Thread Index |
Old Index