Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2014 15:13:40 -0800
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        freebsd-python@freebsd.org
Cc:        sson@freebsd.org
Subject:   Emulator troubles
Message-ID:  <54A331A4.9070902@ignoranthack.me>

next in thread | raw e-mail | index | archive | help
-----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-----



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