From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: When installing pycurl through pip, linux/limits.h is missing from glibc Date: Tue, 28 Apr 2020 16:56:13 +0200 Message-ID: <871ro77j76.fsf@devup.no> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48612) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTRek-0007xI-8Q for guix-devel@gnu.org; Tue, 28 Apr 2020 10:56:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTRej-0004Jw-LP for guix-devel@gnu.org; Tue, 28 Apr 2020 10:56:18 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:45533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTRei-0004JU-Sc for guix-devel@gnu.org; Tue, 28 Apr 2020 10:56:17 -0400 In-Reply-To: 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-mx.org@gnu.org Sender: "Guix-devel" To: Josh Marshall , guix-devel@gnu.org --=-=-= Content-Type: text/plain Josh Marshall writes: > `python3 -m pip install pycurl` fails due to glibc not being able to find > the header "linux/limits.h". I am aware that there is a "python-pycurl" > package in guix, but the above should still work. I think glibc is missing > a dependency on linux headers, but I'm not sure that all this is > actionable. Should I be opening up a bug report for this? Does it work if you run it in a 'guix environment --ad-hoc gcc-toolchain'? That would set up CPATH and related variables and should allow the build system to locate the Linux headers. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6oRA0ACgkQoqBt8qM6 VPofkwf/QwpmXOTa69j+VprEw20089xlaCeGLEoTiV3oCUiDgxZUV7PjNagFcFbO gwsjBUatsXe8Xvkk+zMRgKXk4WNM4A/VDpkufi5/E+H8o2bqDDuW27V3l40g/TQj hckLQj5anEdgJcGMcWfs0EZLOhC7AFDBmO0ZT74o+2X865V0QsTkeR6546nKSrCw 0c96B/zkmSJI8CnU7YRPhDctfetlqcWcp10Cznum1V3cHjCmvsStXT35jPearSDh sRXC+ykJAd0enlDEfQDJ4y6YvPBFLZlYyCHDjbAJCGfQIxc4FXQxbd+o1dw3qBnQ H+DaBGqmtyrOQKasWSdXJTUUVBNjrw== =kYTu -----END PGP SIGNATURE----- --=-=-=--