On Tue, Oct 01, 2013 at 02:41:24PM +0200, Dirk Müller wrote:
Hi Michal,
[ 2s] running aaa_base preinstall script [ 2s] chroot: failed to run command 'sh': No such file or directory
Unfortunately Adrian reenbled the qemu-accel layer before leaving for vacation, which (as you found out) does not work.
you need to manually fix it up now, as root, do echo -1 > /proc/sys/fs/binfmt_misc/arm
and then rerun the osc command. please note that due to osc bugs, you need to always include the spec file in the osc build commandline as last argument when using --alternative-project.
sudo strace -f -o out chroot /var/tmp/build-root-qemu/ /usr/bin/gcc /home/abuild/foo.c ... stat("/usr/lib64/gcc/armv7hl-suse-linux-gnueabi/4.8/cc1", 0x7ffff786c010) = -1 ENOENT (No such file or directory)
Yeah, normal when you use the broken qemu-accel stuff. I've disabled it again now.
Let me know if that helps.
Yes, now it fails on the same error as in OBS. Thanks! Michal Vyskocil
Greetings, Dirk