[poky] fresh poky clone build fails when recipe chown's files during do_install (tzdata_2016a.bb)

Thomas Arcuri tarcuri at androcs.com
Mon Mar 7 05:55:00 PST 2016


After cloning a fresh copy of poky on the jethro branch I ran the following to start the build:


source oe-init-build-env

bitbake core-image-minimal


A task under the meta/recipes-extended/tzdata directory failed during the do_install step when it apparently attempted to chown the files to root.


ERROR: Task 1303 (/storage/home/tarcuri/src/stmp/zynq/jethro/poky/meta/recipes-extended/tzdata/tzdata_2016a.bb, do_install) failed with exit code '1'


As I understand it is supposed to use pseudo to do this - I was running the commands as a normal un-privileged user. This was a fresh clone of poky and did not include any other configurations or added layers. Below is an excerpt from the log file.


DEBUG: Executing shell function do_install
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/etc/localtime': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/etc/timezone': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/etc': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/usr/share/zoneinfo/Japan': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/usr/share/zoneinfo/NZ-CHAT': Operation not permitted


...


chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/usr/share/zoneinfo': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/usr/share': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image/usr': Operation not permitted
chown: changing ownership of '/storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/image': Operation not permitted
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_install (log file is located at /storage/home/tarcuri/src/stmp/zynq/jethro/poky/build/tmp/work/all-poky-linux/tzdata/2016a-r0/temp/log.do_install.9588)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20160307/798293fd/attachment.html>


More information about the poky mailing list