On Monday 23 November 2015 19:08:27 Edward Vidal wrote: > Edward Vidal Jr. e-mail devel...@sbcglobal.net 915-595-1613 wrote: > On Sunday, November 22, 2015 3:35 PM, Paul Eggleton > <paul.eggle...@linux.intel.com> wrote: >> On Sunday 22 November 2015 13:25:21 Edward Vidal wrote: >> > Hi all,I am trying to use run the bitbake on a recipe that in the >> > do_compile uses the unix command source.This is the error that I am >> > getting. Log data follows:| DEBUG: Executing shell function do_compile >> > >> > | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux- >> > | gnue >> > | ab/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.25492: >> > | 112: /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky- >> > | linux-gnueabi/fpga-image-adi/1.AUTOINC-3e6cfd4858- >> > | r0/temp/run.do_compile.25492: >> > | source: not found WARNING: exit code 127 from a shell command. >> > | 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.25492) >> > | At github I have the original inc file that is used by the recipe >> > | fpga-image-adi.bb >> > >> > 87a75850b6f36bf1f09ac0f071587629ba630c1ehttps://github.com/develone/zedboa >> > rd _yocto/commits/master/fpga-image.inc I made some changes which allows >> > me to manually run the Xilinx commands and then re-run the bitbake >> > fpga-image-adithe version e199e9ce0806dc257fcafdda26de29f4cd443e24 >> >> If I had to guess I'd say you're on Ubuntu or another system where /bin/sh >> is dash and not bash, is that correct? If so, "source" is a bash-specific >> command - the POSIX standard equivalent is '.' (without quotes), so you'll >> need to use that instead. > > Yes, I am running "ubuntu 12.04 x86_64". > > In a shell before or after running ". oe-init-build-env" either of these > 2 commands below work okay."source /opt/Xilinx/14.6/ISE_DS/settings64.sh" > or ". /opt/Xilinx/14.6/ISE_DS/settings64.sh" > > I am able to run (Xilinx Platform Studio) "xps" okay. > > I replaced 4 of source cmds with '.' > > Now I get the following error when I execute "bitbake fpga-image-adi" > > 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) 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 > Log data follows: > | DEBUG: Executing shell function do_compile > | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnueab > | i/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-gnuea > | bi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.12830: > | unexpected operator > | . /opt/Xilinx/14.6/ISE_DS/common/.settings64.sh > | /opt/Xilinx/14.6/ISE_DS/common . > | /opt/Xilinx/14.6/ISE_DS/EDK/.settings64.sh /opt/Xilinx/14.6/ISE_DS/EDK . > | /opt/Xilinx/14.6/ISE_DS/PlanAhead/.settings64.sh > | /opt/Xilinx/14.6/ISE_DS/PlanAhead . > | /opt/Xilinx/14.6/ISE_DS/ISE/.settings64.sh /opt/Xilinx/14.6/ISE_DS/ISE > | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnuea > | bi/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-gnuea > | bi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/run.do_compile.12830: > | xps: not found > | WARNING: exit code 127 from a shell command. > | ERROR: Function failed: do_compile (log file is located at > | /home/vidal/POKY/dora_build/poky/build/tmp/work/zedboard-poky-linux-gnuea > | bi/fpga-image-adi/1.AUTOINC-3e6cfd4858-r0/temp/log.do_compile.12830) > ERROR: Task 6 > (/home/vidal/POKY/dora_build/poky/meta-topic/recipes-bsp/fpga/fpga-image-ad > i.bb, do_compile) failed with exit code '1' What is the unexpected > operator?
No idea I'm afraid. You are putting just one . <scriptfile> on the same line right? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto