reassign 963320 gyp
found 963320 0.1+20200513gitcaa6002-1
affects 963320 src:libtgvoip
stop

On Sun, 2020-06-21 at 22:04 +0200, Lucas Nussbaum wrote:
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > gyp --format=cmake --depth=. --generator-output=. -Gconfig=Release 
> > -Goutput_dir=obj-x86_64-linux-gnu 
> > -Dlinux_path_opus_include=/usr/include/opus
> > 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'
> > make[1]: *** [debian/rules:30: override_dh_auto_configure] Error 1
> 
> The full build log is available from:
>    http://qa-logs.debian.net/2020/06/20/libtgvoip_2.4.4-2_unstable.log
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.

The bug is not in the libtgvoip package itself but apparently caused by
incomplete porting GYP to Python 3. Dear GYP maintainer, please fix
CMake generator, switch it to built-in str.maketrans.

I am already working on a new version of the libtgvoip package. It will
not use GYP and not solve the actual issue in the build tool.

Reply via email to