Comment 0 for bug 1751261

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote :

From bionic:

Change to the libgweather source directory and run

sudo apt build-dep libgweather
dh_auto_configure
dh_auto_build

ninja -v -C obj-x86_64-linux-gnu/ libgweather-3.0-pot
ninja -v -C obj-x86_64-linux-gnu/ libgweather-locations-pot

For reference, the second to last command succeeds with this output:
---------------
ninja -v -C obj-x86_64-linux-gnu/ libgweather-3.0-pot
ninja: Entering directory `obj-x86_64-linux-gnu/'
[0/1] /usr/bin/python3 /usr/bin/meson --internal commandrunner /home/jeremy/devel/pkg-gnome2/libgweather /home/jeremy/devel/pkg-gnome2/libgweather/obj-x86_64-linux-gnu po /usr/bin/python3 /usr/bin/meson /usr/bin/python3 /usr/bin/meson --internal gettext pot --pkgname=libgweather-3.0 --extra-args=--keyword=_@@--add-comments@@--flag=g_set_error:4:c-format@@--flag=N_:1:pass-c-format@@--flag=g_dngettext:2:pass-c-format@@--keyword=NC_:1c,2@@--flag=g_error_new:3:c-format@@--from-code=UTF-8@@--keyword=g_dpgettext2:2c,3@@--keyword=C_:1c,2@@--keyword=g_dngettext:2,3@@--keyword=N_@@--flag=g_string_printf:2:c-format@@--flag=g_string_append_printf:2:c-format@@--flag=C_:2:pass-c-format@@--keyword=g_dcgettext:2@@--flag=NC_:2:pass-c-format@@--flag=g_strdup_printf:1:c-format

The last command fails with this output:
-------------------
ninja: Entering directory `obj-x86_64-linux-gnu/'
[0/1] /usr/bin/python3 /usr/bin/meson --internal commandrunner /home/jeremy/devel/pkg-gnome2/libgweather /home/jeremy/devel/pkg-gnome2/libgweather/obj-x86_64-linux-gnu po-locations /usr/bin/python3 /usr/bin/meson /usr/bin/python3 /usr/bin/meson --internal gettext pot --pkgname=libgweather-locations --extra-args=--its@@/home/jeremy/devel/pkg-gnome2/libgweather/po-locations/../data/locations.its
FAILED: meson-libgweather-locations-pot
/usr/bin/python3 /usr/bin/meson --internal commandrunner /home/jeremy/devel/pkg-gnome2/libgweather /home/jeremy/devel/pkg-gnome2/libgweather/obj-x86_64-linux-gnu po-locations /usr/bin/python3 /usr/bin/meson /usr/bin/python3 /usr/bin/meson --internal gettext pot --pkgname=libgweather-locations --extra-args=--its@@/home/jeremy/devel/pkg-gnome2/libgweather/po-locations/../data/locations.its
ninja: build stopped: subcommand failed.