Attempting to update symbols with pkgkde-symbolshelper oftentime errors out due to being unable to find a function named "_g"

Bug #2077903 reported by Aaron Rainbolt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pkg-kde-tools (Ubuntu)
Status tracked in Oracular
Noble
New
Undecided
Unassigned
Oracular
New
Undecided
Unassigned

Bug Description

pkgkde-symbolshelper uses Gettext internally. According to the embedded changelog in Dpkg::Gettext (at /usr/share/perl5/Dpkg/Gettext.pm):

    =head2 Version 2.00 (dpkg 1.20.0)

    Remove function: _g().

    =head2 Version 1.03 (dpkg 1.19.0)

    New envvar: Add support for new B<DPKG_NLS> environment variable.

    =head2 Version 1.02 (dpkg 1.18.3)

    New function: N_().

    =head2 Version 1.01 (dpkg 1.18.0)

    Now the short aliases (g_ and P_) will call domain aware functions with
    $DEFAULT_TEXT_DOMAIN.

    New functions: g_(), C_().

    Deprecated function: _g().

_g no longer exists, and it appears to be replaced with g_.

I ran into this because pkgkde-symbolshelper was bailing out while trying to patch symbols in Ubuntu. Swapping out _g for g_ fixed the issue and let me finish my work. This is fixed upstream in pkg-kde-tools 0.17.4 and should be resolvable using the same patch that was used there. See https://salsa.debian.org/qt-kde-team/pkg-kde-tools/-/merge_requests/14

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.