From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: core-updates: Python build failures Date: Sat, 11 Mar 2017 20:50:32 +0100 Message-ID: <87innfk2yf.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <87mvdpw3b3.fsf@gnu.org> <20170309223337.GA7931@jasmine> <87r324kdol.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170311172104.GA30965@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmn2E-0007Ii-3G for guix-devel@gnu.org; Sat, 11 Mar 2017 14:50:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmn2B-00070U-0N for guix-devel@gnu.org; Sat, 11 Mar 2017 14:50:38 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34472) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmn2A-00070I-QM for guix-devel@gnu.org; Sat, 11 Mar 2017 14:50:34 -0500 In-Reply-To: <20170311172104.GA30965@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Fri, Mar 10, 2017 at 10:46:34PM +0100, Marius Bakke wrote: >> It looks like Hydra ran out of entropy which caused a bunch of failures. >>=20 >> From the 'python-minimal' build: >>=20 >> if test "no" !=3D "yes"; then \ >> ./Programs/_freeze_importlib \ >> ./Lib/importlib/_bootstrap_external.py Python/importlib_external= .h; \ >> fi >> Fatal Python error: getentropy() failed > > Python is not compatible with current versions of glibc on older Linux > kernels (it builds fine for me on a recent kernel): > > Bug report: > https://bugzilla.redhat.com/show_bug.cgi?id=3D1410175 > > Discussion of a fix: > https://bugs.python.org/issue29157 > > I can't work on it today. Everyone else should feel free :) I tried applying the upstream fix for 3.5: https://hg.python.org/cpython/rev/337461574c90 However, the monster patch does not apply. patching file Python/random.c Hunk #2 succeeded at 39 (offset -1 lines). Hunk #3 succeeded at 54 (offset -1 lines). Hunk #4 succeeded at 65 (offset -1 lines). Hunk #5 FAILED at 77. Hunk #6 FAILED at 143. Hunk #7 FAILED at 162. Hunk #8 FAILED at 203. Hunk #9 FAILED at 236. Hunk #10 succeeded at 350 (offset -27 lines). Hunk #11 succeeded at 374 (offset -27 lines). Hunk #12 succeeded at 506 (offset -27 lines). Hunk #13 succeeded at 525 (offset -27 lines). Will try to dig out the other patches from 3.5 branch that this depends on tomorrow. I can't reproduce the getentropy() failure either, apparently it only occurs on kernels < 3.17. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljEVQgACgkQoqBt8qM6 VPoUdQgAiTiPzFOs0r5RwjJtnMaV0+VSGezfhCBHhGZm2BgZ7XoaxWZCqAnl9TvQ +pCanpEXmhhFskEaQioAlXRwWZyutGapG34PP9czv/kFDF5hj828ooq69DyEKvrL azSdrzrqio8hupNIXnETVmEnaH4qlFwx6yAvTiLrgIW1xzeFjNRmsFSEnAec20wi wz0FiQ5n7UJdXIhvk95O3iF6TADuinMzF72eePpRJHCCxOx0RFK18jPG5WZUHPvG J20NNlqnZYOcDR3HUP8KftnwCXYx1GTjJXvuVxdi5oriECEkvO7xuCJyz/k36kuw ZpWRxk1a5jrp9hdLKZn2WGYW92N1+A== =pBST -----END PGP SIGNATURE----- --=-=-=--