regression on -current with shared-mime-info
by nobodino from LinuxQuestions.org on (#5RBN3)
shared-mime-info doesn't build anymore on -current:
------------------------
shared-mime-info 2.1
User defined options
bindir : /usr/bin
buildtype : release
datadir : /usr/share
includedir : /usr/include
libdir : lib64
libexecdir : /usr/libexec
localstatedir: /var
mandir : /usr/man
prefix : /usr
sbindir : /usr/sbin
sysconfdir : /etc
update-mimedb: false
Found ninja-1.10.2 at /usr/bin/ninja
[81/83] Generating data/freedesktop.org.xml with a custom command
FAILED: data/freedesktop.org.xml
/tmp/shared-mime-info-2.1/data/freedesktop_generate.sh /tmp/shared-mime-info-2.1 /tmp/shared-mime-info-2.1/meson-build
ninja: Entering directory `/tmp/shared-mime-info-2.1/meson-build'
[1/7] Generating po/tr/LC_MESSAGES/shared-mime-info-tr.mo with a custom command
[2/7] Generating po/vi/LC_MESSAGES/shared-mime-info-vi.mo with a custom command
[3/7] Generating po/wa/LC_MESSAGES/shared-mime-info-wa.mo with a custom command
[4/7] Generating po/uk/LC_MESSAGES/shared-mime-info-uk.mo with a custom command
[5/7] Generating po/zh_HK/LC_MESSAGES/shared-mime-info-zh_HK.mo with a custom command
[6/7] Generating po/zh_CN/LC_MESSAGES/shared-mime-info-zh_CN.mo with a custom command
[7/7] Generating po/zh_TW/LC_MESSAGES/shared-mime-info-zh_TW.mo with a custom command
Error: cannot open mo file /tmp/shared-mime-info-2.1/meson-build/po/*.gmo
[83/83] Generating data/shared-mime-info-spec-html with a custom command
ninja: build stopped: subcommand failed.
--------------------------
It seems to be the new meson-0.60.0 package. It builds fine with meson-0.59.3.
Bug already reported: https://gitlab.freedesktop.org/xdg/s...o/-/issues/170
------------------------
shared-mime-info 2.1
User defined options
bindir : /usr/bin
buildtype : release
datadir : /usr/share
includedir : /usr/include
libdir : lib64
libexecdir : /usr/libexec
localstatedir: /var
mandir : /usr/man
prefix : /usr
sbindir : /usr/sbin
sysconfdir : /etc
update-mimedb: false
Found ninja-1.10.2 at /usr/bin/ninja
[81/83] Generating data/freedesktop.org.xml with a custom command
FAILED: data/freedesktop.org.xml
/tmp/shared-mime-info-2.1/data/freedesktop_generate.sh /tmp/shared-mime-info-2.1 /tmp/shared-mime-info-2.1/meson-build
ninja: Entering directory `/tmp/shared-mime-info-2.1/meson-build'
[1/7] Generating po/tr/LC_MESSAGES/shared-mime-info-tr.mo with a custom command
[2/7] Generating po/vi/LC_MESSAGES/shared-mime-info-vi.mo with a custom command
[3/7] Generating po/wa/LC_MESSAGES/shared-mime-info-wa.mo with a custom command
[4/7] Generating po/uk/LC_MESSAGES/shared-mime-info-uk.mo with a custom command
[5/7] Generating po/zh_HK/LC_MESSAGES/shared-mime-info-zh_HK.mo with a custom command
[6/7] Generating po/zh_CN/LC_MESSAGES/shared-mime-info-zh_CN.mo with a custom command
[7/7] Generating po/zh_TW/LC_MESSAGES/shared-mime-info-zh_TW.mo with a custom command
Error: cannot open mo file /tmp/shared-mime-info-2.1/meson-build/po/*.gmo
[83/83] Generating data/shared-mime-info-spec-html with a custom command
ninja: build stopped: subcommand failed.
--------------------------
It seems to be the new meson-0.60.0 package. It builds fine with meson-0.59.3.
Bug already reported: https://gitlab.freedesktop.org/xdg/s...o/-/issues/170