Spike Fails to Build on CentOS 7 (Possible RSB Issue)
Joel Sherrill
joel at rtems.org
Mon Nov 26 22:05:35 UTC 2018
On Tue, Nov 20, 2018 at 4:40 PM Chris Johns <chrisj at rtems.org> wrote:
>
>
> On 21/11/2018 03:43, Joel Sherrill wrote:
> >
> >
> > On Fri, Nov 16, 2018 at 6:57 PM Chris Johns <chrisj at rtems.org
> > <mailto:chrisj at rtems.org>> wrote:
> >
> > On 17/11/18 1:45 am, Joel Sherrill wrote:
> > > Hi
> > >
> > > Hesham was nice enough to bump the Spike version in the RSB so
> others have a
> > > chance of using it to test RISC-V executables. Unfortunately, it
> now doesn't
> > > build for me. I am not sure if this is a
> > >
> > > ../source-builder/sb-set-builder --log=l-spike.txt
> > > --prefix=/home/joel/rtems-work/tools/5 devel/spike
> > > RTEMS Source Builder - Set Builder, 5 (69e07b57d5ab)
> > > Build Set: devel/spike
> > > config: devel/spike-1.1.0.cfg
> > > package: spike-1.1.0-x86_64-linux-gnu-1
> > > building: spike-1.1.0-x86_64-linux-gnu-1
> > > sizes: spike-1.1.0-x86_64-linux-gnu-1: 85.470MB (installed:
> 12.497MB)
> > > cleaning: spike-1.1.0-x86_64-linux-gnu-1
> > > reporting: devel/spike-1.1.0.cfg ->
> spike-1.1.0-x86_64-linux-gnu-1.txt
> > > reporting: devel/spike-1.1.0.cfg ->
> spike-1.1.0-x86_64-linux-gnu-1.xml
> > > installing: spike-1.1.0-x86_64-linux-gnu-1 ->
> /home/joel/rtems-work/tools/5
> > > error: copying tree (3):
> > >
> >
> /data/home/joel/rtems-work/rtems-source-builder/bare/build/tmp/spike-1.1.0-x86_64-linux-gnu-1-joel/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-dummy_rocc.pc
> > > ->
> /home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-dummy_rocc.pc: [Errno 13]
> > > Permission denied:
> > > u'/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-dummy_rocc.pc'
> >
> > What are the perms of the dest file?
> >
> >
> > $ ls -ial /home/joel/rtems-work/tools/5/lib/pkgconfig
> > total 28
> > 11005191 drwxr-xr-x. 2 joel joel 146 Nov 19 17:52 .
> > 822003261 drwxr-xr-x. 4 joel joel 4096 Nov 19 17:52 ..
> > 11005192 -rw-r--r--. 1 joel joel 306 Nov 9 21:18 expat.pc
> > 11046201 -r--r--r--. 1 joel joel 358 Nov 9 16:54 riscv-dummy_rocc.pc
> > 11004685 -r--r--r--. 1 joel joel 341 Nov 19 17:52 riscv-fesvr.pc
> > 11046200 -r--r--r--. 1 joel joel 324 Nov 9 16:54 riscv-riscv.pc
> > 11043504 -r--r--r--. 1 joel joel 349 Nov 9 16:54 riscv-softfloat.pc
> > 11043505 -r--r--r--. 1 joel joel 392 Nov 9 16:54 riscv-spike_main.pc
> >
> > Could this be something else? Another weird Python 2/3 thing?
> >
>
> What are the source file perms?
>
This is everything. Not sure where this goes wrong.
[joel at rtbf64c build]$ find . -name "riscv-*.pc" | xargs -e ls -l
-rw-r--r-- 1 joel users 341 Nov 26 15:26
./spike-1.1.0-x86_64-linux-gnu-1/riscv-fesvr-8d108a0a647901550d95925549337c2c3aec9ac8/riscv-fesvr.pc
-rw-r--r-- 1 joel users 358 Nov 26 15:26
./spike-1.1.0-x86_64-linux-gnu-1/riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/riscv-dummy_rocc.pc
-rw-r--r-- 1 joel users 324 Nov 26 15:26
./spike-1.1.0-x86_64-linux-gnu-1/riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/riscv-riscv.pc
-rw-r--r-- 1 joel users 349 Nov 26 15:26
./spike-1.1.0-x86_64-linux-gnu-1/riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/riscv-softfloat.pc
-rw-r--r-- 1 joel users 392 Nov 26 15:26
./spike-1.1.0-x86_64-linux-gnu-1/riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/riscv-spike_main.pc
-rw-r--r-- 1 joel users 325 Nov 26 15:26
./spike-1.1.0-x86_64-linux-gnu-1/riscv-isa-sim-01252686902fa30665fbecfc1476d169ad1333d1/riscv-spike.pc
-r--r--r-- 1 joel users 358 Nov 26 15:24
./tmp/sb-joel/devel/spike/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-dummy_rocc.pc
-r--r--r-- 1 joel users 324 Nov 26 15:24
./tmp/sb-joel/devel/spike/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-riscv.pc
-r--r--r-- 1 joel users 349 Nov 26 15:24
./tmp/sb-joel/devel/spike/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-softfloat.pc
-r--r--r-- 1 joel users 392 Nov 26 15:24
./tmp/sb-joel/devel/spike/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-spike_main.pc
-r--r--r-- 1 joel users 358 Nov 26 15:27
./tmp/spike-1.1.0-x86_64-linux-gnu-1-joel/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-dummy_rocc.pc
-r--r--r-- 1 joel users 324 Nov 26 15:27
./tmp/spike-1.1.0-x86_64-linux-gnu-1-joel/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-riscv.pc
-r--r--r-- 1 joel users 349 Nov 26 15:27
./tmp/spike-1.1.0-x86_64-linux-gnu-1-joel/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-softfloat.pc
-r--r--r-- 1 joel users 392 Nov 26 15:27
./tmp/spike-1.1.0-x86_64-linux-gnu-1-joel/home/joel/rtems-work/tools/5/lib/pkgconfig/riscv-spike_main.pc
>
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181126/037eb6dd/attachment-0002.html>
More information about the devel
mailing list