This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=62f1846f48c8f4bbd5904d3304bccaca635ca57a commit 62f1846f48c8f4bbd5904d3304bccaca635ca57a Author: Guillem Jover <[email protected]> AuthorDate: Fri May 30 00:56:10 2025 +0200 Dpkg::Shlibs::SymbolFile: Remove deprecated ignore blacklist support The tag and the meta-information field where deprecated in dpkg 1.20.1, replaced by newly named interfaces, and there are no known users of these old interfaces, so it seems safe to remove support for them now. --- doc/README.feature-removal-schedule | 8 ++++++++ man/deb-src-symbols.pod | 5 ----- man/deb-symbols.pod | 5 ----- scripts/Dpkg/Shlibs/SymbolFile.pm | 13 ------------- 4 files changed, 8 insertions(+), 23 deletions(-) diff --git a/doc/README.feature-removal-schedule b/doc/README.feature-removal-schedule index 1acbba38f..de64983cd 100644 --- a/doc/README.feature-removal-schedule +++ b/doc/README.feature-removal-schedule @@ -178,3 +178,11 @@ Status: removed When: 1.22.1 Why: GCJ has been dead upstream since 2018. + +What: symbols file ignore-blacklist tag and Ignore-Blacklist-Groups meta field +Status: removed +When: 1.23.0 +Warning: program +Why: + These have been replaced by newly introduced interfaces (allow-internal and + Allow-Internal-Symbol-Groups), which have way more descriptive names. diff --git a/man/deb-src-symbols.pod b/man/deb-src-symbols.pod index 998c3fc4f..f8a2af8bd 100644 --- a/man/deb-src-symbols.pod +++ b/man/deb-src-symbols.pod @@ -199,11 +199,6 @@ If for some reason, you really want one of those symbols to be included in the symbols file, you should tag the symbol with B<allow-internal>. It can be necessary for some low level toolchain libraries like “libgcc”. -=item B<ignore-blacklist> - -A deprecated alias for B<allow-internal> (since dpkg 1.20.1, -supported since dpkg 1.15.3). - =item B<c++> Denotes I<c++> symbol pattern. diff --git a/man/deb-symbols.pod b/man/deb-symbols.pod index ca9b086b3..b58ec4901 100644 --- a/man/deb-symbols.pod +++ b/man/deb-symbols.pod @@ -93,11 +93,6 @@ The available groups are system dependent, for ELF and GNU-based systems these are B<aeabi> and B<gomp>. -=item B<Ignore-Blacklist-Groups> - -A deprecated alias for B<Allow-Internal-Symbol-Groups> (since dpkg 1.20.1, -supported since dpkg 1.17.6). - =back =head1 EXAMPLES diff --git a/scripts/Dpkg/Shlibs/SymbolFile.pm b/scripts/Dpkg/Shlibs/SymbolFile.pm index 461cf3a1e..43072ada1 100644 --- a/scripts/Dpkg/Shlibs/SymbolFile.pm +++ b/scripts/Dpkg/Shlibs/SymbolFile.pm @@ -421,14 +421,6 @@ sub merge_symbols { my %include_groups = (); my $groups = $self->get_field($soname, 'Allow-Internal-Symbol-Groups'); - if (not defined $groups) { - $groups = $self->get_field($soname, 'Ignore-Blacklist-Groups'); - if (defined $groups) { - warnings::warnif('deprecated', - 'symbols file field "Ignore-Blacklist-Groups" is deprecated, ' . - 'use "Allow-Internal-Symbol-Groups" instead'); - } - } if (defined $groups) { $include_groups{$_} = 1 foreach (split ' ', $groups); } @@ -443,11 +435,6 @@ sub merge_symbols { if ($symobj->has_tag('allow-internal')) { # Allow the symbol. - } elsif ($symobj->has_tag('ignore-blacklist')) { - # Allow the symbol and warn. - warnings::warnif('deprecated', - 'symbol tag "ignore-blacklist" is deprecated, ' . - 'use "allow-internal" instead'); } else { # Ignore the symbol. next; -- Dpkg.Org's dpkg

