Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS against meson-0.44.0 (or newer) #161

Closed
rdieter opened this issue Dec 29, 2017 · 2 comments
Closed

FTBFS against meson-0.44.0 (or newer) #161

rdieter opened this issue Dec 29, 2017 · 2 comments

Comments

@rdieter
Copy link

rdieter commented Dec 29, 2017

Builds fine using meson-0.43, starting with meson-0.44.0 however, fails wrt po/ directory somewhere:

[3/5] /usr/bin/python3 /usr/bin/meson --internal msgfmthelper ../data/org.freedesktop.appstream.cli.metainfo.xml data/org.freedesktop.appstream.cli.metainfo.xml xml /home/rdieter/SCM/github.com/appstream/po --datadirs=/home/rdieter/SCM/github.com/appstream/data/
FAILED: data/org.freedesktop.appstream.cli.metainfo.xml
/usr/bin/python3 /usr/bin/meson --internal msgfmthelper ../data/org.freedesktop.appstream.cli.metainfo.xml data/org.freedesktop.appstream.cli.metainfo.xml xml /home/rdieter/SCM/github.com/appstream/po --datadirs=/home/rdieter/SCM/github.com/appstream/data/
msgfmt: error while opening "/home/rdieter/SCM/github.com/appstream/po/zh_TW.po/noc.po/ncs.po/nca.po/nja.po/nsl.po/neu.po/npl.po/nen_GB.po/nfi.po/npt.po/nhu.po/nlt.po/nckb.po/nnl.po/nda.po/ngl.po/nko.po/nuk.po/ngd.po/nes.po/nar.po/nsr@latin.po/nnb_NO.po/nsk.po/nid.po/ntr.po/nit.po/nsv.po/nru.po/nfr.po/npt_BR.po/nde.po/nzh_CN.po/nsr.po" for reading: Not a directory

Or is this a meson bug/regression?

@ximion
Copy link
Owner

ximion commented Dec 29, 2017

I am pretty sure this is a Meson regression, but I haven't had the time yet to debug the issue. The problem started to appear with Meson 0.44, all previous Meson versions are fine.
The issue is reported at Meson upstream as mesonbuild/meson#2845

@ximion
Copy link
Owner

ximion commented Jan 7, 2018

Hah! This is actually a bug in Meson as well as a bug in AppStream. The AppStream one is a bit more severe though.
Patch will happen in a minute.

ximion added a commit that referenced this issue Jan 7, 2018
This resolves issue #161, newer versions of Meson started to run the
(buggy) LINGUAS update target by default for some reason.
@ximion ximion closed this as completed Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants