Bug#979040: disfunctional Python package

Thomas Viehmann tv at beamnet.de
Wed Feb 10 13:57:12 GMT 2021


Hi,

the reason that this doesn't work is in 
debain/patches/support-python-module-in-place.patch:

libs = ["-L../obj-%s/src -lsentencepiece -lsentencepiece_train" % arch]


this needs to be a list of command line arguments, so

libs = ["-L../obj-%s/src"  % arch, "-lsentencepiece", 
"-lsentencepiece_train"]

Currently it adds a bogus search path (containing spaces and the 
remaining "next args" and no libraries).

Best regards

Thomas



More information about the debian-science-maintainers mailing list