Skip to content

Instantly share code, notes, and snippets.

@netskink
Last active April 13, 2016 14:33
Show Gist options
  • Save netskink/90135d8774ac1548d3b14eeaed0e2514 to your computer and use it in GitHub Desktop.
Save netskink/90135d8774ac1548d3b14eeaed0e2514 to your computer and use it in GitHub Desktop.
poky git with branch jethro. Build failure of uboot
#!/bin/sh
# Emit a useful diagnostic if something fails:
bb_exit_handler() {
ret=$?
case $ret in
0) ;;
*) case $BASH_VERSION in
"") echo "WARNING: exit code $ret from a shell command.";;
*) echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from
"$BASH_COMMAND"";;
esac
exit $ret
esac
}
trap 'bb_exit_handler' 0
set -e
export prefix="/usr"
export STRIP="arm-poky-linux-gnueabi-strip"
export localstatedir="/var"
export USER="davis"
export libexecdir="/usr/lib/u-boot-stream800"
export datadir="/usr/share"
export BUILD_CXX="g++ "
export LD="arm-poky-linux-gnueabi-ld --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz "
export bindir="/usr/bin"
export TARGET_CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export includedir="/usr/include"
export BUILD_CC="gcc "
export BUILD_LDFLAGS="-L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1"
unset TARGET_ARCH
export STRINGS="arm-poky-linux-gnueabi-strings"
export CCACHE_DIR="/home/davis"
export BUILD_LD="ld "
export oldincludedir="/usr/include"
export BUILD_CCLD="gcc "
export BUILD_CFLAGS="-isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export docdir="/usr/share/doc"
export infodir="/usr/share/info"
export CC="arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export TERM="xterm"
export RANLIB="arm-poky-linux-gnueabi-ranlib"
export CPPFLAGS=""
export base_sbindir="/sbin"
export CXX="arm-poky-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export systemd_unitdir="/lib/systemd"
export FC="arm-poky-linux-gnueabi-gfortran -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export BUILD_RANLIB="ranlib"
export BUILD_FC="gfortran "
export BUILD_NM="nm"
export AS="arm-poky-linux-gnueabi-as "
export AR="arm-poky-linux-gnueabi-ar"
export BUILD_CPPFLAGS="-isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include"
export BUILD_AR="ar"
export CPP="arm-poky-linux-gnueabi-gcc -E --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8"
export mandir="/usr/share/man"
export sharedstatedir="/com"
export PKG_CONFIG_SYSROOT_DIR="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export BUILD_CXXFLAGS="-isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export OBJCOPY="arm-poky-linux-gnueabi-objcopy"
export CCACHE_DISABLE="1"
export servicedir="/srv"
export PKG_CONFIG_PATH="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/lib/pkgconfig:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/share/pkgconfig"
export HOME="/home/davis"
export LC_ALL="C"
export TARGET_CPPFLAGS=""
export PKG_CONFIG_DIR="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/lib/pkgconfig"
export LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
export sysconfdir="/etc"
export CCLD="arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export nonarch_libdir="/usr/lib"
export base_libdir="/lib"
export MAKE="make"
export LOGNAME="davis"
export PATH="/home/davis/progs/tiotop/stream/unpack/packages/src/build/poky-jethro-14.0.1/scripts:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/bin/crossscripts:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/sbin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/bin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/sbin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/bin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/poky-jethro-14.0.1/scripts:/home/davis/progs/tiotop/stream/unpack/packages/src/build/poky-jethro-14.0.1/bitbake/bin:/home/davis/bin:/home/davis/idea-IC-141.1532.4/bin:/home/davis/bin:/home/davis/bin:/home/davis/idea-IC-141.1532.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin"
export TARGET_CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export base_bindir="/bin"
export PKG_CONFIG_LIBDIR="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/lib/pkgconfig"
unset MACHINE
export sbindir="/usr/sbin"
export CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export BUILD_AS="as "
export OBJDUMP="arm-poky-linux-gnueabi-objdump"
unset DISTRO
export systemd_system_unitdir="/lib/systemd/system"
export exec_prefix="/usr"
export TARGET_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export libdir="/usr/lib"
export nonarch_base_libdir="/lib"
export PSEUDO_DISABLED="1"
export PSEUDO_UNLOAD="1"
unset SHELL
export BUILD_CPP="gcc -E"
export systemd_user_unitdir="/usr/lib/systemd/user"
export PATCH_GET="0"
export CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden"
export NM="arm-poky-linux-gnueabi-nm"
export base_prefix=""
export BUILD_STRIP="strip"
do_compile() {
if [ "" = "ld-is-gold" ] ; then
sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' config.mk
fi
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
if [ ! -e /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/.scmversion -a ! -e /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/.scmversion ]
then
echo > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/.scmversion
echo > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/.scmversion
fi
if [ "x${UBOOT_CONFIG}" != "x" ]
then
for config in stream800_config; do
i=`expr $i + 1`;
for type in ${UBOOT_CONFIG}; do
j=`expr $j + 1`;
if [ $j -eq $i ]
then
oe_runmake O=${config} ${config}
oe_runmake O=${config} all
cp /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/${config}/u-boot.img /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/${config}/u-boot-${type}.bin
fi
done
unset j
done
unset i
else
oe_runmake stream800_config
oe_runmake all
fi
}
oe_runmake() {
oe_runmake_call "$@" || die "oe_runmake failed"
}
die() {
bbfatal_log "$*"
}
oe_runmake_call() {
bbnote make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC="arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz" V=1 HOSTCC="gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1" "$@"
make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC="arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz" V=1 HOSTCC="gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1" "$@"
}
bbfatal_log() {
if [ -p /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4882 ] ; then
printf "%b\0" "bbfatal_log $*" > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4882
else
echo "ERROR: $*"
fi
exit 1
}
bbnote() {
if [ -p /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4882 ] ; then
printf "%b\0" "bbnote $*" > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4882
else
echo "NOTE: $*"
fi
}
cd '/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04'
do_compile
# cleanup
ret=$?
trap '' 0
exit $ret
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/log.do_compile.4882)
ERROR: Logfile of failure stored in: /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/log.do_compile.4882
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz V=1 HOSTCC=gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 stream800_config
| Configuring for stream800 - Board: stream800, Options: SERIAL1,CONS_INDEX=1
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz V=1 HOSTCC=gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 all
| arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -x c -DDO_DEPS_ONLY -M -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -D__KERNEL__ -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -nostdinc -isystem /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.3/include -MQ include/autoconf.mk /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/include/common.h > include/autoconf.mk.dep || rm include/autoconf.mk.dep
< stuff deleted>
TR(asm_offsets)" -fverbose-asm -S -o lib/asm-offsets.s lib/asm-offsets.c
| mkdir -p include/generated/
| (set -e; echo "#ifndef __GENERIC_ASM_OFFSETS_H__"; echo "#define __GENERIC_ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" lib/asm-offsets.s; echo ""; echo "#endif" ) > include/generated/generic-asm-offsets.h
| mkdir -p arch/arm/lib/
| arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -Wp,-MD,arch/arm/lib/.asm-offsets.s.d -nostdinc -isystem /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.3/include -Iinclude -I/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -DDO_DEPS_ONLY -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/arm/lib/asm-offsets.s arch/arm/lib/asm-offsets.c
| (set -e; echo "#ifndef __ASM_OFFSETS_H__"; echo "#define __ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" arch/arm/lib/asm-offsets.s; echo ""; echo "#endif" ) > include/generated/asm-offsets.h
| make -f scripts/Makefile.build obj=tools
| make -f scripts/Makefile.build obj=tools/env
| gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -idirafterinclude -idirafter/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -idirafter /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env -DUSE_HOSTCC -DTEXT_BASE= -o tools/env/fw_printenv_host /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/*.c
| /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:48:2: error: unknown type name 'uint8_t'
| uint8_t mtd_type; /* type of the MTD device */
| ^
| /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:73:2: error: unknown type name 'uint32_t'
| uint32_t crc; /* CRC32 over data bytes */
| ^
| /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:78:2: error: unknown type name 'uint32_t'
| uint32_t crc; /* CRC32 over data bytes */
| ^
<stuff deleted>
| In file included from /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:32:0:
| /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.h:66:23: note: declared here
| extern unsigned long crc32 (unsigned long, const unsigned char *, unsigned);
| ^
| /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/Makefile:31: recipe for target 'tools/env/fw_printenv_host' failed
| make[2]: *** [tools/env/fw_printenv_host] Error 1
| scripts/Makefile.build:482: recipe for target 'tools/env' failed
| make[1]: *** [tools/env] Error 2
| Makefile:943: recipe for target 'tools' failed
| make: *** [tools] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/log.do_compile.4882)
ERROR: Task 70 (/home/davis/progs/tiotop/stream/unpack/packages/src/build/Stream800-setup/meta-stream800/recipes-bsp/u-boot/u-boot-stream800_2014.04.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2052 tasks of which 22 didn't need to be rerun and 1 failed.
No currently running tasks (2052 of 3371)
Summary: 1 task failed:
/home/davis/progs/tiotop/stream/unpack/packages/src/build/Stream800-setup/meta-stream800/recipes-bsp/u-boot/u-boot-stream800_2014.04.bb, do_compile
Summary: There were 45 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
<unix prompt>
DEBUG: Executing shell function do_compile
NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz V=1 HOSTCC=gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 stream800_config
Configuring for stream800 - Board: stream800, Options: SERIAL1,CONS_INDEX=1
NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz V=1 HOSTCC=gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 all
arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -x c -DDO_DEPS_ONLY -M -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -D__KERNEL__ -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -nostdinc -isystem /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.3/include -MQ include/autoconf.mk /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/include/common.h > include/autoconf.mk.dep || rm include/autoconf.mk.dep
arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -D__KERNEL__ -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -nostdinc -isystem /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.3/include -DDO_DEPS_ONLY -dM /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/include/common.h > include/autoconf.mk.tmp && sed -n -f /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/scripts/define2mk.sed include/autoconf.mk.tmp > include/autoconf.mk; rm include/autoconf.mk.tmp
set -e; : ' CHK include/config/uboot.release'; mkdir -p include/config/; echo "2014.04$(/bin/sh /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/scripts/setlocalversion /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04)" < Makefile > include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] && cmp -s include/config/uboot.release include/config/uboot.release.tmp; then rm -f include/config/uboot.release.tmp; else : ' UPD include/config/uboot.release'; mv -f include/config/uboot.release.tmp include/config/uboot.release; fi
set -e; : ' CHK include/generated/version_autogenerated.h'; mkdir -p include/generated/; (echo \#define PLAIN_VERSION \"2014.04\"; echo \#define U_BOOT_VERSION \"U-Boot \" PLAIN_VERSION; echo \#define CC_VERSION_STRING \"$(arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz --version | head -n 1)\"; echo \#define LD_VERSION_STRING \"$(arm-poky-linux-gnueabi-ld.bfd --version | head -n 1)\"; ) < include/config/uboot.release > include/generated/version_autogenerated.h.tmp; if [ -r include/generated/version_autogenerated.h ] && cmp -s include/generated/version_autogenerated.h include/generated/version_autogenerated.h.tmp; then rm -f include/generated/version_autogenerated.h.tmp; else : ' UPD include/generated/version_autogenerated.h'; mv -f include/generated/version_autogenerated.h.tmp include/generated/version_autogenerated.h; fi
set -e; : ' CHK include/generated/timestamp_autogenerated.h'; mkdir -p include/generated/; (LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'; LC_ALL=C date +'#define U_BOOT_TIME "%T"') < /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/Makefile > include/generated/timestamp_autogenerated.h.tmp; if [ -r include/generated/timestamp_autogenerated.h ] && cmp -s include/generated/timestamp_autogenerated.h include/generated/timestamp_autogenerated.h.tmp; then rm -f include/generated/timestamp_autogenerated.h.tmp; else : ' UPD include/generated/timestamp_autogenerated.h'; mv -f include/generated/timestamp_autogenerated.h.tmp include/generated/timestamp_autogenerated.h; fi
make -f scripts/Makefile.build obj=scripts/basic
gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
rm -f .tmp_quiet_recordmcount
make -f scripts/Makefile.build obj=.
mkdir -p lib/
arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -Wp,-MD,lib/.asm-offsets.s.d -nostdinc -isystem /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.3/include -Iinclude -I/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -DDO_DEPS_ONLY -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o lib/asm-offsets.s lib/asm-offsets.c
mkdir -p include/generated/
(set -e; echo "#ifndef __GENERIC_ASM_OFFSETS_H__"; echo "#define __GENERIC_ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" lib/asm-offsets.s; echo ""; echo "#endif" ) > include/generated/generic-asm-offsets.h
mkdir -p arch/arm/lib/
arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -Wp,-MD,arch/arm/lib/.asm-offsets.s.d -nostdinc -isystem /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.3/include -Iinclude -I/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80800000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -march=armv7-a -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -DDO_DEPS_ONLY -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/arm/lib/asm-offsets.s arch/arm/lib/asm-offsets.c
(set -e; echo "#ifndef __ASM_OFFSETS_H__"; echo "#define __ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" arch/arm/lib/asm-offsets.s; echo ""; echo "#endif" ) > include/generated/asm-offsets.h
make -f scripts/Makefile.build obj=tools
make -f scripts/Makefile.build obj=tools/env
gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -idirafterinclude -idirafter/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/arch/arm/include -idirafter /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env -DUSE_HOSTCC -DTEXT_BASE= -o tools/env/fw_printenv_host /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/*.c
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:48:2: error: unknown type name 'uint8_t'
uint8_t mtd_type; /* type of the MTD device */
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:73:2: error: unknown type name 'uint32_t'
uint32_t crc; /* CRC32 over data bytes */
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:78:2: error: unknown type name 'uint32_t'
uint32_t crc; /* CRC32 over data bytes */
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:91:2: error: unknown type name 'uint32_t'
uint32_t *crc;
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c: In function 'fw_env_close':
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:322:31: error: 'uint8_t' undeclared (first use in this function)
*environment.crc = crc32(0, (uint8_t *) environment.data, ENV_SIZE);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:322:31: note: each undeclared identifier is reported only once for each function it appears in
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:322:40: error: expected expression before ')' token
*environment.crc = crc32(0, (uint8_t *) environment.data, ENV_SIZE);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:322:21: error: too few arguments to function 'crc32'
*environment.crc = crc32(0, (uint8_t *) environment.data, ENV_SIZE);
^
In file included from /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:32:0:
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.h:66:23: note: declared here
extern unsigned long crc32 (unsigned long, const unsigned char *, unsigned);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c: At top level:
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:642:37: error: unknown type name 'uint8_t'
static int flash_bad_block (int fd, uint8_t mtd_type, loff_t *blockstart)
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:670:21: error: unknown type name 'uint8_t'
off_t offset, uint8_t mtd_type)
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:759:22: error: unknown type name 'uint8_t'
off_t offset, uint8_t mtd_type)
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c: In function 'flash_write':
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:976:7: warning: implicit declaration of function 'flash_write_buf' [-Wimplicit-function-declaration]
rc = flash_write_buf(dev_target, fd_target, environment.image,
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c: In function 'flash_read':
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:1032:7: warning: implicit declaration of function 'flash_read_buf' [-Wimplicit-function-declaration]
rc = flash_read_buf(dev_current, fd, environment.image, CUR_ENVSIZE,
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c: In function 'fw_env_open':
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:1161:20: error: 'uint8_t' undeclared (first use in this function)
crc0 = crc32 (0, (uint8_t *) environment.data, ENV_SIZE);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:1161:29: error: expected expression before ')' token
crc0 = crc32 (0, (uint8_t *) environment.data, ENV_SIZE);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:1161:9: error: too few arguments to function 'crc32'
crc0 = crc32 (0, (uint8_t *) environment.data, ENV_SIZE);
^
In file included from /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:32:0:
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.h:66:23: note: declared here
extern unsigned long crc32 (unsigned long, const unsigned char *, unsigned);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:1214:30: error: expected expression before ')' token
crc1 = crc32 (0, (uint8_t *) redundant->data, ENV_SIZE);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:1214:10: error: too few arguments to function 'crc32'
crc1 = crc32 (0, (uint8_t *) redundant->data, ENV_SIZE);
^
In file included from /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.c:32:0:
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/fw_env.h:66:23: note: declared here
extern unsigned long crc32 (unsigned long, const unsigned char *, unsigned);
^
/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04/tools/env/Makefile:31: recipe for target 'tools/env/fw_printenv_host' failed
make[2]: *** [tools/env/fw_printenv_host] Error 1
scripts/Makefile.build:482: recipe for target 'tools/env' failed
make[1]: *** [tools/env] Error 2
Makefile:943: recipe for target 'tools' failed
make: *** [tools] Error 2
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/log.do_compile.4882)
#!/bin/sh
# Emit a useful diagnostic if something fails:
bb_exit_handler() {
ret=$?
case $ret in
0) ;;
*) case $BASH_VERSION in
"") echo "WARNING: exit code $ret from a shell command.";;
*) echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from
"$BASH_COMMAND"";;
esac
exit $ret
esac
}
trap 'bb_exit_handler' 0
set -e
export prefix="/usr"
export STRIP="arm-poky-linux-gnueabi-strip"
export localstatedir="/var"
export USER="davis"
export libexecdir="/usr/lib/u-boot-stream800"
export datadir="/usr/share"
export BUILD_CXX="g++ "
export LD="arm-poky-linux-gnueabi-ld --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz "
export bindir="/usr/bin"
export TARGET_CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export includedir="/usr/include"
export BUILD_CC="gcc "
export BUILD_LDFLAGS="-L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1"
unset TARGET_ARCH
export STRINGS="arm-poky-linux-gnueabi-strings"
export CCACHE_DIR="/home/davis"
export BUILD_LD="ld "
export oldincludedir="/usr/include"
export BUILD_CCLD="gcc "
export BUILD_CFLAGS="-isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export docdir="/usr/share/doc"
export infodir="/usr/share/info"
export CC="arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export TERM="xterm"
export RANLIB="arm-poky-linux-gnueabi-ranlib"
export CPPFLAGS=""
export base_sbindir="/sbin"
export CXX="arm-poky-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export systemd_unitdir="/lib/systemd"
export FC="arm-poky-linux-gnueabi-gfortran -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export BUILD_RANLIB="ranlib"
export BUILD_FC="gfortran "
export BUILD_NM="nm"
export AS="arm-poky-linux-gnueabi-as "
export AR="arm-poky-linux-gnueabi-ar"
export BUILD_CPPFLAGS="-isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include"
export BUILD_AR="ar"
export CPP="arm-poky-linux-gnueabi-gcc -E --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8"
export mandir="/usr/share/man"
export sharedstatedir="/com"
export PKG_CONFIG_SYSROOT_DIR="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export BUILD_CXXFLAGS="-isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export OBJCOPY="arm-poky-linux-gnueabi-objcopy"
export CCACHE_DISABLE="1"
export servicedir="/srv"
export PKG_CONFIG_PATH="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/lib/pkgconfig:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/share/pkgconfig"
export HOME="/home/davis"
export LC_ALL="C"
export TARGET_CPPFLAGS=""
export PKG_CONFIG_DIR="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/lib/pkgconfig"
export LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
export sysconfdir="/etc"
export CCLD="arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz"
export nonarch_libdir="/usr/lib"
export base_libdir="/lib"
export MAKE="make"
export LOGNAME="davis"
export PATH="/home/davis/progs/tiotop/stream/unpack/packages/src/build/poky-jethro-14.0.1/scripts:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/bin/crossscripts:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/sbin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/bin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/sbin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/bin:/home/davis/progs/tiotop/stream/unpack/packages/src/build/poky-jethro-14.0.1/scripts:/home/davis/progs/tiotop/stream/unpack/packages/src/build/poky-jethro-14.0.1/bitbake/bin:/home/davis/bin:/home/davis/idea-IC-141.1532.4/bin:/home/davis/bin:/home/davis/bin:/home/davis/idea-IC-141.1532.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin"
export TARGET_CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export base_bindir="/bin"
export PKG_CONFIG_LIBDIR="/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz/usr/lib/pkgconfig"
unset MACHINE
export sbindir="/usr/sbin"
export CFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types"
export BUILD_AS="as "
export OBJDUMP="arm-poky-linux-gnueabi-objdump"
unset DISTRO
export systemd_system_unitdir="/lib/systemd/system"
export exec_prefix="/usr"
export TARGET_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export libdir="/usr/lib"
export nonarch_base_libdir="/lib"
export PSEUDO_DISABLED="1"
export PSEUDO_UNLOAD="1"
unset SHELL
export BUILD_CPP="gcc -E"
export systemd_user_unitdir="/usr/lib/systemd/user"
export PATCH_GET="0"
export CXXFLAGS=" -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden"
export NM="arm-poky-linux-gnueabi-nm"
export base_prefix=""
export BUILD_STRIP="strip"
do_configure() {
base_do_configure
}
base_do_configure() {
if [ -n "/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/configure.sstate" -a -e "/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/configure.sstate" ]; then
if [ "`cat /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/configure.sstate`" != "3bd2003b5f677629e23f6f5d7f90a3bb" ]; then
cd /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04
if [ "0" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
oe_runmake clean
fi
find /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04 -ignore_readdir_race -name \*.la -delete
fi
fi
if [ -n "/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/configure.sstate" ]; then
echo 3bd2003b5f677629e23f6f5d7f90a3bb > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/configure.sstate
fi
}
oe_runmake() {
oe_runmake_call "$@" || die "oe_runmake failed"
}
die() {
bbfatal_log "$*"
}
oe_runmake_call() {
bbnote make CROSS_COMPILE=arm-poky-linux-gnueabi- CC="arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz" V=1 HOSTCC="gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1" "$@"
make CROSS_COMPILE=arm-poky-linux-gnueabi- CC="arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz" V=1 HOSTCC="gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages
-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1" "$@"
make CROSS_COMPILE=arm-poky-linux-gnueabi- CC="arm-poky-linux-gnueabi-gcc --sysroot=/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/anuvaaz" V=1 HOSTCC="gcc -isystem/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -L/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/sysroots/x86_64-linux/lib -Wl,-O1" "$@"
}
bbfatal_log() {
if [ -p /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4865 ] ; then
printf "%b\0" "bbfatal_log $*" > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4865
else
echo "ERROR: $*"
fi
exit 1
}
bbnote() {
if [ -p /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4865 ] ; then
printf "%b\0" "bbnote $*" > /home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/temp/fifo.4865
else
echo "NOTE: $*"
fi
}
cd '/home/davis/progs/tiotop/stream/unpack/packages/src/build/.build-yocto/tmp/work/anuvaaz-poky-linux-gnueabi/u-boot-stream800/2014.04-r20/u-boot-2014.04'
do_configure
# cleanup
ret=$?
trap '' 0
exit $ret