<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 26, 2020 at 6:01 AM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 26/8/20 8:48 am, Mritunjay Sharma wrote:<br>
> First of all, Apologies for the little delay in response. I was actually a<br>
> little stuck with assignments in classes. <br>
<br>
Thanks for letting us know. You will need to make up the lost time somehow.</blockquote><div><br></div><div>Yes, I will make surely make sure of it.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> There's one problem although, while building using:<br>
> `./source-builder/sb-set-builder --with-rtems-bsp="xilinx_zynq_a9_qemu"<br>
> --log=log_epics epics/epics-base --trace --prefix=$HOME/development/rtems/5-arm<br>
> --host=arm-rtems5<br>
> `<br>
> The EPICS is building perfectly fine but the Buildset fails with the following<br>
> error:<br>
><br>
> `cleaning: epics-base-7.0-arm-rtems5-1<br>
> error: copying tree (4):<br>
><br>
/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000<br>
> -><br>
><br>
/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base:<br>
> [Errno 2] No such file or directory:<br>
><br>
'/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000'<br>
> Build Set: Time 0:02:57.099708<br>
> Build FAILED<br>
> `<br>
> I am not sure what it is and it was not encountered earlier?<br>
><br>
<br>
You need to take a look at the log and the directories left after the build in<br>
the build tree. The names used need to match up or the RSB will not be able to<br>
find the installed tree to copy to the prefix.<br>
<br>
Note, most packages support the `DESTDIR=` make option to `make install` to<br>
control installing to a location that is not the specified prefix. The RSB does<br>
this to stage packages that form part of a vertical stack.<br></blockquote><div><br></div><div>Hi Chris, </div><div><br></div><div>I tried to debug this with the help of trace file and what you suggested above. I still haven't been successful in it. </div><div>With RSB 5 branch when sb-builder was available, the EPICS build was running successfully using RSB recipe. However, in the RSB master, <br>sb-builder is no longer available and I used sb-set-builder to build EPICS. I used this command: <br><br>`../source-builder/sb-set-builder --with-rtems-bsp="xilinx_zynq_a9_qemu" --log=log_epics epics/epics-base --trace --prefix=$HOME/development/rtems/5-arm --with-tools=$HOME/development/rtems/5-arm --host=arm-rtems5<br>`<br><br>This gave me the following error again and again<br>cleaning: epics-base-7.0-arm-rtems5-1<br>error: copying tree (4): /home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000 -> /home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base: [Errno 2] No such file or directory: '/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000'<br>Build Set: Time 0:02:52.146050<br>Build FAILED<br>`<br></div><div>For your reference, Below is the last part of the log file. Please see if you can help me out and tell me if you want me to share any other details</div><div><br></div><div>`cleaning: epics-base-7.0-arm-rtems5-1<br>run: /bin/sh -ex /home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1/do-clean<br>exe: shell: /bin/sh -ex /home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1/do-clean<br>exe: /bin/sh -ex /home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1/do-clean<br>+ export SB_ORIG_PATH=/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin<br>+ SB_PREFIX=/home/mritunjay/development/rtems/5-arm<br>+ echo /home/mritunjay/development/rtems/5-arm<br>+ /bin/sed -e s/^\///<br>+ SB_PREFIX_CLEAN=home/mritunjay/development/rtems/5-arm<br>+ SB_SOURCE_DIR=/home/mritunjay/development/rtems/src/rsb/rtems/sources<br>+ SB_BUILD_DIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1<br>+ SB_HOST_CPPFLAGS=-I/home/mritunjay/development/rtems/5-arm/arm-rtems5/xilinx_zynq_a9_qemu/lib/include<br>+ SB_HOST_CFLAGS=-qrtems -B/home/mritunjay/development/rtems/5-arm/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5-arm/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections <br>+ SB_HOST_CXXFLAGS=-qrtems -B/home/mritunjay/development/rtems/5-arm/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5-arm/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections <br>+ echo -qrtems -B/home/mritunjay/development/rtems/5-arm/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5-arm/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections<br>+ awk {for (i=1;i<NF;++i) if ($i ~ /\-m/) printf("%s ",$i);}<br>+ SB_HOST_LDFLAGS=-L/home/mritunjay/development/rtems/5-arm/arm-rtems5/xilinx_zynq_a9_qemu/lib -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -Wl,--gc-sections -L/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/lib<br>+ SB_HOST_LIBS=-lbsd -lm -lz -lrtemsdefaultconfig<br>+ SB_BUILD_CFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/include<br>+ SB_BUILD_CXXFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/include<br>+ SB_BUILD_LDFLAGS= -L/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/lib<br>+ SB_BUILD_LBS=<br>+ SB_CFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/include <br>+ SB_CXXFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/include <br>+ SB_ARCH=arm<br>+ SB_OS=linux<br>+ export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS<br>+ export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS<br>+ export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS<br>+ export SB_CFLAGS SB_CXXFLAGS<br>+ SB_DOC_DIR=/home/mritunjay/development/rtems/5-arm/share/doc<br>+ export SB_DOC_DIR<br>+ SB_PACKAGE_NAME=epics-base-7.0-arm-rtems5-1<br>+ SB_PACKAGE_BUILDNAME=epics-base-7.0-arm-rtems5-1<br>+ SB_PACKAGE_VERSION=7.0<br>+ SB_PACKAGE_RELEASE=1<br>+ export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE<br>+ export SB_PREFIX<br>+ SB_BUILD_DIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1<br>+ SB_BUILD_ROOT=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000<br>+ SB_BUILD_ROOT_BINDIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000/home/mritunjay/development/rtems/5-arm/bin<br>+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR<br>+ SB_BUILD_CXC_DIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1-cxc<br>+ SB_BUILD_CXC_ROOT=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000-cxc<br>+ SB_BUILD_CXC_ROOT_BINDIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000-cxc/home/mritunjay/development/rtems/5-arm/bin<br>+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR<br>+ SB_TMPROOT=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base<br>+ SB_TMPPREFIX=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm<br>=> epics-base-7.0-arm-rtems5-1: CLEAN<br>+ SB_TMPBINDIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin<br>==> %clean:<br>+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR<br>+ SB_TMPCXCROOT=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base<br>+ SB_TMPCXCPREFIX=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000-cxc/epics/epics-base/home/mritunjay/development/rtems/5-arm<br>+ SB_TMPCXCBINDIR=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000-cxc/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin<br>+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR<br>+ SB_EXTRAPATH=/home/mritunjay/development/rtems/src/rsb/source-builder<br>+ export CFLAGS_FOR_TARGET<br>+ export CXXFLAGS_FOR_TARGET<br>+ test -n /home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin<br>+ PATH=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin<br>+ test -n /home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000-cxc/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin<br>+ PATH=/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000-cxc/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin<br>+ test -n /home/mritunjay/development/rtems/src/rsb/source-builder<br>+ PATH=/home/mritunjay/development/rtems/src/rsb/source-builder:/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000-cxc/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin<br>+ PATH=/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/development/rtems/src/rsb/source-builder:/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000-cxc/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base/home/mritunjay/development/rtems/5-arm/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin<br>+ export PATH<br>+ LANG=C<br>+ export LANG<br>+ unset DISPLAY<br>+ umask 022<br>+ cd /home/mritunjay/development/rtems/src/rsb/rtems/build/epics-base-7.0-arm-rtems5-1<br>+ echo => epics-base-7.0-arm-rtems5-1: CLEAN<br>+ echo ==> %clean:<br>exe: shell: /usr/bin/id -u<br>exe: /usr/bin/id -u<br>shell-output: 0 1000<br>exe: shell: /usr/bin/id -u<br>exe: /usr/bin/id -u<br>shell-output: 0 1000<br>_bset: : epics/epics-base: collecting: build/tmp/epics-base-7.0-arm-rtems5-1-1000 -> build/tmp/sb-1000/epics/epics-base<br>copy: /home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/epics-base-7.0-arm-rtems5-1-1000 => /home/mritunjay/development/rtems/src/rsb/rtems/build/tmp/sb-1000/epics/epics-base<br>Build Set: Time 0:03:33.536948`<br></div><div><br></div><div>Thank you so much! </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Is there an EPICS install pass in the build?<br></blockquote><div><br></div><div>I am not sure what 'install pass' means but if it has something to do with make, then only `make` was used which </div><div>is the same thing done when building by hand.</div><div><br></div><div>Thanks</div><div>Mritunjay</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Chris<br>
</blockquote></div></div>