Mailinglist Archive: opensuse-buildservice (95 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: arm builds on local OBS
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Wed, 08 Jan 2020 08:54:48 +0100
  • Message-id: <1591033.mgiFthVfjT@linux-ywca>
On Dienstag, 7. Januar 2020, 16:39:46 CET Srivats P wrote:
Adrian,

I'm using the OBS virtual appliance on VirtualBox - so essentially a VM.

Will it work in this environment? If not, why not - just for my understanding.

yes, that should work.

Can you check manually if the registration in kernel's binfmt misc handler
is working?


On Tue, Jan 7, 2020 at 9:03 PM Adrian Schröter <adrian@xxxxxxx> wrote:

On Dienstag, 7. Januar 2020, 16:29:20 CET Srivats P wrote:
Thanks for that tip to re-trigger the export filter. I did that and
now the cross build is at least identified and attempted but bails out
very very early (something to do with binfmt) -

[ 0s] init_buildsystem --configdir
/srv/obs/run/worker/1/build/configs --cachedir /var/cache/build
--clean --rpmlist /var/cache/obs/worker/root_1/.build.rpmlist
/var/cache/obs/worker/root_1/.build-srcdir/ostinato.dsc build ...
[ 1s] registering binfmt handlers for cross build
[ 1s] write: File exists
[ 1s] /proc/sys/fs/binfmt_misc/register: write failed

are you running this in docker or some otherwise chain env?

this won't work ...

[ 1s] /srv/obs/run/worker/1/build/qemu-reg: line 9: write failed.
Content:
:aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-binfmt:P
[ 1s] /.build/qemu-reg: No such file or directory
[ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file
[ 1s] write: File exists
[ 1s] /proc/sys/fs/binfmt_misc/register: write failed
[ 1s] /usr/lib/build/qemu-reg: line 9: write failed. Content:
:aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-binfmt:P
[ 1s] /usr/lib/build/qemu-reg: binfmt registration failed
[ 2s] cycle: libc6 -> libgcc1
[ 2s] breaking dependency libgcc1 -> libc6
[ 2s] [1/73] preinstalling e2fslibs...
[ 2s] [2/73] preinstalling gcc-8-base...
[ 2s] [3/73] preinstalling libsemanage-common...
[ 2s] [4/73] preinstalling lsb-base...
[ 2s] [5/73] preinstalling ncurses-base...
[ 3s] [6/73] preinstalling qemu-linux-user...
[ 3s] ar:
/var/cache/obs/worker/root_1/.init_b_cache/rpms/qemu-linux-user.deb:
No such file or directory

Srivats

On Tue, Jan 7, 2020 at 8:39 PM Andreas Schwab <schwab@xxxxxxx> wrote:

The export filters are only evaluated when the scheduler picks up new
binaries, so to retrigger it wipe the binaries in the aggregate.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



--

Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg,
Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer







--

Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer




--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups