how to create a powerpc64 poudriere jail ?

Kurt Jaeger lists at opsec.eu
Sun May 22 21:19:37 UTC 2016


Hi!

> freebsd-ppc@ folks may have a clue how to cross-build powerpc64 packages
> without real hardware. If you're just looking for logs, see

I want to test-build devel/jsoncpp, so...

This built a jail:

  poudriere jail -c -j p64 -a powerpc.powerpc64 -m svn+ssh -v head

But using it fails:

poudriere bulk -T -f ~/pkg/ppcone -j p64

[...]
[00:00:08] ====>> Raising MAX_EXECUTION_TIME and NOHANG_TIME for QEMU
/etc/resolv.conf -> /pou/data/.m/p64-default/ref/etc/resolv.conf
[00:00:08] ====>> Starting jail p64-default
[00:00:08] ====>> Error: Unable to execute id(1) in jail. Emulation or ABI wrong.
[00:00:08] ====>> Cleaning up
[00:00:09] ====>> Umounting file systems

binmiscctl list shows:

name: powerpc64
interpreter: /usr/local/bin/qemu-ppc64-static
flags: ENABLED USE_MASK 
magic size: 20
magic offset: 0
magic: 0x7f 0x45 0x4c 0x46  0x01 0x02 0x01 0x00  0x00 0x00 0x00 0x00 
       0x00 0x00 0x00 0x00  0x00 0x02 0x00 0x15 
mask:  0xff 0xff 0xff 0xff  0xff 0xff 0xff 0x00  0xff 0xff 0xff 0xff 
       0xff 0xff 0xff 0xff  0xff 0xfe 0xff 0xff 

-- 
pi at opsec.eu            +49 171 3101372                         4 years to go !


More information about the freebsd-ports mailing list