http://bugzilla.novell.com/show_bug.cgi?id=567842 http://bugzilla.novell.com/show_bug.cgi?id=567842#c0 Summary: qemu binary isn't copied to buildroot when local building Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Kubuntu Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: entropy.zjd@gmail.com QAContact: adrian@novell.com Found By: --- Blocker: --- Created an attachment (id=334694) --> (http://bugzilla.novell.com/attachment.cgi?id=334694) Fixed init_buildsystem User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5 When using OBS to do local build for armel, qemu binary should be copied to $(BUILD_ROOT)/usr/bin so that host will automatically invoke qemu to run armel binary. The script init_buildsystem handles this. But for Ubuntu, the checking in this script isn't enough, as a result, qemu-arm-static won't be copied to buildroot and local build will fail. The reason is because Ubuntu has a package called "qemu-arm-static" to support arm emulation, which doesn't install qemu-binfmt-conf.sh, however, it setup binfmt correctly to pointing to qemu-arm-static. This script only checks if qemu is regisered but forgets to copy qemu-arm-static. A fixed version of this script is attached. BTW, Ubuntu qemu package only supports kvm or x86 emulation. Reproducible: Always Steps to Reproduce: 1.Install OBS in Ubuntu (9.04 or later) 2.Install qemu-arm-static 3.Do a local build for armel Actual Results: chroot: cannot run command `/sbin/ldconfig': No such file or directory chroot: cannot run command `dpkg': No such file or directory Expected Results: Build successfully -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.