Another and less intrusive idea to solve the problem for now:

I simply picked the qx_cmd() function in Dh_Lib.pm as it looked like
before the interruptive commit mentioned above, and pasted it into the
dh_translations file (and renamed it to qx_meson_cmd). See attached
diff.

Tested successfully with a couple of packages, including gnome-control-
center.

** Patch added: "dh_translations.diff"
   
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/2002845/+attachment/5641350/+files/dh_translations.diff

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/2002845

Title:
  debhelper 13.11.4ubuntu1 broke dh-translations

Status in debhelper package in Ubuntu:
  Triaged
Status in gnome-control-center package in Ubuntu:
  Triaged
Status in gnome-text-editor package in Ubuntu:
  Triaged
Status in pkgbinarymangler package in Ubuntu:
  Triaged

Bug description:
  Today's debhelper 13.11.4ubuntu1 merge broke dh-translations.

  https://launchpad.net/ubuntu/+source/gnome-text-editor/43.2-1ubuntu1

  gnome-text-editor build log excerpt
  -----------------------------------
  dh_translations
  Can't exec "meson introspect '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' 
--targets |
   jq -r -M '.[].name | select(endswith("-pot")) | sub("-pot"; "")'":
   No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm 
line 518.
  dh_translations: error: exec (for cmd: "meson introspect 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   --targets | jq -r -M '.[].name | select(endswith(\"-pot\")) |
   sub(\"-pot\"; \"\")'") failed: No such file or directory
  dh_translations: error: "meson introspect 
'/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   --targets | jq -r -M '.[].name | select(endswith(\"-pot\")) |
   sub(\"-pot\"; \"\")'" returned exit code 25

  Other Info
  ----------
  Gunnar identified the bad commit as
  https://salsa.debian.org/debian/debhelper/-/commit/62a8608

  https://launchpad.net/~gunnarhj/+archive/ubuntu/debhelper/+packages
  https://pastebin.ubuntu.com/p/P8qM2sHn9C/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/2002845/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to