[meta-intel] ExpansionError during parsing linux-yocto-quark_3.14.bb

vamsi krishna gattupalli vamsi.gattupalli at gmail.com
Fri Apr 1 07:10:11 PDT 2016


Hi

Can anyone help me in fixing this issue.

*ERROR: ExpansionError during parsing
/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/meta-intel-quark/recipes-kernel/linux/linux-yocto-quark_3.14.bb
<http://linux-yocto-quark_3.14.bb>: Failure expanding variable do_patch:
ExpansionError: Failure expanding variable do_patch, expression was cd
/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/linux*
export KMETA=${KMETA}

# if kernel tools are available in-tree, they are preferred
# and are placed on the path before any external tools. Unless
# the external tools flag is set, in that case we do nothing.
if [ -f
"/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/linux/scripts/util/configme"
]; then
if [ -z "${EXTERNAL_KERNEL_TOOLS}" ]; then
PATH=/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/linux/scripts/util:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/scripts:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/sysroots/quark/usr/bin/crossscripts:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/sysroots/x86_64-linux/usr/bin:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/sysroots/x86_64-linux/sbin:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/sysroots/x86_64-linux/bin:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/scripts:/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
fi
fi

machine_branch="${@ get_machine_branch(d, "master" )}"
machine_srcrev="AUTOINC"
if [ -z "${machine_srcrev}" ]; then
# fallback to SRCREV if a non machine_meta tree is being built
machine_srcrev="AUTOINC"
fi

# if we have a defined/set meta branch we should not be generating
# any meta data. The passed branch has what we need.
if [ -n "${KMETA}" ]; then
createme_flags="--disable-meta-gen --meta ${KMETA}"
fi

createme ${createme_flags} x86 ${machine_branch}
if [ $? -ne 0 ]; then
bbfatal "Could not create ${machine_branch}"
fi

sccs="${@" ".join(find_sccs(d))}"
patches="${@" ".join(find_patches(d))}"
feat_dirs="${@" ".join(find_kernel_feature_dirs(d))}"

set +e
# add any explicitly referenced features onto the end of the feature
# list that is passed to the kernel build scripts.
if [ -n "${KERNEL_FEATURES}" ]; then
for feat in ${KERNEL_FEATURES}; do
addon_features="$addon_features --feature $feat"
done
fi

# check for feature directories/repos/branches that were part of the
# SRC_URI. If they were supplied, we convert them into include directives
# for the update part of the process
if [ -n "${feat_dirs}" ]; then
   for f in ${feat_dirs}; do
if [ -d
"/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/$f/meta"
]; then
   includes="$includes
-I/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/$f/meta"
elif [ -d
"/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/$f"
]; then
   includes="$includes
-I/home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/build/tmp/work/quark-poky-linux/linux-yocto-quark/3.14-r0/$f"
fi
   done
fi

# updates or generates the target description
updateme ${updateme_flags} -DKDESC=quark:standard \
                         ${includes} ${addon_features} x86 quark ${sccs}
${patches}
if [ $? -ne 0 ]; then
bbfatal "Could not update ${machine_branch}"
fi

# executes and modifies the source tree as required
patchme quark
if [ $? -ne 0 ]; then
bberror "Could not apply patches for quark."
bbfatal "Patch failures can be resolved in the devshell (bitbake -c
devshell linux-yocto-quark)"
fi

# check to see if the specified SRCREV is reachable from the final branch.
# if it wasn't something wrong has happened, and we should error.
if [ "${machine_srcrev}" != "AUTOINC" ]; then
if ! [ "$(git rev-parse --verify ${machine_srcrev})" = "$(git merge-base
${machine_srcrev} HEAD)" ]; then
bberror "SRCREV ${machine_srcrev} was specified, but is not reachable"
bbfatal "Check the BSP description for incorrect branch selection, or other
errors."
fi
fi
 which triggered exception FetchError: Fetcher failure for URL:
'git:///home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/repo-ext/linux-stable;protocol=file;bareclone=1;branch='.
The command git -c core.fsyncobjectfiles=0 ls-remote
file:///home/priya/Desktop/priya/yocto_BSP/Board_Support_Package_Sources_for_Intel_Quark_v1.2.0/meta-clanton_v1.2.0/repo-ext/linux-stable
refs/heads/ refs/tags/^{} gave empty output unexpectedly

Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Thanks
Vamsi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20160401/4e1e4e28/attachment-0001.html>


More information about the meta-intel mailing list