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 01:35:03
Message-Id: 6669653.7Ktdg08zdo@ares-linux
In Reply to: Re: [gentoo-user] Several packages failing to build by Mick
1 On Monday, May 14, 2018 4:53:09 PM CDT Mick wrote:
2 > On Monday, 14 May 2018 21:07:17 BST Elijah Mark Anderson wrote:
3 > > On Monday, May 14, 2018 12:58:13 PM CDT Mick wrote:
4 > > > On Monday, 14 May 2018 18:20:01 BST Elijah Mark Anderson wrote:
5 > > > > I'm having an issue with about a dozen packages not upgrading. I'd
6 > > > > really
7 > > > > appreciate some help getting them to build and install. I'm getting
8 > > > > the
9 > > > > feeling that the problems are somehow related, but really not sure.
10 > > > >
11 > > > > First up: dev-libs/appstream-0.11.5::gentoo
12 > > > > Anyone know what's going on here? This package is blocking at least 5
13 > > > > other
14 > > > > packages from upgrading, and I find the information in the logs only
15 > > > > slightly more helpful than WIndows "Something went wrong" errors.
16 > > >
17 > > > It's worth checking in BGO to see if your problems with ~amd64 packages
18 > > > are
19 > > > already reported and if any patches/fixes/workarounds have been posted.
20 > > > In
21 > > > this case have a look here, I think it is the same problem you have
22 > > > experienced:
23 > > >
24 > > > https://bugs.gentoo.org/640916
25 > > >
26 > > > --
27 > > > Regards,
28 > > > Mick
29 > >
30 > > I did come across that. I don't believe it is the same problem. For them,
31 > > the problem is during the install phase. Mine is occurring in compile
32 > > phase.
33 >
34 > Fair enough, I did not dig into it at any depth. Without knowing the real
35 > cause of this failure and if nothing else resolves it, I would try to
36 > rebuild gettext & perhaps libxml2:
37 >
38 > emerge -1aDv sys-devel/gettext dev-libs/libxml2
39 >
40 > then try emerging dev-libs/appstream once more. Running ~arch involves more
41 > troubleshooting and experimenting than I have time at present, hence I
42 > stick with stable where I can.
43 >
44 > --
45 > Regards,
46 > Mick
47
48 I tried as you suggested, to no avail. But, I *finally* found the actual error
49 in the build log. I had forgotten that I was running emerge with MAKEOPTS="-
50 j9", which means that errors are not always at the bottom of the log. When I
51 remembered it, I searched the log for "error[: ]", and bingo! Here's the
52 relevant entry:
53
54 [39/106] /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal
55 msgfmthelper ../appstream-APPSTREAM_0_11_5/data/
56 org.freedesktop.appstream.cli.metainfo.xml data/
57 org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/
58 appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/
59 portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/
60 FAILED: data/org.freedesktop.appstream.cli.metainfo.xml
61 /usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal
62 msgfmthelper ../appstream-APPSTREAM_0_11_5/data/
63 org.freedesktop.appstream.cli.metainfo.xml data/
64 org.freedesktop.appstream.cli.metainfo.xml xml /var/tmp/portage/dev-libs/
65 appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/po --datadirs=/var/tmp/
66 portage/dev-libs/appstream-0.11.5/work/appstream-APPSTREAM_0_11_5/data/
67 msgfmt: error while opening "/var/tmp/portage/dev-libs/appstream-0.11.5/work/
68 appstream-APPSTREAM_0_11_5/po/zh_TW.po/nja.po/npt_BR.po/nsr@×××××.po/ncs.po/
69 ngd.po/nfi.po/nid.po/nlt.po/nen_GB.po/nzh_CN.po/nuk.po/nckb.po/nar.po/nnl.po/
70 nru.po/nko.po/nda.po/nsr.po/nfr.po/nhu.po/npt.po/nit.po/nsv.po/nca.po/nes.po/
71 nde.po/nsl.po/noc.po/ngl.po/npl.po/ntr.po/nsk.po/neu.po" for reading: Not a
72 directory
73
74 Looks like you were right after all, as https://bugs.gentoo.org/640916#c7 is
75 indeed a pretty dang close match. Looks like a bug in the package itself. I'll
76 mask this version, as #c13 claims this is fixed in 0.11.8. Hopefully that'll be
77 in the tree soon™.
78 --
79 Elijah Mark Anderson
80 mark@××××××.name
81 --
82 「塵も積もれば山となる。」
83 "Even dust, when piled up, becomes a mountain" - Ancient Japanese proverb

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Several packages failing to build David Haller <gentoo@×××××××.de>