From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#34236: scons does not run Date: Mon, 28 Jan 2019 20:06:41 +0100 Message-ID: <87fttcr48u.fsf@elephly.net> References: <20190128134210.002ead1f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goJXP-0005Ip-In for bug-guix@gnu.org; Mon, 28 Jan 2019 21:54:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goJXN-0007LX-MT for bug-guix@gnu.org; Mon, 28 Jan 2019 21:54:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goJXG-0007IJ-65 for bug-guix@gnu.org; Mon, 28 Jan 2019 21:54:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goJXF-0006II-Um for bug-guix@gnu.org; Mon, 28 Jan 2019 21:54:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20190128134210.002ead1f@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Luther Thompson Cc: 34236@debbugs.gnu.org Hi Luther, > scons refuses to run on my system. When I run it with or without a > SConscript file, I get this error message: > > ---BEGIN--- > Traceback (most recent call last): > File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/bin/.scon= s-real", line 192, in > import SCons.Script > File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/lib/scons= -3.0.1/SCons/__init__.py", line 43, in > import SCons.compat > File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/lib/scons= -3.0.1/SCons/compat/__init__.py", line 105, in > rename_module('profile', 'cProfile') > File "/gnu/store/r7nxidk4r12wa3y7gipqx58gc3dx3vp2-scons-3.0.1/lib/scons= -3.0.1/SCons/compat/__init__.py", line 84, in rename_module > sys.modules[new] =3D imp.load_module(old, *imp.find_module(old)) > File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/pyth= on3.7/imp.py", line 235, in load_module > return load_source(name, filename, file) > File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/pyth= on3.7/imp.py", line 172, in load_source > module =3D _load(spec) > File "", line 696, in _load > File "", line 677, in _load_unlocked > File "", line 724, in exec_module > File "", line 838, in get_code > TypeError: a bytes-like object is required, not 'str' > ---END--- > > I have a hunch that this is caused by a missing environment variable, > but I don't know where to go from there. I=E2=80=99m currently working on upgrading Scons. I patched Scons to avoid= this error. -- Ricardo