[opensuse-buildservice] Failing to build ppc64 locally: ... '/usr/bin/rpmdb': No such file or directory
Hi all, I'm struggling to build a package with the ppc64 architecture for openSUSE:Factory:PowerPC locally for testing purposes. I always get
osc build --no-verify openSUSE_Factory_PowerPC ppc64 [...] [ 2s] [32/32] preinstalling rpm... [ 2s] [ 2s] initializing rpm db... [ 2s] chroot: failed to run command No such file or directory
I'd like to build devel:languages:python/python-typed-ast locally because of https://bugzilla.suse.com/show_bug.cgi?id=1171573 for debugging purposes. Adding --clean to the command does not make a difference. Does someone know how I can fix the problem? Any help is appreciated. best wishes, Sebastian
On 5/17/20 9:48 PM, Sebix wrote:
Hi all,
I'm struggling to build a package with the ppc64 architecture for openSUSE:Factory:PowerPC locally for testing purposes. I always get
osc build --no-verify openSUSE_Factory_PowerPC ppc64 [...] [ 2s] [32/32] preinstalling rpm... [ 2s] [ 2s] initializing rpm db... [ 2s] chroot: failed to run command No such file or directory
I'd like to build devel:languages:python/python-typed-ast locally because of https://bugzilla.suse.com/show_bug.cgi?id=1171573 for debugging purposes. Adding --clean to the command does not make a difference. Does someone know how I can fix the problem? Any help is appreciated.
best wishes, Sebastian
Strange, Are you trying from an x86_64 host ? I am able to build locally on a ppc64 qemu guest (on a PowerPC host) -- Michel Normand -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 18. Mai 2020, 09:27:15 CEST wrote Normand:
On 5/17/20 9:48 PM, Sebix wrote:
Hi all,
I'm struggling to build a package with the ppc64 architecture for openSUSE:Factory:PowerPC locally for testing purposes. I always get
osc build --no-verify openSUSE_Factory_PowerPC ppc64 [...] [ 2s] [32/32] preinstalling rpm... [ 2s] [ 2s] initializing rpm db... [ 2s] chroot: failed to run command No such file or directory
I'd like to build devel:languages:python/python-typed-ast locally because of https://bugzilla.suse.com/show_bug.cgi?id=1171573 for debugging purposes. Adding --clean to the command does not make a difference. Does someone know how I can fix the problem? Any help is appreciated.
best wishes, Sebastian
Strange, Are you trying from an x86_64 host ? I am able to build locally on a ppc64 qemu guest (on a PowerPC host)
in case you build on x86_64 you could try osc build --vm-type=qemu .... btw -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Normand & Adrian, On 5/18/20 9:27 AM, Normand wrote:
Strange, Are you trying from an x86_64 host ? I am able to build locally on a ppc64 qemu guest (on a PowerPC host)
Yes, I have a x86_64 host On 5/18/20 11:23 AM, Adrian Schröter wrote:
in case you build on x86_64 you could try
osc build --vm-type=qemu ....
Thanks, with that I am able to take a step forward, but get another build error later: [ 1s] booting qemu... [ 1s] /usr/bin/qemu-system-ppc64 -nodefaults -no-reboot -nographic -vga none -M pseries -object rng-random,filename=/dev/hwrng,id=rng0 -device virtio-rng,rng=rng0 -runas qemu -net none -kernel /var/tmp/build-root/openSUSE_Factory_PowerPC-ppc64/.mount/boot/kernel -initrd /var/tmp/build-root/openSUSE_Factory_PowerPC-ppc64/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime ext4.allow_unsupported=1 kpti=off pti=off spectre_v2=off panic=1 quiet no-kvmclock elevator=noop nmi_watchdog=0 rw rd.driver.pre=binfmt_misc console=hvc0 init=/.build/build -m 512 -drive file=/var/tmp/build-root/openSUSE_Factory_PowerPC-ppc64/img,format=raw,if=none,id=disk,cache=unsafe -device virtio-blk,drive=disk,serial=0 -drive file=/var/tmp/build-root/openSUSE_Factory_PowerPC-ppc64/swap,format=raw,if=none,id=swap,cache=unsafe -device virtio-blk,drive=swap,serial=1 -serial stdio -chardev socket,id=monitor,server,nowait,path=/var/tmp/build-root/openSUSE_Factory_PowerPC-ppc64/img.qemu/monitor -mon chardev=monitor,mode=readline -smp 4 [ 1s] /usr/lib/build/build-vm-qemu: line 220: /usr/bin/qemu-system-ppc64: No such file or directory [ 1s] No buildstatus set, either the base system is broken (kernel/initrd/udev/glibc/bash/perl) [ 1s] or the build host has a kernel or hardware problem... Is a PowerPC host required? I also tried to pre-install qemu by adding it to the extra packages in oscrc. best regards Sebastian -- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers
Hi all, I now got it working by installing the package 'qemu-ppc' on the *host* and using this command line: osc build --vm-type qemu openSUSE_Fectory_PowerPC ppc64 I hope this also helps others. Sebastian -- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers
participants (3)
-
Adrian Schröter
-
Normand
-
Sebix