Public bug reported:

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

** Affects: pkg-kde-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: pkg-kde-tools (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: pkg-kde-tools (Ubuntu Oracular)
     Importance: Undecided
         Status: New

** Also affects: pkg-kde-tools (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: pkg-kde-tools (Ubuntu Oracular)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077903

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkg-kde-tools/+bug/2077903/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to