[RTEMS Project] #3048: RSB cannot overwrite read-only files

RTEMS trac trac at rtems.org
Wed Jun 14 06:25:49 UTC 2017


#3048: RSB cannot overwrite read-only files
-----------------------------+-------------------------
 Reporter:  Sebastian Huber  |      Owner:  Chris Johns
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  Indefinite
Component:  RSB              |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-------------------------
 Lets suppose in the prefix is already a tool chain installed. The the
 following error happens:

 {{{
 ../source-builder/sb-set-builder --prefix=/build/rtems-4.12 4.12/rtems-arm
 --with-ada
 RTEMS Source Builder - Set Builder, 4.12 (0ba8934976c2)
 warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
 Build Set: 4.12/rtems-arm
 Build Set: 4.12/rtems-autotools.bset
 Build Set: 4.12/rtems-autotools-internal.bset
 config: tools/rtems-autoconf-2.69-1.cfg
 package: autoconf-2.69-x86_64-linux-gnu-1
 building: autoconf-2.69-x86_64-linux-gnu-1
 config: tools/rtems-automake-1.12.6-1.cfg
 package: automake-1.12.6-x86_64-linux-gnu-1
 building: automake-1.12.6-x86_64-linux-gnu-1
 cleaning: autoconf-2.69-x86_64-linux-gnu-1
 cleaning: automake-1.12.6-x86_64-linux-gnu-1
 Build Set: Time 0:00:06.718931
 Build Set: 4.12/rtems-autotools-base.bset
 config: tools/rtems-autoconf-2.69-1.cfg
 package: autoconf-2.69-x86_64-linux-gnu-1
 building: autoconf-2.69-x86_64-linux-gnu-1
 reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-
 gnu-1.txt
 reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-
 gnu-1.xml
 config: tools/rtems-automake-1.12.6-1.cfg
 package: automake-1.12.6-x86_64-linux-gnu-1
 building: automake-1.12.6-x86_64-linux-gnu-1
 reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64
 -linux-gnu-1.txt
 reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64
 -linux-gnu-1.xml
 installing: autoconf-2.69-x86_64-linux-gnu-1 -> /build/rtems-4.12
 installing: automake-1.12.6-x86_64-linux-gnu-1 -> /build/rtems-4.12
 cleaning: autoconf-2.69-x86_64-linux-gnu-1
 cleaning: automake-1.12.6-x86_64-linux-gnu-1
 Build Set: Time 0:00:09.502426
 Build Set: Time 0:00:16.224575
 config: devel/expat-2.1.0-1.cfg
 package: expat-2.1.0-x86_64-linux-gnu-1
 building: expat-2.1.0-x86_64-linux-gnu-1
 reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
 reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
 config: tools/rtems-binutils-2.28-1.cfg
 package: arm-rtems4.12-binutils-2.28-x86_64-linux-gnu-1
 building: arm-rtems4.12-binutils-2.28-x86_64-linux-gnu-1
 reporting: tools/rtems-binutils-2.28-1.cfg -> arm-
 rtems4.12-binutils-2.28-x86_64-linux-gnu-1.txt
 reporting: tools/rtems-binutils-2.28-1.cfg -> arm-
 rtems4.12-binutils-2.28-x86_64-linux-gnu-1.xml
 config: tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg
 package: arm-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1
 building: arm-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1
 reporting: tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg -> arm-
 rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1.txt
 reporting: tools/rtems-gcc-7.1.0-newlib-2.5.0.20170519-1.cfg -> arm-
 rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1.xml
 config: tools/rtems-gdb-7.12-1.cfg
 package: arm-rtems4.12-gdb-7.12-x86_64-linux-gnu-1
 building: arm-rtems4.12-gdb-7.12-x86_64-linux-gnu-1
 reporting: tools/rtems-gdb-7.12-1.cfg -> arm-rtems4.12-gdb-7.12-x86_64
 -linux-gnu-1.txt
 reporting: tools/rtems-gdb-7.12-1.cfg -> arm-rtems4.12-gdb-7.12-x86_64
 -linux-gnu-1.xml
 config: tools/rtems-tools-4.12-1.cfg
 package: rtems-tools-HEAD-1
 git: reset: git://git.rtems.org/rtems-tools.git
 git: fetch: git://git.rtems.org/rtems-tools.git -> sources/git/rtems-
 tools.git
 git: checkout: git://git.rtems.org/rtems-tools.git => HEAD
 git: pull: git://git.rtems.org/rtems-tools.git
 building: rtems-tools-HEAD-1
 reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.txt
 reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.xml
 config: tools/rtems-kernel-4.12.cfg
 package: arm-rtems4.12-kernel-4.12-1
 building: arm-rtems4.12-kernel-4.12-1
 reporting: tools/rtems-kernel-4.12.cfg -> arm-rtems4.12-kernel-4.12-1.txt
 reporting: tools/rtems-kernel-4.12.cfg -> arm-rtems4.12-kernel-4.12-1.xml
 installing: expat-2.1.0-x86_64-linux-gnu-1 -> /build/rtems-4.12
 installing: arm-rtems4.12-binutils-2.28-x86_64-linux-gnu-1 ->
 /build/rtems-4.12
 installing: arm-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-
 gnu-1 -> /build/rtems-4.12
 error: copying tree: /scratch/git-rtems-source-builder/rtems/build/tmp
 /arm-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1-root-
 sebastian_h/build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali ->
 /build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali: [Errno 13] Permission
 denied: '/build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali'
 Build Set: Time 0:37:12.690249
 Build FAILED
 self:/scratch/git-rtems-source-builder/rtems (master) > ll
 /build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali
 -r--r--r-- 1 sebastian_h domain users 2070 Jun 13 14:03
 /build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali
 self:/scratch/git-rtems-source-builder/rtems (master) > ll /scratch/git-
 rtems-source-builder/rtems/build/tmp/arm-
 rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1-root-
 sebastian_h/build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali
 -r--r--r-- 1 sebastian_h domain users 2070 Jun 14 07:53 /scratch/git-
 rtems-source-builder/rtems/build/tmp/arm-
 rtems4.12-gcc-7.1.0-newlib-2.5.0.20170519-x86_64-linux-gnu-1-root-
 sebastian_h/build/rtems-4.12/lib/gcc/arm-
 rtems4.12/7.1.0/thumb/armv6-m/adalib/g-spchge.ali
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3048>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list