[oe] systemd-gnome-image do_rootfs failure
I'd like to report a possible problem with oe-core that I'm not sure how to fix: On running a bitbake systemd-gnome-image, the do_rootfs stage fails saying certain packages are missing. On digging further, I find that the opkg.conf that opkg-cl uses (in image.bbclass do_rootfs function) has the following contents: arch all 1 arch any 6 arch noarch 11 arch arm 16 arch beagleboard 21 src oe file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk src oe-all file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/all src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard But there is no entry for: file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/armv7a As a result, many packages like xserver-xorg are not found by opkg and the do_rootfs stage fails. This could be a potential problem in package_generate_ipkg_conf in ./openembedded-core/meta/classes/package_ipk.bbclass (?) Here is the build log: [..] ++ echo any ++ sed -e s/arm/i686/ + sdkarch=any + extension=-nativesdk + '[' any = all -o any = any -o any = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/any/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' ++ echo noarch ++ sed -e s/arm/i686/ + sdkarch=noarch + extension=-nativesdk + '[' noarch = all -o noarch = any -o noarch = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/arm/Packages ']' ++ echo arm ++ sed -e s/arm/i686/ + sdkarch=i686 + extension=-nativesdk + '[' i686 = all -o i686 = any -o i686 = noarch ']' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/i686-nativesdk/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard/Packages ']' + echo 'src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard' ++ echo beagleboard ++ sed -e s/arm/i686/ + sdkarch=beagleboard + extension=-nativesdk + '[' beagleboard = all -o beagleboard = any -o beagleboard = noarch ']' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard-nativesdk/Packages ']' + multilib_archs= + mkdir -p /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/temp/ + STATUS=/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs/var/lib/opkg/status + mkdir -p /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs/var/lib/opkg + opkg-cl -f /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/opkg.conf -o /home/joel/angstrom-o e/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs --force-overwrite update Downloading file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/Packages. Updated list of available packages in /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs//v ar/lib/opkg/lists/oe. Downloading file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/all/Packages. Updated list of available packages in /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs//v ar/lib/opkg/lists/oe-all. Downloading file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard/Packages. Updated list of available packages in /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/rootfs//v ar/lib/opkg/lists/oe-beagleboard. + export INSTALL_PACKAGES_ATTEMPTONLY_IPK= + INSTALL_PACKAGES_ATTEMPTONLY_IPK= + export INSTALL_PACKAGES_LINGUAS_IPK=locale-base-en-us + INSTALL_PACKAGES_LINGUAS_IPK=locale-base-en-us + export INSTALL_TASK_IPK=rootfs + INSTALL_TASK_IPK=rootfs + export
Re: [oe] systemd-gnome-image do_rootfs failure
Hi, I now get a build error as below with systemd-gnome-image in do_rootfs, could you take a look? Also I had to remove 'fontconfig' from RDEPENDS_task-gnome-fonts in recipes-angstrom/tasks/angstrom-task-gnome.bb as the package didn't exist and it was causing more opkg install problems in do_rootfs . Could you comment on this? Thanks | Configuring e2fsprogs-e2fsck. | Configuring shadow. | Configuring xauth. | Configuring e2fsprogs-blkid. | Configuring libavahi-core7. | Configuring libdaemon0. | Configuring sysvinit-pidof. | Configuring libnss-mdns. | Configuring avahi-daemon. | Configuring avahi-systemd. | Configuring connman-plugin-ethernet. | Configuring kernel-module-nf-nat. | Configuring kernel-module-ipt-masquerade. | Configuring kernel-module-iptable-nat. | Configuring kernel-module-iptable-filter. | Configuring iptables. | Configuring xf86-input-mouse. | Configuring udev. | Configuring xhost. | Configuring xset. | Configuring xrandr. | Configuring xinetd. | Configuring xrdb. | Configuring task-gnome-xserver-base. | Configuring connman-plugin-wifi. | Configuring connman-systemd. | Configuring avahi-utils. | Configuring tinylogin. | Configuring htop. | Configuring openssh-sftp. | Configuring xf86-input-evdev. | Configuring task-xserver. | Configuring cpufrequtils. | Configuring systemd-compat-units. | Configuring dnsmasq-dbus. | Configuring connman. | Collected errors: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome-fonts: | *eglibc (= 2.12) * | * opkg_install_cmd: Cannot install package task-gnome-fonts. | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome: | *eglibc (= 2.12) * | * opkg_install_cmd: Cannot install package task-gnome. | ERROR: Function 'do_rootfs' failed (see /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/work/beagleboard-angstrom-linux-gnueabi/systemd-gnome-image-1.0-r0/temp/log.do_rootfs.25130 for further information) NOTE: package systemd-gnome-image-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/joel/angstrom-oe/setup-scripts-core/sources/meta-angstrom/recipes-angstrom/images/systemd-gnome-image.bb, do_rootfs) failed with exit code '1' ERROR: '/home/joel/angstrom-oe/setup-scripts-core/sources/meta-angstrom/recipes-angstrom/images/systemd-gnome-image.bb' failed On Tue, Aug 2, 2011 at 4:57 PM, Joel A Fernandes agnel.j...@gmail.com wrote: I'd like to report a possible problem with oe-core that I'm not sure how to fix: On running a bitbake systemd-gnome-image, the do_rootfs stage fails saying certain packages are missing. On digging further, I find that the opkg.conf that opkg-cl uses (in image.bbclass do_rootfs function) has the following contents: arch all 1 arch any 6 arch noarch 11 arch arm 16 arch beagleboard 21 src oe file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk src oe-all file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/all src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard But there is no entry for: file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/armv7a As a result, many packages like xserver-xorg are not found by opkg and the do_rootfs stage fails. This could be a potential problem in package_generate_ipkg_conf in ./openembedded-core/meta/classes/package_ipk.bbclass (?) Here is the build log: [..] ++ echo any ++ sed -e s/arm/i686/ + sdkarch=any + extension=-nativesdk + '[' any = all -o any = any -o any = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/any/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' ++ echo noarch ++ sed -e s/arm/i686/ + sdkarch=noarch + extension=-nativesdk + '[' noarch = all -o noarch = any -o noarch = noarch ']' + extension= + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/noarch/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/arm/Packages ']' ++ echo arm ++ sed -e s/arm/i686/ + sdkarch=i686 + extension=-nativesdk + '[' i686 = all -o i686 = any -o i686 = noarch ']' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/i686-nativesdk/Packages ']' + for arch in '$ipkgarchs' + '[' -e /home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard/Packages ']' + echo 'src oe-beagleboard file:/home/joel/angstrom-oe/setup-scripts-core/build/tmp-angstrom_2010_x-eglibc/deploy/ipk/beagleboard' ++ echo beagleboard ++ sed -e s/arm/i686/ + sdkarch=beagleboard +