From owner-freebsd-python@FreeBSD.ORG Wed Jan 7 16:16:01 2015 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D67715D; Wed, 7 Jan 2015 16:16:01 +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 7C28E64BFD; Wed, 7 Jan 2015 16:16:00 +0000 (UTC) Received: from [10.12.76.108] (llnw-corp-src.phx2.llnw.com [69.164.56.1]) (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 98EDF192A3B; Wed, 7 Jan 2015 16:15:59 +0000 (UTC) Message-ID: <54AD5BB9.2060701@ignoranthack.me> Date: Wed, 07 Jan 2015 09:15:53 -0700 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: sbruno@freebsd.org, freebsd-python@freebsd.org Subject: Re: python waf bypasses _MAKE_JOBS number References: <54AC74E0.4050404@ignoranthack.me> <20150107072132.GA1050@medusa.sysfault.org> In-Reply-To: <20150107072132.GA1050@medusa.sysfault.org> Content-Type: text/plain; charset=windows-1252 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: Wed, 07 Jan 2015 16:16:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 01/07/15 00:21, Marcus von Appen wrote: > On, Wed Jan 07, 2015, Sean Bruno wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 >> >> Hey, so ... because qemu has a bug in it, we're trying to enforce >> no SMP behaviour in builds. >> >> Turns out that python waf bypasses all of ports logic and probes >> for the number of cpus and does its own thing. We noted this in >> our builds as they locked up when using qemu due to a bug. >> >> Can this behaviour be investigated (configure behaviour) by some >> python knowledgeable folks? > > Can you point us to the waf build logic for the qemu port? Looking > at emulators/qemu, I do not see anything of relevance. > > Cheers Marcus > Should have been a bit clearer, its qemu-bsd-user (via qemu-user-static) that I'm talking about. I've added Stacey to the email to clarify a bit more. The behavior we are talking about isn't specific to qemu at all, its just the configure script will probe the number of cpus and ignore my override. sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJUrVu2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kgCAIAIIbdKyhnLRgBqslQsK5iNgr djtRAxWTCckZpBAWvBPQunjaSBvPp9Xh4QlQE0FJ4/cApxGHk7Dcr9Sjjj8oyAjH RTL+XT9dgrba22Zo3FoP71UJtZHKYLUaB4vWss1HWLHbAe4c7VQ4Lzr/9+cWlTMR qrfuQpdanqN0H1czCZfJOHTF1Z9jHV6i4T7TxwDr/vt6Rs9BIa20ABD3B7dVLMo8 32LNyYBDBM5H8+oG7qE5tT4i788Y+qwTQaoE7JMjEbW0zfCI/Si8Z04jcXei2sXF KIEn2hqGBHCSddmEKZIviL/yrX/EeKtbTNWuQmt8W3ygnpNaOASdyGtjnphB8WA= =HJog -----END PGP SIGNATURE-----