Hi,

On 2/17/21 10:08 AM, Von wrote:
Package: kiwix-tools
Version: 3.1.2-2
Severity: important
X-Debbugs-Cc: rekae...@outlook.com

Dear Maintainer,

kiwix-serve fails to run and throws symbol lookup error regardless
command line arguments.

kiwix-serve was not usable at all.

outcome:
         --
        $ kiwix-serve /srv/Library/Zim/wikipedia_en_computer_maxi_2021-01.zim 
-p 8000
        kiwix-serve: symbol lookup error: kiwix-serve: undefined symbol: 
_ZN5kiwix5splitERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_b

        $ kiwix-serve
        kiwix-serve: symbol lookup error: kiwix-serve: undefined symbol: 
_ZN5kiwix5splitERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_b

Thanks for reporting!

That symbol demangles to:
kiwix::split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)

It looks like https://github.com/kiwix/kiwix-lib/commit/08464f23bc0756fc99e2e1559f95d325f52fba87 was an unintentional ABI break.

I'll upload a fix shortly and add a (trivial) autopkgtest to catch these regressions automatically in the future.

-- Kunal

Reply via email to