Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2016 23:19:38 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Jan Beich <jbeich@vfemail.net>
Cc:        ports@freebsd.org
Subject:   Re: how to create a powerpc64 poudriere jail ?
Message-ID:  <20160522211938.GI41922@home.opsec.eu>
In-Reply-To: <bn3x-yif4-wny@vfemail.net>
References:  <20160522093001.GB41922@home.opsec.eu> <20160522093156.GC41922@home.opsec.eu> <bn3x-yif4-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@opsec.eu            +49 171 3101372                         4 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160522211938.GI41922>