msgfmt: found 4 fatal errors
AUR package maintainer here. Building from the latest commit cc30858c currently fails:
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -Dprofile=development apostrophe build
The Meson build system
Version: 0.59.1
Source dir: /build/apostrophe-git/src/apostrophe
Build dir: /build/apostrophe-git/src/build
Build type: native build
Project name: apostrophe
Project version: 2.4
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Message: devel version
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency glib-2.0 found: YES 2.68.4
Run-time dependency gobject-2.0 found: YES 2.68.4
Run-time dependency gobject-introspection-1.0 found: YES 1.68.0
Run-time dependency gtk+-3.0 found: YES 3.24.30
Run-time dependency libhandy-1 found: YES 1.2.3
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program gtk-update-icon-cache found: YES (/usr/bin/gtk-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Configuring org.gnome.gitlab.somas.Apostrophe.desktop.in using configuration
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Configuring configuredorg.gnome.gitlab.somas.Apostrophe.metainfo.xml using configuration
Program appstream-util found: YES (/usr/bin/appstream-util)
Configuring About.ui using configuration
Message: datadir
Message: /usr/share
Program sassc found: YES (/usr/bin/sassc)
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring apostrophe using configuration
apostrophe/meson.build:86: WARNING: The variable(s) 'SCHEMAS_DIR' in the input file 'apostrophe.in' are not present in the given configuration data.
Configuring config.py using configuration
apostrophe/meson.build:93: WARNING: The variable(s) 'GETTEXT_PACKAGE', 'LOCALEDIR', 'NAME_SUFFIX' in the input file 'config.py.in' are not present in the given configuration data.
Configuring local-apostrophe using configuration
Program build-aux/meson_post_install.py found: YES (/build/apostrophe-git/src/apostrophe/build-aux/meson_post_install.py)
Program build-aux/meson_post_config.py found: YES (/usr/bin/python /build/apostrophe-git/src/apostrophe/build-aux/meson_post_config.py)
Build targets in project: 9
Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[5/6] Generating org.gnome.gitlab.somas.Apostr...Devel.desktop_data_merge with a custom command
FAILED: data/org.gnome.gitlab.somas.Apostrophe.Devel.desktop
/usr/bin/meson --internal msgfmthelper data/org.gnome.gitlab.somas.Apostrophe.desktop.in data/org.gnome.gitlab.somas.Apostrophe.Devel.desktop desktop /build/apostrophe-git/src/apostrophe/po
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:326: 'msgid' and 'msgstr' entries do not both end with '\n'
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:375: 'msgid' and 'msgstr' entries do not both end with '\n'
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:384: 'msgid' and 'msgstr' entries do not both end with '\n'
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:445: 'msgid' and 'msgstr' entries do not both end with '\n'
msgfmt: found 4 fatal errors
[6/6] Generating org.gnome.gitlab.somas.Apostr....metainfo.xml_data_merge with a custom command
FAILED: data/org.gnome.gitlab.somas.Apostrophe.Devel.metainfo.xml
/usr/bin/meson --internal msgfmthelper data/configuredorg.gnome.gitlab.somas.Apostrophe.metainfo.xml data/org.gnome.gitlab.somas.Apostrophe.Devel.metainfo.xml xml /build/apostrophe-git/src/apostrophe/po
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:326: 'msgid' and 'msgstr' entries do not both end with '\n'
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:375: 'msgid' and 'msgstr' entries do not both end with '\n'
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:384: 'msgid' and 'msgstr' entries do not both end with '\n'
/build/apostrophe-git/src/apostrophe/po/pt_BR.po:445: 'msgid' and 'msgstr' entries do not both end with '\n'
msgfmt: found 4 fatal errors
ninja: build stopped: subcommand failed.