[Mesa-dev] [Bug 102852] Scons: Support the new Scons 3.0.0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 19 20:13:28 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102852

--- Comment #3 from Alex Granni <liviuprodea at yahoo.com> ---
Created attachment 134347
  --> https://bugs.freedesktop.org/attachment.cgi?id=134347&action=edit
Scons 3.0.0 compatibility patch

Fixing this turned out to be very straight forward.
Scons 3.0.0 wants print called like functions, so replacing 
print '...' and print "..." everywhere with print ('...') and print ("...")
respectively did the trick. I checked with Scons 2.5.1 and it recognizes this
new format, so there is no breakage with previous Scons release.

I used the Everything advanced search utility to make sure I don't miss any 
print '...' and print "..." unconverted.

I know, this patch is large, exceeding the recommended size. It could be split
in 6 parts, one for each touched file.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170919/1c2ab35d/attachment.html>


More information about the mesa-dev mailing list