[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-buildservice
Subject:    Re: [opensuse-buildservice] Failing to build ppc64 locally: ... '/usr/bin/rpmdb': No such file or di
From:       Sebix <sebix () sebix ! at>
Date:       2020-05-18 20:41:06
Message-ID: 26e05159-04e5-771c-df18-275865884d0b () sebix ! at
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


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



["signature.asc" (application/pgp-signature)]
-- 
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic