Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Packages failed to build during 17.0 -> 17.1 migration
Date: Sun, 09 Jun 2019 18:02:02
Message-Id: 3HH6TYHI.MKN45NLB.E3FIP2YO@TQUAJUSB.BT6BJPLC.XGSB7F5P
In Reply to: Re: [gentoo-user] Packages failed to build during 17.0 -> 17.1 migration by Ilya Trukhanov
1 On 2019.06.07 06:24, Ilya Trukhanov wrote:
2 > On Fri, Jun 07, 2019 at 08:03:30AM +0100, Sergei Trofimovich wrote:
3 > > On Thu, 06 Jun 2019 18:49:48 -0400
4 > > Jack <ostroffjh@×××××××××××××××××.net> wrote:
5 > >
6 > > > On 2019.06.06 18:38, Ilya Trukhanov wrote:
7 > > > > Namely x11-libs/libX11 and dev-libs/glib:
8 > > > >
9 > > > > - libX11 failed during configure because it couldn't find xcb;
10 > > > > - glib failed during configure because it couldn't find
11 > libmount.
12 > > > >
13 > > > > Looks like it is an order issue, because after rebuilding
14 > > > > x11-libs/libxcb and sys-apps/util-linux, both libX11 and glib
15 > built
16 > > > > just
17 > > > > fine.
18 > > > >
19 > > > > Should I report bugs for these? The news item says:
20 > > > >
21 > > > > >If you have any problems with the new profiles or the migration
22 > > > > >procedure, please report a bug and make it block the tracker.
23 > > > >
24 > > > > But I'm a little reluctant to do so for various reasons.
25 > > > >
26 > > > I'm in the same situation. I've had several rebuild failures that
27 > > > succeeded after re-emerging one/some of what they depend on,
28 > although I
29 > > > would have expected those to also be rebuilt.
30 > > >
31 > > > I wonder if the instructions should be "emerge -1 --deep /lib32
32 > > > /usr/lib32" ? I'll have to try it once I'm done with the current
33 > set
34 > > > of emerges.
35 > > >
36 > > > Anyway - it probably does make sense to file the bug - the worst
37 > they
38 > > > will do is close it as not a bug, and hopefully at least tell you
39 > what
40 > > > you should have done to avoid the problem.
41 > > >
42 > >
43 > > I think the emerge command as stated in the news item is incomplete
44 > > as emerge does not pick correct rebuild order (it assumes all
45 > packages
46 > > are installed and in order, thus picks arbitrary rebuild order).
47 > >
48 > > Try to add --complete-graph to it:
49 > > emerge -1 --deep --complete-graph /lib32 /usr/lib32
50 > >
51 > > --
52 > >
53 > > Sergei
54 > >
55 >
56 > Unfortunately this still doesn't guarantee the correct build order for
57 > me. I wonder if running emerge with --keep-going a few times would
58 > work in
59 > this situation?
60 >
61 > It might be a good idea to mention this issue somewhere on the wiki
62 > or in a
63 > follow-up news item. I doubt we're the last to face this problem now
64 > that 17.1 profiles are stable.
65 >
66 I opened bug 687600 to improve the New item for this.
67 For me, adding --deep to the emerge command fixed the build order.
68 I would guess that adding --keep-going, and running multiple times
69 would eventually get everything rebuilt also.
70
71 Jack