Le 06/11/2020 à 19:08, Nicholas Guriev a écrit : > On Thu, 2020-11-05 at 06:27 +0100, Xavier wrote: >> I'm unable to reproduce the bug: libtgvoip build works fine here. Could >> you verify that the bug still exists? >> >> Cheers, >> Xavier > > Xavier, which version of the libtgvoip package did you try to build? The > bug is reproducible with 2.4.4-2 as stated in the start message in this > thread. Newer versions do not depend on GYP. But the issue is still > present. Minimal example needs almost nothing: > > mymedia@barberry:~$ gyp --format=cmake --depth=. - < /dev/null > Traceback (most recent call last): > File "/usr/bin/gyp", line 11, in <module> > load_entry_point('gyp==0.1', 'console_scripts', 'gyp')() > File "/usr/lib/python3/dist-packages/gyp/__init__.py", line 552, in > script_main > return main(sys.argv[1:]) > File "/usr/lib/python3/dist-packages/gyp/__init__.py", line 545, in main > return gyp_main(args) > File "/usr/lib/python3/dist-packages/gyp/__init__.py", line 518, in > gyp_main > [generator, flat_list, targets, data] = Load( > File "/usr/lib/python3/dist-packages/gyp/__init__.py", line 98, in Load > generator = __import__(generator_name, globals(), locals(), > generator_name) > File "/usr/lib/python3/dist-packages/gyp/generator/cmake.py", line 43, > in <module> > _maketrans = string.maketrans > AttributeError: module 'string' has no attribute 'maketrans' > mymedia@barberry:~$
Hi, sorry, I launched a full rebuild in unstable and didn't see this change. However I don't understand this error (I'm not Python dev), code is: try: # maketrans moved to str in python3. _maketrans = string.maketrans except NameError: _maketrans = str.maketrans So error should be discarded, isn't it?