NixOS/nixpkgs

po4a: msgmerge is not found

Opened this issue · 0 comments

Describe the bug

The po4a command runs msgmerge, but unless it is installed, po4a can't find it.

$ po4a --verbose --no-translations po4a.cfg
POT file util-linux-man.pot already up to date.
Error: 'msgmerge "/var/home/jordan/Projects/util-linux/po-man/cs.po" 
"/var/home/jordan/Projects/util-linux/po-man/util-linux-man.pot" --previous 
--backup=none --update' exited with value 127.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix shell nixpkgs#po4a
  2. git clone https://github.com/util-linux/util-linux.git
  3. cd util-linux/po-man
  4. po4a --verbose --no-translations po4a.cfg

Expected behavior

POT file util-linux-man.pot already up to date.
Updating cs.po: 160 translated messages, 674 fuzzy translations, 5675 untranslated messages.
Updating de.po: 6157 translated messages, 164 fuzzy translations, 188 untranslated messages.
Updating es.po: 2262 translated messages, 625 fuzzy translations, 3622 untranslated messages.
Updating fr.po: 4633 translated messages, 677 fuzzy translations, 1199 untranslated messages.
Updating pt_BR.po: 1231 translated messages, 1732 fuzzy translations, 3546 untranslated messages.
Updating sr.po: 6194 translated messages, 164 fuzzy translations, 151 untranslated messages.
Updating uk.po: 5343 translated messages, 320 fuzzy translations, 846 untranslated messages.

Screenshots

Additional context

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.8-300.fc41.x86_64, Fedora Linux, 41.20241119.0 (Sway Atomic), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.1
System type: x86_64-linux
Additional system types: aarch64-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/jordan/.config/nix/nix.conf:/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/lknx1arna0x37dg61ixsjbdlwcy9dvld-lix-2.91.1/share`
 - nixpkgs: `/nix/store/idq1bmwwy9rlkc21hccvx42wlwpxsx1f-source`

Notify maintainers


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.