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.
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.
@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 libcupsfilters2 /usr/lib/ x86_64- linux-gnu/ libcupsfilters. so.2.0. 0 > out symbolshelper create -o debian/ libcupsfilters2 .symbols -v 2.0~b2-0ubuntu11 symbols.amd64
pkgkde-gensymbols -plibcupsfilters2 -v2.0~b2-0ubuntu11 -Osymbols.amd64 -edebian/
pkgkde-
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.