On 05/05/2018 04:58 PM, John Burrell wrote:
I get the following error when compiling dconf-editor-3.28.0:

[3/27] Generating ca.desrt.dconf-editor.appdata.xml_merge with a custom command.
FAILED: editor/ca.desrt.dconf-editor.appdata.xml
/bin/python3 /bin/meson --internal msgfmthelper ../editor/ca.desrt.dconf-editor.appdata.xml.in <http://ca.desrt.dconf-editor.appdata.xml.in> editor/ca.desrt.dconf-editor.appdata.xml xml /usr/src/gnomeplatform/dconf/dconf-0.28.0/build/dconf-editor-3.28.0/po
msgfmt: cannot read XML file /usr/share/gettext-0.19.8/its/appdata.loc
msgfmt: cannot locate ITS rules for ../editor/ca.desrt.dconf-editor.appdata.xml.in <http://ca.desrt.dconf-editor.appdata.xml.in> [6/27] Compiling Vala source ../editor/bookmarks.va.../setting-object.vala ../editor/source-manager.vala.
ninja: build stopped: subcommand failed.
[1/23] Generating ca.desrt.dconf-editor.appdata.xml_merge with a custom command.
FAILED: editor/ca.desrt.dconf-editor.appdata.xml
/bin/python3 /bin/meson --internal msgfmthelper ../editor/ca.desrt.dconf-editor.appdata.xml.in <http://ca.desrt.dconf-editor.appdata.xml.in> editor/ca.desrt.dconf-editor.appdata.xml xml /usr/src/gnomeplatform/dconf/dconf-0.28.0/build/dconf-editor-3.28.0/po
msgfmt: cannot read XML file /usr/share/gettext-0.19.8/its/appdata.loc
msgfmt: cannot locate ITS rules for ../editor/ca.desrt.dconf-editor.appdata.xml.in <http://ca.desrt.dconf-editor.appdata.xml.in> [10/23] Compiling C object 'editor/dconf-editor@exe/meson-generated_dconf-window.c.o'.
ninja: build stopped: subcommand failed.

Has anyone else had this failure?

There is a problem with gettext in LFS.  The sed should be:

sed -e '/AppData/{N;N;p;s/\.appdata\./.metainfo./}' \
    -i gettext-tools/its/appdata.loc

The braces were missing.

You should be able to apply it to /usr/share/gettext-0.19.8/its/appdata.loc

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to