In the installation phase of qemu ebuild, there is a missing file. Installing /var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/softmmu-build/pc-bios/descriptors/60-edk2-arm.json to /var/tmp/portage/app-emulation/qemu-5.2.0/image/usr/share/qemu/firmwaremsgfmt: error while opening "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/po/bg.po" for reading: No such file or directory Traceback (most recent call last): File "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/meson/meson.py", line 29, in <module> sys.exit(mesonmain.main()) File "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/meson/mesonbuild/mesonmain.py", line 240, in main return run(sys.argv[1:], launcher) File "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/meson/mesonbuild/mesonmain.py", line 229, in run return run_script_command(args[1], args[2:]) File "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/meson/mesonbuild/mesonmain.py", line 177, in run_script_command return module.run(script_args) File "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/meson/mesonbuild/scripts/gettext.py", line 118, in run if gen_gmo(src_sub, bld_sub, langs) != 0: File "/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/meson/mesonbuild/scripts/gettext.py", line 65, in gen_gmo subprocess.check_call(['msgfmt', os.path.join(src_sub, l + '.po'), File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['msgfmt', '/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/po/bg.po', '-o', '/var/tmp/portage/app-emulation/qemu-5.2.0/work/qemu-5.2.0/softmmu-build/po/bg.gmo']' returned non-zero exit status 1. Reproducible: Always Steps to Reproduce: 1. try emerge app-emulation/qemu-5.2.0 2. fails with described missing file Actual Results: Installation fails. Expected Results: Installation success.
Can confirm and reproduce with USE="gtk -nls" option('gettext', type : 'boolean', value : true, description: 'Localization of the GTK+ user interface') As a workaround, can emerge with: EXTRA_CONF_QEMU="--disable-gettext"
(In reply to Ionen Wolkens from comment #1) > Can confirm and reproduce with USE="gtk -nls" Or actually, this happens with +nls too (seems just need USE=gtk), was under a wrong impression looking at the ebuild.
(In reply to Ionen Wolkens from comment #1) > Can confirm and reproduce with USE="gtk -nls" > > option('gettext', type : 'boolean', value : true, > description: 'Localization of the GTK+ user interface') > > As a workaround, can emerge with: > EXTRA_CONF_QEMU="--disable-gettext" Using sudo EXTRA_CONF_QEMU="--disable-gettext" emerge -av qemu temporary solution.
I can confirm this as well (+gtk +nls).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d865422ef40ecdfcb8b6b7c873a01334560aba commit 30d865422ef40ecdfcb8b6b7c873a01334560aba Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-10 19:20:03 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-10 19:20:16 +0000 app-emulation/qemu: drop nls mangling, use --enable-gettext qemu-5.2.0 updated the way locales are generated. Let's drop our hack for locale filtering. Reported-by: Julien Delquié Closes: https://bugs.gentoo.org/759301 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-emulation/qemu/qemu-5.2.0.ebuild | 37 +++++++----------------------------- app-emulation/qemu/qemu-9999.ebuild | 37 +++++++----------------------------- 2 files changed, 14 insertions(+), 60 deletions(-)