Bug#1063126: debhelper: dh_makeshlibs should not generate shlibs for /usr/lib/python*/ and /usr/lib/jni

2024-02-05 Thread Niels Thykier

Niels Thykier:

Package: debhelper
Version: 13.13
Severity: normal
X-Debbugs-Cc: vor...@debian.org, ni...@thykier.net
Control: reporter -1 vor...@debian.org

Raised on IRC that `dh_makeshlibs` includes a lot of "irrelevant" files 
in the shlibs. Particularly, Python libraries (usr/lib/python*) and Java 
libraries (usr/lib/jni + usr/lib/$MA/jni) looks like low-hanging fruits 
that can easily be skipped in the shlibs. Note part of the problem is 
that these files includes a SONAME even though it is not a public ABI 
library.


Excluding these libraries would have made the t64 transition simpler as 
they used the shlibs as basis for which packages had libraries with 
public ABIs, where the above mentioned paths were false positives.


Best regards,
Niels



The bug #204975 is related on getting unnecessary triggers, where the 
proposal was to use an allow list of directories.


Best regards,
Niels



Bug#1063126: debhelper: dh_makeshlibs should not generate shlibs for /usr/lib/python*/ and /usr/lib/jni

2024-02-04 Thread Niels Thykier

Package: debhelper
Version: 13.13
Severity: normal
X-Debbugs-Cc: vor...@debian.org, ni...@thykier.net
Control: reporter -1 vor...@debian.org

Raised on IRC that `dh_makeshlibs` includes a lot of "irrelevant" files 
in the shlibs. Particularly, Python libraries (usr/lib/python*) and Java 
libraries (usr/lib/jni + usr/lib/$MA/jni) looks like low-hanging fruits 
that can easily be skipped in the shlibs. Note part of the problem is 
that these files includes a SONAME even though it is not a public ABI 
library.


Excluding these libraries would have made the t64 transition simpler as 
they used the shlibs as basis for which packages had libraries with 
public ABIs, where the above mentioned paths were false positives.


Best regards,
Niels