[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947587: FTBFS with scons 3.1.2-1



Control: tags 947587 + patch

On Sat, 2019-12-28 at 09:35 +0100, Jörg Frings-Fürst wrote:
> Source: xsunpinyin
> Version: 2.0.3-5
> 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.wyett@kathenas.org>
Last-Update: 2019-12-29
Bug-Debian: https://bugs.debian.org/947587

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2019-12-29

Index: xsunpinyin-2.0.3/SConstruct
===================================================================
--- xsunpinyin-2.0.3.orig/SConstruct
+++ xsunpinyin-2.0.3/SConstruct
@@ -47,7 +47,7 @@ opts.Add('PREFIX', default='/usr/local')
 def PassVariables(envvar, env):
     for (x, y) in envvar:
         if x in os.environ:
-            print 'Warning: you\'ve set %s in the environmental variable!' % x
+            print ('Warning: you\'ve set %s in the environmental variable!' % x)
             env.MergeFlags(os.environ[x])
 
 env = Environment(ENV=os.environ,

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: