Source: pkg-kde-tools
Version: 0.17.1
Severity: important
X-Debbugs-CC: p...@debian.org mity...@debian.org delta...@debian.org

Dear Debian pkg-kde-tools developers,

As discussed in OFTC #debian-qt-kde, while utilizing pkg-kde-tools in
the packaging of src:taglib, I found that the batchpatch functionality
is not yielding deterministic results:

=============================================================================
[~/src/debian/multimedia-team/taglib] [debian/experimental *]
-> % git rev-parse HEAD ; for i in 1 2 3 4 5 6 7 8 9; do git restore 
debian/libtag2.symbols ; pkgkde-symbolshelper batchpatch -v 2.0.1 < 
./taglib_experimental_logs/* > /dev/null 2> /dev/null ; git
diff | wc -l ; done
3609f305d309fe0dd4e24b9579ed80ec06555f69
0
22
22
13
31
22
0
36
31
==============================================================================


Steps to reproduce:

1. git clone https://salsa.debian.org/multimedia-team/taglib
2. cd taglib/
3. wget 
'https://salsa.debian.org/byang/pkg-kde-tools-bugreport-20240517/-/raw/main/taglib_experimental_logs_20240517.tar.xz?ref_type=heads&inline=false'
 -O a.xz
4. tar xavf a.xz
5. git checkout 3609f305d309fe0dd4e24b9579ed80ec06555f69
6. git rev-parse HEAD ; for i in 1 2 3 4 5 6 7 8 9; do git restore 
debian/libtag2.symbols ; taskset 1 pkgkde-symbolshelper batchpatch -v 2.0.1 < 
./taglib_experimental_logs/* > /dev/null 2> /dev/null
; git diff | wc -l ; done


Expected behavior: The batchpatch invocations always yield
the same result (and line numbers).

The current behavior: The batchpatch invocations yield
different outputs (different line numbers).

Please consider looking into it. Thanks!


Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to