Source-builder MacOS and python2.7 - again.
Mr. Andrei Chichak
groups at chichak.ca
Thu Jan 8 21:52:43 UTC 2015
I’m installing the head of RTEMS onto a Mac OSX 10.10.1 (Yosemite) box.
I use the following script to grab the latest copy of source-builder and get stuff set up for ARM:
cd
mkdir -p development/rtems/src
cd development/rtems/src
git clone git://git.rtems.org/rtems-source-builder.git
cd rtems-source-builder
source-builder/sb-check
source-builder/sb-check
cd rtems
../source-builder/sb-set-builder --list-bsets
../source-builder/sb-set-builder —log=l-arm.txt —prefix=$HOME/development/rtems/4.11 4.11/rtems-arm
(verbose, and meant for puny humans, but it got the job done on my laptop)
After about an hour the build bombs on not finding a reasonable version of python2.7. (log fragment at bottom)
uws105675usr:~ andreichichak$ python -V
Python 2.7.9
uws105675usr:~ andreichichak$ python2.7 -V
Python 2.7.9
uws105675usr:~ andreichichak$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
uws105675usr:~ andreichichak$ which python2.7
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
I’m not sure what the problem could be. I tried installing python 2.7.[2 4 5 7 9] and all bomb with the same result.
I installed the latest Xcode and command line tools and got macports up to date (for xz and cvs).
Any ideas, or at least does anyone have a command that I can issue that can fail in less than an hour?
Thanks,
Andrei
Final l-arm.txt fragment :
=== configuring in build-gnulib (/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/build/gdb/build-gnulib)
configure: running /bin/sh ../../../gdb-7.8.1/gdb/gnulib/configure --disable-option-checking '--prefix=/Users/andreichichak/development/rtems/4.11' '--with-system-zlib' '--verbose' '--disable-nls' '--without-included-gettext' '--disable-win32-registry' '--disable-werror' '--enable-sim' '--without-zlib' '--with-expat' '--with-python' '--bindir=/Users/andreichichak/development/rtems/4.11/bin' '--exec-prefix=/Users/andreichichak/development/rtems/4.11' '--includedir=/Users/andreichichak/development/rtems/4.11/include' '--libdir=/Users/andreichichak/development/rtems/4.11/lib' '--mandir=/Users/andreichichak/development/rtems/4.11/share/man' '--infodir=/Users/andreichichak/development/rtems/4.11/share/info' '--program-transform-name=s&^&arm-rtems4.11-&' '--build=x86_64-apple-darwin14.0.0' '--host=x86_64-apple-darwin14.0.0' '--target=arm-rtems4.11' 'build_alias=x86_64-apple-darwin14.0.0' 'host_alias=x86_64-apple-darwin14.0.0' 'target_alias=arm-rtems4.11' 'CC=/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/include' 'CFLAGS=-g -O2' 'LDFLAGS= -Wl,-no_pie -L/Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-andreichichak/4.11/rtems-arm/Users/andreichichak/development/rtems/4.11/lib' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=./config.cache --srcdir=../../../gdb-7.8.1/gdb/gnulib
configure: creating cache ./config.cache
dot dot dot
checking for shared library run path origin… done
checking for libexpat... yes
checking how to link with libexpat... -L/Users/andreichichak/development/rtems/4.11/lib -lexpat
checking for XML_StopParser... yes
checking whether to use python... yes
checking for python... /Library/Frameworks/Python.framework/Versions/2.7/bin/python
checking for python2.7... no
configure: error: python is missing or unusable
make[1]: *** [configure-gdb] Error 1
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/doit
error: building arm-rtems4.11-gdb-7.8.1-1
See error report: rsb-report-arm-rtems4.11-gdb-7.8.1-1.txt
Build Set: Time 1:00:56.329867
Final rsb-report-arm-rtems4.11-gdb-7.8.1-1.txt fragment:
checking for XML_StopParser... yes
checking whether to use python... yes
checking for python... /Library/Frameworks/Python.framework/Versions/2.7/bin/python
checking for python2.7... no
configure: error: python is missing or unusable
make[1]: *** [configure-gdb] Error 1
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /Users/andreichichak/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.8.1-1/doit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20150108/f5fdbb3e/attachment.html>
More information about the users
mailing list