I get the following building core-image-minimal for the fri2 BSP with package_rpm. I see a different failure (also below) for ipk. OE Build Configuration: BB_VERSION = "1.13.3" TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "fri2" DISTRO = "poky" DISTRO_VERSION = "1.0+snapshot-20110727" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" meta meta-yocto = "master:a0d007380f7e9ab46024e54c2d8d0d4142f16227" meta-fri2 = "tzanussi/meta-fri2.v0:0efbbde4acd8d3af88a2cb9d35f697a5bd4dd85f" meta-kernel-dev = "master:82fb4d37a335c9cc60aa660c066cd291694d0825" ... RPM Failure: NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Started ERROR: Function 'do_rootfs' failed (see /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.25062 for further information) ERROR: Logfile of failure stored in: /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.25062 Log data follows: | Generating solve db for /build/poky/master/fri2/tmp/deploy/rpm/fri2... | total: 1 0.000000 MB 1.080700 secs | fingerprint: 1302 0.008338 MB 0.025833 secs | install: 434 0.000000 MB 0.440428 secs | dbadd: 434 0.000000 MB 0.430069 secs | dbget: 2642 0.000000 MB 0.004671 secs | dbput: 434 1.911724 MB 0.367406 secs | readhdr: 4341 3.775968 MB 0.011121 secs | hdrload: 2170 5.590380 MB 0.010752 secs | hdrget: 74125 0.000000 MB 0.070261 secs | Generating solve db for /build/poky/master/fri2/tmp/deploy/rpm/all... | total: 1 0.000000 MB 0.143195 secs | fingerprint: 87 0.003250 MB 0.008140 secs | install: 29 0.000000 MB 0.056400 secs | dbadd: 29 0.000000 MB 0.053656 secs | dbget: 578 0.000000 MB 0.000652 secs | dbput: 29 0.223280 MB 0.032225 secs | readhdr: 291 0.444808 MB 0.000921 secs | hdrload: 148 0.669896 MB 0.000933 secs | hdrget: 4789 0.000000 MB 0.005957 secs | Generating solve db for /build/poky/master/fri2/tmp/deploy/rpm/all... | Processing task-core-boot... | error: Failed dependencies: | tinylogin is needed by task-core-boot-1.0-r7.fri2 | busybox is needed by task-core-boot-1.0-r7.fri2 | modutils-initscripts is needed by task-core-boot-1.0-r7.fri2 | initscripts is needed by task-core-boot-1.0-r7.fri2 | update-alternatives-cworth is needed by task-core-boot-1.0-r7.fri2 | udev is needed by task-core-boot-1.0-r7.fri2 | sysvinit is needed by task-core-boot-1.0-r7.fri2 | netbase is needed by task-core-boot-1.0-r7.fri2 | base-passwd is needed by task-core-boot-1.0-r7.fri2 | console-tools is needed by keymaps-1.0-r19.fri2 | initscripts is needed by keymaps-1.0-r19.fri2 | /bin/sh is needed by keymaps-1.0-r19.fri2 | ERROR: Function 'do_rootfs' failed (see /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.25062 for further information) NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/dvhart/source/poky.git/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' ERROR: '/home/dvhart/source/poky.git/meta/recipes-core/images/core-image-minimal.bb' failed IPK Failure: NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Started ERROR: Function 'do_rootfs' failed (see /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.12344 for further information) ERROR: Logfile of failure stored in: /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.12344 Log data follows: | + rm -f /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf | + touch /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf | + package_update_index_ipk | + set -x | + ipkgarchs='all any noarch i586 fri2' | + '[' '!' -z '' ']' | + packagedirs=/build/poky/master/fri2/tmp/deploy/ipk | + for arch in '$ipkgarchs' | ++ echo all | ++ sed -e s/i586/x86_64/ | + sdkarch=all | + packagedirs='/build/poky/master/fri2/tmp/deploy/ipk /build/poky/master/fri2/tmp/deploy/ipk/all /build/poky/master/fri2/tmp/deploy/ipk/all-nativesdk' | + for arch in '$ipkgarchs' | ++ echo any | ++ sed -e s/i586/x86_64/ | + sdkarch=any | + packagedirs='/build/poky/master/fri2/tmp/deploy/ipk /build/poky/master/fri2/tmp/deploy/ipk/all /build/poky/master/fri2/tmp/deploy/ipk/all-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/any /build/poky/master/fri2/tmp/deploy/ipk/any-nativesdk' | + for arch in '$ipkgarchs' | ++ echo noarch | ++ sed -e s/i586/x86_64/ | + sdkarch=noarch | + packagedirs='/build/poky/master/fri2/tmp/deploy/ipk /build/poky/master/fri2/tmp/deploy/ipk/all /build/poky/master/fri2/tmp/deploy/ipk/all-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/any /build/poky/master/fri2/tmp/deploy/ipk/any-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/noarch /build/poky/master/fri2/tmp/deploy/ipk/noarch-nativesdk' | + for arch in '$ipkgarchs' | ++ echo i586 | ++ sed -e s/i586/x86_64/ | + sdkarch=x86_64 | + packagedirs='/build/poky/master/fri2/tmp/deploy/ipk /build/poky/master/fri2/tmp/deploy/ipk/all /build/poky/master/fri2/tmp/deploy/ipk/all-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/any /build/poky/master/fri2/tmp/deploy/ipk/any-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/noarch /build/poky/master/fri2/tmp/deploy/ipk/noarch-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/i586 /build/poky/master/fri2/tmp/deploy/ipk/x86_64-nativesdk' | + for arch in '$ipkgarchs' | ++ echo fri2 | ++ sed -e s/i586/x86_64/ | + sdkarch=fri2 | + packagedirs='/build/poky/master/fri2/tmp/deploy/ipk /build/poky/master/fri2/tmp/deploy/ipk/all /build/poky/master/fri2/tmp/deploy/ipk/all-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/any /build/poky/master/fri2/tmp/deploy/ipk/any-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/noarch /build/poky/master/fri2/tmp/deploy/ipk/noarch-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/i586 /build/poky/master/fri2/tmp/deploy/ipk/x86_64-nativesdk /build/poky/master/fri2/tmp/deploy/ipk/fri2 /build/poky/master/fri2/tmp/deploy/ipk/fri2-nativesdk' | + multilib_archs= | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/ ']' | + touch /build/poky/master/fri2/tmp/deploy/ipk/Packages | + flock /build/poky/master/fri2/tmp/deploy/ipk/Packages.flock -c 'opkg-make-index -r /build/poky/master/fri2/tmp/deploy/ipk/Packages -p /build/poky/master/fri2/tmp/deploy/ipk/Packages -l /build/poky/master/fri2/tmp/deploy/ipk/Packages.filelist -m /build/poky/master/fri2/tmp/deploy/ipk/' | /build/poky/master/fri2/tmp/sysroots/x86_64-linux/usr/bin/opkg.py:39: DeprecationWarning: the md5 module is deprecated; use hashlib instead | import md5 | | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/all/ ']' | + touch /build/poky/master/fri2/tmp/deploy/ipk/all/Packages | + flock /build/poky/master/fri2/tmp/deploy/ipk/all/Packages.flock -c 'opkg-make-index -r /build/poky/master/fri2/tmp/deploy/ipk/all/Packages -p /build/poky/master/fri2/tmp/deploy/ipk/all/Packages -l /build/poky/master/fri2/tmp/deploy/ipk/all/Packages.filelist -m /build/poky/master/fri2/tmp/deploy/ipk/all/' | /build/poky/master/fri2/tmp/sysroots/x86_64-linux/usr/bin/opkg.py:39: DeprecationWarning: the md5 module is deprecated; use hashlib instead | import md5 | | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/all-nativesdk/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/any/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/any-nativesdk/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/noarch/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/noarch-nativesdk/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/i586/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/x86_64-nativesdk/ ']' | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/fri2/ ']' | + touch /build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages | + flock /build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages.flock -c 'opkg-make-index -r /build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages -p /build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages -l /build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages.filelist -m /build/poky/master/fri2/tmp/deploy/ipk/fri2/' | /build/poky/master/fri2/tmp/sysroots/x86_64-linux/usr/bin/opkg.py:39: DeprecationWarning: the md5 module is deprecated; use hashlib instead | import md5 | | + for pkgdir in '$packagedirs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/fri2-nativesdk/ ']' | + package_generate_ipkg_conf | + package_generate_archlist | + ipkgarchs='all any noarch i586 fri2' | + priority=1 | + for arch in '$ipkgarchs' | ++ echo all | ++ sed -e s/i586/x86_64/ | + sdkarch=all | + echo 'arch all 1' | + extension=-nativesdk | + '[' all = all -o all = any -o all = noarch ']' | + extension= | + echo 'arch all 1' | ++ expr 1 + 5 | + priority=6 | + for arch in '$ipkgarchs' | ++ echo any | ++ sed -e s/i586/x86_64/ | + sdkarch=any | + echo 'arch any 6' | + extension=-nativesdk | + '[' any = all -o any = any -o any = noarch ']' | + extension= | + echo 'arch any 6' | ++ expr 6 + 5 | + priority=11 | + for arch in '$ipkgarchs' | ++ echo noarch | ++ sed -e s/i586/x86_64/ | + sdkarch=noarch | + echo 'arch noarch 11' | + extension=-nativesdk | + '[' noarch = all -o noarch = any -o noarch = noarch ']' | + extension= | + echo 'arch noarch 11' | ++ expr 11 + 5 | + priority=16 | + for arch in '$ipkgarchs' | ++ echo i586 | ++ sed -e s/i586/x86_64/ | + sdkarch=x86_64 | + echo 'arch i586 16' | + extension=-nativesdk | + '[' x86_64 = all -o x86_64 = any -o x86_64 = noarch ']' | + echo 'arch x86_64-nativesdk 16' | ++ expr 16 + 5 | + priority=21 | + for arch in '$ipkgarchs' | ++ echo fri2 | ++ sed -e s/i586/x86_64/ | + sdkarch=fri2 | + echo 'arch fri2 21' | + extension=-nativesdk | + '[' fri2 = all -o fri2 = any -o fri2 = noarch ']' | + echo 'arch fri2-nativesdk 21' | ++ expr 21 + 5 | + priority=26 | + multilib_archs= | + echo 'src oe file:/build/poky/master/fri2/tmp/deploy/ipk' | + echo 'src oe file:/build/poky/master/fri2/tmp/deploy/ipk' | + ipkgarchs='all any noarch i586 fri2' | + for arch in '$ipkgarchs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/all/Packages ']' | + echo 'src oe-all file:/build/poky/master/fri2/tmp/deploy/ipk/all' | ++ echo all | ++ sed -e s/i586/x86_64/ | + sdkarch=all | + extension=-nativesdk | + '[' all = all -o all = any -o all = noarch ']' | + extension= | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/all/Packages ']' | + echo 'src oe-all file:/build/poky/master/fri2/tmp/deploy/ipk/all' | + for arch in '$ipkgarchs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/any/Packages ']' | ++ echo any | ++ sed -e s/i586/x86_64/ | + sdkarch=any | + extension=-nativesdk | + '[' any = all -o any = any -o any = noarch ']' | + extension= | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/any/Packages ']' | + for arch in '$ipkgarchs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/noarch/Packages ']' | ++ echo noarch | ++ sed -e s/i586/x86_64/ | + sdkarch=noarch | + extension=-nativesdk | + '[' noarch = all -o noarch = any -o noarch = noarch ']' | + extension= | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/noarch/Packages ']' | + for arch in '$ipkgarchs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/i586/Packages ']' | ++ echo i586 | ++ sed -e s/i586/x86_64/ | + sdkarch=x86_64 | + extension=-nativesdk | + '[' x86_64 = all -o x86_64 = any -o x86_64 = noarch ']' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/x86_64-nativesdk/Packages ']' | + for arch in '$ipkgarchs' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages ']' | + echo 'src oe-fri2 file:/build/poky/master/fri2/tmp/deploy/ipk/fri2' | ++ echo fri2 | ++ sed -e s/i586/x86_64/ | + sdkarch=fri2 | + extension=-nativesdk | + '[' fri2 = all -o fri2 = any -o fri2 = noarch ']' | + '[' -e /build/poky/master/fri2/tmp/deploy/ipk/fri2-nativesdk/Packages ']' | + multilib_archs= | + mkdir -p /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/ | + STATUS=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs/var/lib/opkg/status | + mkdir -p /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs/var/lib/opkg | + opkg-cl -f /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf -o /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs --force-overwrite update | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/Packages. | Updated list of available packages in /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs//var/lib/opkg/lists/oe. | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/all/Packages. | Updated list of available packages in /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs//var/lib/opkg/lists/oe-all. | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages. | Updated list of available packages in /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs//var/lib/opkg/lists/oe-fri2. | + export INSTALL_PACKAGES_ATTEMPTONLY_IPK= | + INSTALL_PACKAGES_ATTEMPTONLY_IPK= | + export INSTALL_PACKAGES_LINGUAS_IPK= | + INSTALL_PACKAGES_LINGUAS_IPK= | + export INSTALL_TASK_IPK=rootfs | + INSTALL_TASK_IPK=rootfs | + export INSTALL_ROOTFS_IPK=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs | + INSTALL_ROOTFS_IPK=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs | + export INSTALL_CONF_IPK=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf | + INSTALL_CONF_IPK=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf | + export 'INSTALL_PACKAGES_NORMAL_IPK=task-core-boot run-postinsts' | + INSTALL_PACKAGES_NORMAL_IPK='task-core-boot run-postinsts' | + export INSTALL_PACKAGES_MULTILIB_IPK= | + INSTALL_PACKAGES_MULTILIB_IPK= | + package_install_internal_ipk | + local target_rootfs=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs | + local conffile=/build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf | + local 'package_to_install=task-core-boot run-postinsts' | + local package_attemptonly= | + local package_lingusa= | + local package_multilib= | + local task=rootfs | + mkdir -p /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs/var/lib/opkg/ | + local 'ipkg_args=-f /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf -o /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs --force-overwrite' | + opkg-cl -f /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf -o /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs --force-overwrite update | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/Packages. | Updated list of available packages in /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs//var/lib/opkg/lists/oe. | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/all/Packages. | Updated list of available packages in /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs//var/lib/opkg/lists/oe-all. | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/fri2/Packages. | Updated list of available packages in /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs//var/lib/opkg/lists/oe-fri2. | + '[' xlinux = xlinux ']' | + '[' '!' -z '' ']' | + '[' '!' -z 'task-core-boot run-postinsts' ']' | + opkg-cl -f /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/opkg.conf -o /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/rootfs --force-overwrite install task-core-boot run-postinsts | Installing task-core-boot (1.0-r7) to root... | Downloading file:/build/poky/master/fri2/tmp/deploy/ipk/fri2/task-core-boot_1.0-r7_fri2.ipk. | Unknown package 'run-postinsts'. | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-core-boot: | * tinylogin * busybox * modutils-initscripts * initscripts * console-tools * initscripts * udev * sysvinit * netbase * base-passwd * | * opkg_install_cmd: Cannot install package task-core-boot. | * opkg_install_cmd: Cannot install package run-postinsts. | ERROR: Function 'do_rootfs' failed (see /build/poky/master/fri2/tmp/work/fri2-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.12344 for further information) NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/dvhart/source/poky.git/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' ERROR: '/home/dvhart/source/poky.git/meta/recipes-core/images/core-image-minimal.bb' failed
AIUI there was a typo in a multiarch patch which set PACKAGE_ARCH incorrectly. Therefore the packages are built with the wrong arch set and therefore are uninstallable at rootfs creation time. Should be fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0960f3e0502b7b26a09d4eed599e5f31cd9aeca0 Will require some rebuilding though...
as joshua noted it is resolved