From owner-freebsd-python@FreeBSD.ORG Tue Dec 30 23:13:43 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AFF1B196; Tue, 30 Dec 2014 23:13:43 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 91B2E38D2; Tue, 30 Dec 2014 23:13:43 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 64BD1192A3B; Tue, 30 Dec 2014 23:13:41 +0000 (UTC) Message-ID: <54A331A4.9070902@ignoranthack.me> Date: Tue, 30 Dec 2014 15:13:40 -0800 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-python@freebsd.org Subject: Emulator troubles Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: sson@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 23:13:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 bsd.port.mk http://dpaste.com/1FAERH4 Stacey Son has confirmed that we have some serious problems with -jX when building ports under qemu-bsd-user. Poudriere by default, thinks that it is compiling without -j in all cases. Python stuff on the other hand seems to bypass this in configure scripts and takes advantage of -j if _MAKE_JOBS is unset. This can be verified in numerous python ports (as they randomly fail under emulation due to bugs in qemu). Looking at bsd.port.mk, it seems that we don't set _MAKE_JOBS when DISABLE_MAKE_JOBS is set. This has the side effect of *allowing* -jX in python builds. For now, I'm submitting a patch to poudriere to ensure that _MAKE_JOBS=-j1 to keep from hitting the qemu bug currently. Is this behavior intended in python ports that use the structure "pythong waf ${_MAKE_JOBS} build" sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJUozGhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5ke6YIALBuRic2lZonXRhdsIMm98y4 yfOoNEgDYzUNvwhtFb+oq5etZ4EFQU4ZanJL9XQRFKuJgINb6IwfSZb4qJSpqy2a QoP+kEDzBwLZos84/KLXJTO2idd1LpcdGK+FHbaHdi30pTlun0PokAY7WRvoRzad XH5Nb581h2YvAp0GiGyx20iRiL3t1aUH4dF2y639huHHkaO4o4/jw0k+1zXEOzU2 nn1E4GXA/aVu2GdMUxScjKpRNOJJqnAqlOiq7gBkUNaJMYu2SfAs40g0HYGU/495 j5Psv7IT2fECX6ctcVMzka1ry3TUBGFcYd/das2mvZjXe9+aEYkqrrU2ezEWyqs= =3c7C -----END PGP SIGNATURE-----