Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature