From owner-freebsd-ports@freebsd.org Sun May 22 21:19:36 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E31D3B467FE for ; Sun, 22 May 2016 21:19:36 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D3FEE1F7B for ; Sun, 22 May 2016 21:19:36 +0000 (UTC) (envelope-from lists@opsec.eu) Received: by mailman.ysv.freebsd.org (Postfix) id CFA0DB467FD; Sun, 22 May 2016 21:19:36 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF43BB467FC for ; Sun, 22 May 2016 21:19:36 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 950361F79 for ; Sun, 22 May 2016 21:19:36 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1b4amh-000D7V-0P; Sun, 22 May 2016 23:19:39 +0200 Date: Sun, 22 May 2016 23:19:38 +0200 From: Kurt Jaeger To: Jan Beich Cc: ports@freebsd.org Subject: Re: how to create a powerpc64 poudriere jail ? Message-ID: <20160522211938.GI41922@home.opsec.eu> References: <20160522093001.GB41922@home.opsec.eu> <20160522093156.GC41922@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2016 21:19:37 -0000 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 !