1 |
Hello, |
2 |
|
3 |
On Mon, 14 May 2018, Elijah Mark Anderson wrote: |
4 |
>in the build log. I had forgotten that I was running emerge with MAKEOPTS="- |
5 |
>j9", which means that errors are not always at the bottom of the log. When I |
6 |
>remembered it, I searched the log for "error[: ]", and bingo! Here's the |
7 |
>relevant entry: |
8 |
> |
9 |
>[39/106] /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal |
10 |
>msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ |
11 |
>org.freedesktop.appstream.cli.metainfo.xml data/ |
12 |
>org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ |
13 |
>appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ |
14 |
>portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ |
15 |
>FAILED: data/org.freedesktop.appstream.cli.metainfo.xml |
16 |
>/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal |
17 |
>msgfmthelper ../appstream-APPSTREAM_0_11_5/data/ |
18 |
>org.freedesktop.appstream.cli.metainfo.xml data/ |
19 |
>org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/ |
20 |
>appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/ |
21 |
>portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/ |
22 |
>msgfmt: error while opening "/var/tmp/portage/dev-libs/appstream-0.11.5/work/ |
23 |
>appstream-APPSTREAM_0_11_5/po/zh_TW.po/nja.po/npt_BR.po/nsr@×××××.po/ncs.po/ |
24 |
>ngd.po/nfi.po/nid.po/nlt.po/nen_GB.po/nzh_CN.po/nuk.po/nckb.po/nar.po/nnl.po/ |
25 |
>nru.po/nko.po/nda.po/nsr.po/nfr.po/nhu.po/npt.po/nit.po/nsv.po/nca.po/nes.po/ |
26 |
>nde.po/nsl.po/noc.po/ngl.po/npl.po/ntr.po/nsk.po/neu.po" for reading: Not a |
27 |
>directory |
28 |
> |
29 |
>Looks like you were right after all, as |
30 |
>https://bugs.gentoo.org/640916#c7 is indeed a pretty dang close |
31 |
>match. Looks like a bug in the package itself. I'll mask this |
32 |
>version, as #c13 claims this is fixed in 0.11.8. Hopefully that'll be |
33 |
>in the tree soon(TM). |
34 |
|
35 |
In the meantime, put the attached patch into |
36 |
/etc/portage/patches/dev-libs/appstream-0.11.5/ |
37 |
e.g. as appstream-0.11.5-po_meson_build.patch |
38 |
|
39 |
We've got a rare case of "over-escaping" in the meson.build for once, |
40 |
as meson seems to replace '\\' even in commands by '/', so we end up |
41 |
with '/n' instead of '\n', i.e. "find -printf '%f/n'" instead of |
42 |
the correct "find -printf '%f\n'". The single '\n' get replaced by |
43 |
meson by an actual linebreak, so that works too. |
44 |
|
45 |
Upstream has fixed it in .8 by putting that stuff into an extra script |
46 |
see https://github.com/ximion/appstream/blob/master/contrib/meson/update-linguas.sh |
47 |
|
48 |
HTH, |
49 |
-dnh |
50 |
|
51 |
-- |
52 |
> Vollmonde erscheinen Periodisch alle 28 Tage. |
53 |
erst jetzt wird mir die Bedeutung des "blutroten Mondes" richtig bewußt. |
54 |
[Harald Stowasser und Cheatah in dag°] |