Control: tags 947585 + patch On Sat, 2019-12-28 at 09:32 +0100, Jörg Frings-Fürst wrote: > Source: xboxdrv > Version: 0.8.8-1 > Severity: important > Usertags: scons_ftbfs > > > Hello, > > in the context of the change to Python3 also Scons was revised. With > the current version 3.1.2-1 from Experimental the changeover is > finished so far. > > However, an error occurred while building your package. The build log > is attached. > > Please check it and fix the error. > > CU > Jörg >
Hi, Attached is a patch that fixes the build issue. Regards Phil -- *** Playing the game for the games sake. *** Twitter: @kathenasorg IRC: kathenas
Description: Use python3 print() Author: Phil Wyett <philip.wy...@kathenas.org> Last-Update: 2019-12-29 Bug-Debian: https://bugs.debian.org/947585 --- xboxdrv-0.8.8.orig/SConstruct +++ xboxdrv-0.8.8/SConstruct @@ -33,8 +33,8 @@ def build_bin2h(target, source, env): def c_escape(str): return str.translate(string.maketrans("/.-", "___")) - print target - print source + print (target) + print (source) with open(target[0].get_path(), "w") as fout: fout.write("// autogenerated by scons Bin2H builder, do not edit by hand!\n\n") @@ -133,12 +133,12 @@ env.Append(CPPDEFINES = { 'PACKAGE_VERSI conf = Configure(env) if not conf.env['CXX']: - print "g++ must be installed!" + print ("g++ must be installed!") Exit(1) # X11 checks if not conf.CheckLibWithHeader('X11', 'X11/Xlib.h', 'C++'): - print 'libx11-dev must be installed!' + print ('libx11-dev must be installed!') Exit(1) env = conf.Finish()
signature.asc
Description: This is a digitally signed message part