[opensuse-buildservice] Building arm packages locally with osc
Hi, I am trying to build an arm package using osc locally. According to <http://en.opensuse.org/openSUSE:ARM_distribution_howto> I need osc, build, qemu, qemu-linux-user and build-initvm So I have the following installed osc-0.138.0-91.1.noarch build-20121123-128.1.noarch qemu-1.1.1-3.12.1.x86_64 qemu-linux-user-1.1.1-3.12.1.x86_64 build-initvm-20121123-128.1.x86_64 So I use the following osc build --vm-type=qemu --alternative-project=openSUSE:Factory:ARM standard armv7l slim.spec But unfortunately I am getting booting qemu ... /usr/bin/build: line 1762: /usr/bin/qemu: No such file or directory No buildstatus set, either the base system is broken (glibc/bash/perl) or the build host has a kernel or hardware problem... What am I missing Thanks -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, On 02/22/2013 04:13 AM, Togan Muftuoglu wrote:
Hi,
I am trying to build an arm package using osc locally. According to <http://en.opensuse.org/openSUSE:ARM_distribution_howto> I need osc, build, qemu, qemu-linux-user and build-initvm
So I have the following installed
osc-0.138.0-91.1.noarch build-20121123-128.1.noarch qemu-1.1.1-3.12.1.x86_64 qemu-linux-user-1.1.1-3.12.1.x86_64 build-initvm-20121123-128.1.x86_64
So I use the following
osc build --vm-type=qemu --alternative-project=openSUSE:Factory:ARM standard armv7l slim.spec
But unfortunately I am getting
booting qemu ...
/usr/bin/build: line 1762: /usr/bin/qemu: No such file or directory
Displaimer, I have not done this before, but based on the error message I'd say you want to create a link -> cd /usr/bin -> ln -s qemu-kvm qemu or qemu-YOUR_ARCHITECTURE instead of qemu-kvm Later, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2013 02:09 PM, Robert Schweikert wrote:
Hi,
So I use the following
osc build --vm-type=qemu --alternative-project=openSUSE:Factory:ARM standard armv7l slim.spec
But unfortunately I am getting
booting qemu ...
/usr/bin/build: line 1762: /usr/bin/qemu: No such file or directory
Displaimer, I have not done this before, but based on the error message I'd say you want to create a link
-> cd /usr/bin -> ln -s qemu-kvm qemu
or qemu-YOUR_ARCHITECTURE instead of qemu-kvm
Good tip what do you mean by YOUR_ARCHITECTURE. The host system which is x86-64 or the target armv7l -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2013 08:46 AM, Togan Muftuoglu wrote:
On 02/22/2013 02:09 PM, Robert Schweikert wrote:
Hi,
So I use the following
osc build --vm-type=qemu --alternative-project=openSUSE:Factory:ARM standard armv7l slim.spec
But unfortunately I am getting
booting qemu ...
/usr/bin/build: line 1762: /usr/bin/qemu: No such file or directory
Displaimer, I have not done this before, but based on the error message I'd say you want to create a link
-> cd /usr/bin -> ln -s qemu-kvm qemu
or qemu-YOUR_ARCHITECTURE instead of qemu-kvm
Good tip what do you mean by YOUR_ARCHITECTURE. The host system which is x86-64 or the target armv7l
Never mind, really dumb advise. First think than type, sorry. I should have pointed you this way in my first response: https://en.opensuse.org/HCL:Chroot And more stuff about ARM: https://en.opensuse.org/Portal:ARM -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjschwei@suse.com rschweik@ca.ibm.com 781-464-8147 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Freitag, 22. Februar 2013, 09:04:13 wrote Robert Schweikert:
On 02/22/2013 08:46 AM, Togan Muftuoglu wrote:
On 02/22/2013 02:09 PM, Robert Schweikert wrote:
Hi,
So I use the following
osc build --vm-type=qemu --alternative-project=openSUSE:Factory:ARM standard armv7l slim.spec
--vm-type=qemu is old legacy crap ;) Please do not use it anymore, the upstream project should be configured to install the right version of qemu independend of the virtualization container which you are using. Just use --vm-type=kvm if like or skip this entirely. I think, I will remove this option entirely, since it can not work in a clean way ... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
participants (3)
-
Adrian Schröter
-
Robert Schweikert
-
Togan Muftuoglu