[Bug 757290] New: building for ARM on x86-64 in chroot does not work.
https://bugzilla.novell.com/show_bug.cgi?id=757290 https://bugzilla.novell.com/show_bug.cgi?id=757290#c0 Summary: building for ARM on x86-64 in chroot does not work. Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.3 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: osc AssignedTo: adrian@suse.com ReportedBy: aj@suse.com QAContact: adrian@suse.com Found By: Product Management Blocker: --- Following the advise on: http://en.opensuse.org/openSUSE:ARM_distribution_howto I build locally with: osc build --alternative-project=openSUSE:Factory:ARM standard armv7l glibc.spec This failed with: chroot: failed to run command `sh': Exec format error On IRC I got the advise to setup binfmt_misc properly, the code from https://gitorious.org/opensuse/build/blobs/40de5ab9156f5422246822b3f97728a12... helped.
From IRC comes the following suggestion: [2012-04-16 11:28]
AJaeger: yeah, maybe the chroot case doesn't do its binfmt setup properly [2012-04-16 11:28] AJaeger: though it's slightly tricky with chroot too, since the binfmt stuff is nonvolatile [2012-04-16 11:28] AJaeger: and it's global to the system
2012-04-16 11:30]
participants (1)
-
bugzilla_noreply@novell.com