Tool/software:
Hi,
I'm trying to upgrade our build as far as I can, for the DM3730 - we need it to support some better versions of display packages which aren't compatible with GCC version and kernel in the SDK. A former colleague worked on getting it to build in Poky with Fido, and I started investigating moving to Arago to have better integration with the TI system and current documentation (and to have a common build system of our other board, which never had to go that low/old of a release), as we want to support some better packages on the device. I ended up getting some toolchain errors, even when I'm following the Arago/TI tutorial https://lists.yoctoproject.org/g/meta-arago/wiki/29503#Cross-compile_toolchain. I have downloaded the arago-2011.08/armv7a and arm5te toolchains and added them to the path, just to cover my bases: `PATH=$HOME/tisdk/sources/oe-core/scripts:$HOME/arago-2011.09/armv5te::$HOME/arago-2011.09/armv7a:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin`. I currently have a minimal 12.04 Dockerfile setup as below, and have set up with `./oe-layertool-setup.sh -f configs/arago-fido-config.txt`.
I know it's not super related to the processor yet and is more of a general "arago" question, but I am really not sure of what's going on, since this is failing the basic setup steps. Is there something silly about my setup? Or are releases that old broken? Should I be continuing on Poky to newer releases? I am still deep in the learning phase so I'm still trying to figure out the best path forward especially when old wikis are no longer published. (http://arago-project.org/wiki).
# WARNING: This script should NEVER BE RUN WITH A DOCKER THAT ISN'T ROOTLESS! # Use Ubuntu as the base layer. # Set up environment variables for: RUN sed -i s/archive/old-releases/g etc/apt/sources.list RUN apt-get update -y && apt-get upgrade -y
RUN echo "dash dash/sh boolean false" | debconf-set-selections && \ # Define the default container command, which is to open a bash shell. |
$HOME/arago-2011.09/armv5te: $HOME/arago-2011.09/armv7a: |
$USER@CONTAINER:~/tisdk/build$ export PATH=$HOME/arago-2011.09/armv7a/bin:$HOME/arago-2011.09/armv5te:$PATH
$USER@CONTAINER:~/tisdk/build$ source conf/setenv
$USER@CONTAINER:~/tisdk/build$ bitbake ...
ERROR: No valid toolchain in PATH
ERROR: Traceback (most recent call last):
File "$HOME/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 175, in wrapped
return func(fn, *args)
File "$HOME/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 185, in parse_config_file
return bb.parse.handle(fn, data, include)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 149, in handle
statements.eval(data)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/ast.py", line 39, in eval
statement.eval(data)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/ast.py", line 63, in eval
bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, False)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 95, in include
ret = bb.parse.handle(fn, data, True)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 149, in handle
statements.eval(data)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/ast.py", line 39, in eval
statement.eval(data)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/ast.py", line 61, in eval
bb.parse.ConfHandler.include(self.filename, s, self.lineno, data, "include required")
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 95, in include
ret = bb.parse.handle(fn, data, True)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 156, in handle
statements.eval(d)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/ast.py", line 39, in eval
statement.eval(data)
File "$HOME/tisdk/sources/bitbake/lib/bb/parse/ast.py", line 111, in eval
val = e.expand(groupd["value"], key + "[:=]")
File "$HOME/tisdk/sources/bitbake/lib/bb/data_smart.py", line 355, in expand
return self.expandWithRefs(s, varname).value
File "$HOME/tisdk/sources/bitbake/lib/bb/data_smart.py", line 345, in expandWithRefs
raise ExpansionError(varname, s, exc)
ExpansionError: Failure expanding variable TOOLCHAIN_PATH[:=], expression was ${@bool(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and (os.path.exists(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and os.path.dirname(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) or bb.fatal('No valid toolchain in PATH')) or ''} which triggered exception BBHandledException:
ERROR: Unable to parse conf/bitbake.conf: Failure expanding variable TOOLCHAIN_PATH[:=], expression was ${@bool(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and (os.path.exists(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and os.path.dirname(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) or bb.fatal('No valid toolchain in PATH')) or ''} which triggered exception BBHandledException:
$USER@CONTAINER:~/tisdk/build$
USER@CONTAINER:~/tisdk/build$ arm-arago-linux-gnueabi-gcc --version
arm-arago-linux-gnueabi-gcc (GCC) 4.5.3 20110311 (prerelease)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|