From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luther Thompson Subject: bug#34236: scons does not run Date: Mon, 28 Jan 2019 19:03:22 -0500 Message-ID: <20190128190322.672305da@gmail.com> References: <20190128134210.002ead1f@gmail.com> <87ef8wr40m.fsf@elephly.net> 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]:37531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goGsp-0001dh-OY for bug-guix@gnu.org; Mon, 28 Jan 2019 19:04:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goGsl-0006bl-Vv for bug-guix@gnu.org; Mon, 28 Jan 2019 19:04:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goGsk-0006bM-DZ for bug-guix@gnu.org; Mon, 28 Jan 2019 19:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goGsj-0002Lw-W5 for bug-guix@gnu.org; Mon, 28 Jan 2019 19:04:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ef8wr40m.fsf@elephly.net> 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: Ricardo Wurmus Cc: 34236-done@debbugs.gnu.org On Mon, 28 Jan 2019 20:11:37 +0100 Ricardo Wurmus wrote: > Luther Thompson writes: >=20 > > scons refuses to run on my system. When I run it with or without a > > SConscript file, I get this error message:[=E2=80=A6] =20 >=20 > This should now be fixed with commit ad34338d1. I'm still getting errors similar to before. When I use an empty SConscript, I get this output: ---BEGIN--- scons: Reading SConscript files ... scons: done reading SConscript files. TypeError: a bytes-like object is required, not 'str': File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/Sc= ript/Main.py", line 1374: _exec_main(parser, values) File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/Sc= ript/Main.py", line 1337: _main(parser) File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/Sc= ript/Main.py", line 1103: platform =3D SCons.Platform.platform_module() File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/Pl= atform/__init__.py", line 107: mod =3D imp.load_module(full_name, file, path, desc) File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/python3.7/imp= .py", line 235: return load_source(name, filename, file) File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/python3.7/imp= .py", line 172: module =3D _load(spec) File "", line 696:=20 File "", line 677: =20 File "", line 724: =20 File "", line 838: ---END--- If I add only the statement `Environment()` to the SConscript, I get this output: ---BEGIN--- scons: Reading SConscript files ... TypeError: a bytes-like object is required, not 'str': File "/home/luther/test/SConstruct", line 1: Environment() File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/En= vironment.py", line 939: platform =3D SCons.Platform.Platform() File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/Pl= atform/__init__.py", line 263: module =3D platform_module(name) File "/gnu/store/z5r8ka0g4iib73pr2zvkhglclzh4azp0-scons-3.0.3/lib/scons/SCons/Pl= atform/__init__.py", line 107: mod =3D imp.load_module(full_name, file, path, desc) File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/python3.7/imp= .py", line 235: return load_source(name, filename, file) File "/gnu/store/ibxxisi81v1v3y5xc3axl4x4rx6jpzw8-python-3.7.0/lib/python3.7/imp= .py", line 172: module =3D _load(spec) File "", line 696:=20 File "", line 677: =20 File "", line 724: =20 File "", line 838: ---END--- When I run scons without a SConscript, I get the normal "No SConstruct file found" message. I've already tried rebooting. Luther