<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1448304459951_2690"><span class="" id="yui_3_16_0_1_1448304459951_3035">Hello Paul,<br class="" id="yui_3_16_0_1_1448304459951_2984">Thanks for your quick rely.<br class="" id="yui_3_16_0_1_1448304459951_2986"><br class="" id="yui_3_16_0_1_1448304459951_2988">Yes, I am running "ubuntu 12.04 x86_64".<br class="" id="yui_3_16_0_1_1448304459951_2990"><br class="" id="yui_3_16_0_1_1448304459951_2992">In a shell before or after </span><span class="" id="yui_3_16_0_1_1448304459951_3035">running </span><span class="" id="yui_3_16_0_1_1448304459951_3035"><span class="" id="yui_3_16_0_1_1448304459951_3035"> ". oe-init-build-env" </span>either of these 2 commands below </span><span id="yui_3_16_0_1_1448304459951_3035"><span class="" id="yui_3_16_0_1_1448304459951_3035">work okay.</span></span></div><div id="yui_3_16_0_1_1448304459951_3277" dir="ltr"><span id="yui_3_16_0_1_1448304459951_3035"><span class="" id="yui_3_16_0_1_1448304459951_3035"></span>"source /opt/Xilinx/14.6/ISE_DS/settings64.sh" or ". /opt/Xilinx/14.6/ISE_DS/settings64.sh"<br class="" id="yui_3_16_0_1_1448304459951_2996"></span></div><div id="yui_3_16_0_1_1448304459951_3341" dir="ltr"><span id="yui_3_16_0_1_1448304459951_3035"><br></span></div><div id="yui_3_16_0_1_1448304459951_3459" dir="ltr"><span id="yui_3_16_0_1_1448304459951_3035">I am able to run (Xilinx Platform Studio) "xps" okay. <br class="" id="yui_3_16_0_1_1448304459951_3000"><br class="" id="yui_3_16_0_1_1448304459951_3002">I replaced 4 of source cmds with '.'<br class="" id="yui_3_16_0_1_1448304459951_3004"><br class="" id="yui_3_16_0_1_1448304459951_3006">Now I get the following error when I execute "bitbake fpga-image-adi"<br class="" id="yui_3_16_0_1_1448304459951_3008"> <br class="" id="yui_3_16_0_1_1448304459951_3010">ERROR: Function failed: do_compile (log file is located at /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/log.do_compile.12830)<br class="" id="yui_3_16_0_1_1448304459951_3012">ERROR: Logfile of failure stored in: /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/log.do_compile.12830<br class="" id="yui_3_16_0_1_1448304459951_3014">Log data follows:<br class="" id="yui_3_16_0_1_1448304459951_3016">| DEBUG: Executing shell function do_compile<br class="" id="yui_3_16_0_1_1448304459951_3018">| /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.12830: 12: [: /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.12830: unexpected operator<br class="" id="yui_3_16_0_1_1448304459951_3020">| . /opt/Xilinx/14.6/ISE_DS/common/.settings64.sh /opt/Xilinx/14.6/ISE_DS/common<br class="" id="yui_3_16_0_1_1448304459951_3022">| . /opt/Xilinx/14.6/ISE_DS/EDK/.settings64.sh /opt/Xilinx/14.6/ISE_DS/EDK<br class="" id="yui_3_16_0_1_1448304459951_3024">| . /opt/Xilinx/14.6/ISE_DS/PlanAhead/.settings64.sh /opt/Xilinx/14.6/ISE_DS/PlanAhead<br class="" id="yui_3_16_0_1_1448304459951_3026">| . /opt/Xilinx/14.6/ISE_DS/ISE/.settings64.sh /opt/Xilinx/14.6/ISE_DS/ISE<br class="" id="yui_3_16_0_1_1448304459951_3028">| /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.12830: 113: /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.12830: xps: not found<br class="" id="yui_3_16_0_1_1448304459951_3030">| WARNING: exit code 127 from a shell command.<br class="" id="yui_3_16_0_1_1448304459951_3032">| ERROR: Function failed: do_compile (log file is located at /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/log.do_compile.12830)<br class="" id="yui_3_16_0_1_1448304459951_3034">ERROR: Task 6 (/home/vidal/POKY/dora_build/poky/meta-topic/recipes-bsp/fpga/fpga-image-adi.bb, do_compile) failed with exit code '1'</span></div><div id="yui_3_16_0_1_1448304459951_2882"><div id="yui_3_16_0_1_1448304459951_3520"> </div><div id="yui_3_16_0_1_1448304459951_3521">What is the unexpected operator?</div><div dir="ltr" id="yui_3_16_0_1_1448304459951_3543">I am attaching the log file. <br></div><div id="yui_3_16_0_1_1448304459951_3742" dir="ltr">Thanks in advance for any and all help.</div><div id="yui_3_16_0_1_1448304459951_3743" dir="ltr">Regards,<br></div><div id="yui_3_16_0_1_1448304459951_3698"><br></div><div id="yui_3_16_0_1_1448304459951_3697"><br></div></div><div id="yui_3_16_0_1_1448304459951_2881" class="signature">Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613</div> <br><div id="yui_3_16_0_1_1448304459951_2880" class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_1_1448304459951_2721" class="yahoo_quoted"> <div id="yui_3_16_0_1_1448304459951_2720" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1448304459951_2719" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1448304459951_2718" dir="ltr"><font id="yui_3_16_0_1_1448304459951_2717" face="Arial" size="2"> On Sunday, November 22, 2015 3:35 PM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:<br></font></div> <br><br> <div id="yui_3_16_0_1_1448304459951_2722" class="y_msg_container">Hi Edward,<br clear="none"><div class="yqt7385491398" id="yqtfd29738"><br clear="none">On Sunday 22 November 2015 13:25:21 Edward Vidal wrote:<br clear="none">> Hi all,I am trying to use run the bitbake on a recipe that in the<br clear="none">> do_compile uses the unix command source.This is the error that I am<br clear="none">> getting. Log data follows:| DEBUG: Executing shell function do_compile<br clear="none">> <br clear="none">> | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueab<br clear="none">> | i/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.25492: 112:<br clear="none">> | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnuea<br clear="none">> | bi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.25492:<br clear="none">> | source: not found WARNING: exit code 127 from a shell command.<br clear="none">> | ERROR: Function failed: do_compile (log file is located at<br clear="none">> | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnuea<br clear="none">> | bi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/log.do_compile.25492)At<br clear="none">> | github I have the original inc file that is used by the recipe<br clear="none">> | fpga-image-adi.bb<br clear="none">> 87a75850b6f36bf1f09ac0f071587629ba630c1ehttps://github.com/develone/zedboard<br clear="none">> _yocto/commits/master/fpga-image.inc I made some changes which allows me to <br clear="none">> manually run the Xilinx commands and then re-run the bitbake<br clear="none">> fpga-image-adithe version e199e9ce0806dc257fcafdda26de29f4cd443e24</div><br clear="none"><br clear="none">If I had to guess I'd say you're on Ubuntu or another system where /bin/sh is <br clear="none">dash and not bash, is that correct? If so, "source" is a bash-specific command <br clear="none">- the POSIX standard equivalent is '.' (without quotes), so you'll need to use <br clear="none">that instead.<br clear="none"><br clear="none">Cheers,<br clear="none">Paul<br clear="none"><br clear="none">-- <br clear="none"><br clear="none">Paul Eggleton<br clear="none">Intel Open Source Technology Centre<div class="yqt7385491398" id="yqtfd74998"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>