On Donnerstag, 22. Mai 2014, 09:43:55 wrote Adrian Schröter:

> On Mittwoch, 21. Mai 2014, 21:47:48 wrote Rick Liu:

...

> > [ 0s] Building hello for project 'home:rickliu:trunk_mxc' repository 'Trunk_MxC_standard' arch 'armv7el' srcmd5 '113b5e223b7ed410d13a13aa2fa6449b'

> > [ 0s]

> > [ 0s] processing recipe /local/ramdrive/obs/worker/root_1/.build-srcdir/hello.spec ...

> > [ 0s] running changelog2spec --target rpm --file /local/ramdrive/obs/worker/root_1/.build-srcdir/hello.spec

> > [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --clean --rpmlist /local/ramdrive/obs/worker/root_1/.build.rpmlist /local/ramdrive/obs/worker/root_1/.build-srcdir/hello.spec build rpmlint-Factory ...

> > [ 0s] registering binfmt handlers for cross build

> > [ 0s] interpreter for 'aarch64' is -1

> > [ 0s] write: Invalid argument

> > [ 0s] /proc/sys/fs/binfmt_misc/register: write failed

> > [ 0s] /var/run/obs/worker/1/build/qemu-reg: line 7: 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

>

> IIRC it should not abort here, but continue to register the other emulators.

>

> Can you check if the registration did work?

>

> ls /proc/sys/fs/binfmt_misc/arm*

 

Another guess, doess your qemu-linux-user package which you preinstalled containing

the -binfmt wrappers?

 

We do register them by default, because otherwise argv[0] gets lost which breaks

quite some builds.

 

--

 

Adrian Schroeter

email: adrian@suse.de

 

SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)

Maxfeldstraße 5

90409 Nürnberg

Germany