Comment 20 for bug 2003259

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

@seb128, I tried to run a "rewrite"

    pkgkde-symbolshelper rewrite -i debian/libcupsfilters2.symbols

but the result is identical to what you have done manually. It only changes the order of the lines. The file has 569 lines.

If I do "create", "patch", or "batchpatch" I create a completely new file, without any history. But this should not be a problem as libcupsfilters2 is a new library.

So I try (after having built the package):

rm debian/libcupsfilters2.symbols
pkgkde-gensymbols -plibcupsfilters2 -v2.0~b2-0ubuntu11 -Osymbols.amd64 -edebian/libcupsfilters2/usr/lib/x86_64-linux-gnu/libcupsfilters.so.2.0.0 > out
pkgkde-symbolshelper create -o debian/libcupsfilters2.symbols -v 2.0~b2-0ubuntu11 symbols.amd64

This produces a debian/libcupsfilters2.symbols file with 405 lines, so many symbols of the old file are not present, but there are several internal (no public or private API of the library) C++ symbols again. All are marked as introduced in 2.0~b2-0ubuntu11 and none is marked as optional. The file "out" seems to be a patch which creates debian/libcupsfilters2.symbols from an empty file.