Hi, I just tries a build with poky master, and meta-xilinx master branch, and got the following build error.
For some reason the yocto build process fails is PACKAGE_CLASSES is set to package_ipk. ERROR: Unable to install packages. Command '/tool/yocto/build/zc706/tmp/sysroots/x86_64-lux/usr/bin/opkg-cl -f /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/opkg.conf -o /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version install run-postinsts packagegroup-core-boot' returned 255: Installing run-postinsts (1.0-r9) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/all/run-postinsts_1.0-r9_all.ipk. Installing update-rc.d (0.7-r5) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/all/update-rc.d_0.7-r5_all.ipk. sh: 1: /tmp/opkg-RUBbug/run-postinsts-mxgou5/preinst: Permission denied Installing packagegroup-core-boot (1.0-r17) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/zc706_zynq7/packagegroup-core-boot_1.0-r17_zc706_zynq7.ipk. Installing busybox (1.22.1-r0) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/armv7a-vfp-neon/busybox_1.22.1-r0_armv7a-vfp-neon.ipk. Installing update-alternatives-opkg (0.1.8+git0+c33b217016-r0) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/armv7a-vfp-neon/update-alternatives-opkg_0.1.8+git0+c33b217016-r0_armv7a-vfp-neon.ipk. Installing libc6 (2.19-r0) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/armv7a-vfp-neon/libc6_2.19-r0_armv7a-vfp-neon.ipk. Installing busybox-syslog (1.22.1-r0) to root... Downloading file:/tool/yocto/build/zc706/tmp/deploy/ipk/armv7a-vfp-neon/busybox-syslog_1.22.1-r0_armv7a-vfp-neon.ipk. sh: 1: /tmp/opkg-RUBbug/busybox-syslog-FMmuzB/preinst: Permission denied update-alternatives: Linking /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs//usr/bin/ar to /bin/busybox.nosuid update-alternatives: Linking /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs//bin/gunzip to /bin/busybox.nosuid <snip> update-alternatives: Linking /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs//usr/bin/vlock to /bin/busybox.suid Configuring libc6. Configuring update-alternatives-opkg. Configuring update-rc.d. Configuring busybox. Collected errors: * preinst_configure: Aborting installation of run-postinsts. * opkg_install_cmd: Cannot install package run-postinsts. * preinst_configure: Aborting installation of busybox-syslog. * opkg_install_cmd: Cannot install package packagegroup-core-boot. ERROR: Function failed: do_rootfs ERROR: Logfile of failure stored in: /tool/yocto/build/zc706/tmp/work/zc706_zynq7-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.2749 ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 1728 tasks of which 1727 didn't need to be rerun and 1 failed. No currently running tasks (1727 of 1729) Setting it to rpm works. I ran into this issue recently. I’m using Ubuntu-12.10 as the host. I recall things used to work file with package_ipk earlier, but with recent releases, the build process only works with package_rpm. Regards, Elvis Dowson
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
