Solved Poudriere jail: Cross-building ports for i386 on amd64 requires QEMU

After upgrading to releng_11.0@p3 my i386 jails do not work anymore.
I installed emulators/qemu-user-static. binmiscctl list shows a lot but nothing for i386. Searching the Internet on how to add i386 revealed only that Poudriere knows option '-x' but:
Code:
# poudriere jail -c -m svn+https -v 11.0-RELEASE -a i386.i386 -x -j 11_0i386                                                          
[00:00:00] ====>> Cross-building ports for i386 on amd64 requires QEMU
[00:00:00] ====>> Error: You need to setup an emulator with binmiscctl(8) for i386
So I'm stuck there.
 
You certainly shouldn't need QEMU for i386 cross-compilation nor would it be feasable because of the terrible performance. What's the error you're getting with your i386 jails?
 
What's the error you're getting with your i386 jails?
I had running an i386 poudriere jail in releng_10.3 which was fine. As said above this refuses to work under RELEASE-11.0 with latest ports-mgmt/poudriere-devel.

When trying this it fails:
Code:
# chroot 10_3_i386
chroot: /bin/csh: Exec format error
When trying this it fails:

Furthermore trying to create and run a new Pourdriere 11.0_i386 jail fails too.
Code:
# poudriere jail -c -m http -v 11.0-RELEASE -a i386 -j 11_0i386
[00:00:00] ====>> Cross-building ports for i386 on amd64 requires QEMU
[00:00:00] ====>> Error: You need to setup an emulator with binmiscctl(8) for i386

Anyone who successfully runs Poudriere i386 jails on RELEASE-11.0 can help?
 
Custom kernel? If you disabled the COMPAT_FREEBSD32 option that would explain the exec format error because the kernel wouldn't then know about the 32-bit executable file format.
 
Back
Top