Mailinglist Archive: opensuse-buildservice (166 mails)

< Previous Next >
Re: [opensuse-buildservice] HELP: How to setup cross-build on private OBS 2.5.2 using QEMU chroot?
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
[ 0s]
[ 0s] processing recipe
/local/ramdrive/obs/worker/root_1/.build-srcdir/hello.spec ...
[ 0s] running changelog2spec --target rpm --file
[ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs
--cachedir /var/cache/build --clean --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.

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
the -binfmt wrappers?

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


Adrian Schroeter
email: adrian@xxxxxxx

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

< Previous Next >
Follow Ups