Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] util-linux build time increase?
Date: Thu, 28 Feb 2019 09:13:32
Message-Id: a1c20277-9fdf-a1fc-0529-64e510eb7f13@gentoo.org
In Reply to: Re: [gentoo-dev] util-linux build time increase? by Alexander Tsoy
1 On 2/25/2019 05:18, Alexander Tsoy wrote:
2 > В Пн, 25/02/2019 в 13:07 +0300, Alexander Tsoy пишет:
3 >> В Чт, 21/02/2019 в 04:36 -0500, Joshua Kinard пишет:
4 >>> Does anyone have an idea why util-linux's build time would go up
5 >>> significantly from 2.32.x to 2.33.x? It may be a MIPS thing, as my
6 >>> x86_64
7 >>> box shows no discernible change in build times between the same
8 >>> versions.
9 >>> Can any other archs check w/ genlop to see if they see a large jump
10 >>> in build
11 >>> time?
12 >>>
13 >>> 'genlop -t util-linux' output on my SGI system (some entries
14 >>> removed
15 >>> for
16 >>> brevity):
17 >>>
18 >>> Thu Feb 1 11:26:33 2018 >>> sys-apps/util-linux-2.31.1
19 >>> merge time: 27 minutes and 48 seconds.
20 >>>
21 >>> Sat Mar 31 08:07:20 2018 >>> sys-apps/util-linux-2.32
22 >>> merge time: 28 minutes and 44 seconds.
23 >>>
24 >>> Mon Aug 27 06:21:30 2018 >>> sys-apps/util-linux-2.32.1
25 >>> merge time: 32 minutes and 58 seconds.
26 >>>
27 >>> Tue Nov 13 10:03:58 2018 >>> sys-apps/util-linux-2.33
28 >>> merge time: 1 hour, 19 minutes and 49 seconds.
29 >>>
30 >>> Fri Jan 11 09:20:21 2019 >>> sys-apps/util-linux-2.33.1
31 >>> merge time: 1 hour, 23 minutes and 37 seconds.
32 >>>
33 >>> Thu Feb 21 04:14:33 2019 >>> sys-apps/util-linux-2.33.1
34 >>> merge time: 1 hour, 25 minutes and 15 seconds.
35 >>>
36 >>
37 >> 2.33 was changed to use python-r1 eclass instead of python-single-r1
38 >> eclass. And the increase of build time seems caused by an out-of-
39 >> source
40 >> build for each python implementation. Some libraries are built
41 >> several
42 >> times (for native abi + for each python implementation).
43 >
44 > And there is additional configure run for each python implementation.
45
46 Hmm, this might explain things, somewhat. I think there's possibly some
47 truth to the getcwd bit discussed earlier, but that may be limited to glibc
48 only. util-linux-2.33.1 on my uclibc-ng chroot took about ~25mins. Have to
49 re-time the glibc build to see if it's something w/ the libc implementation.
50
51 Temp workaround I guess is to cut down on the PYTHON_TARGETS before my next
52 catalyst attempt. 2.7 + 3.7 should be enough...
53
54 --
55 Joshua Kinard
56 Gentoo/MIPS
57 kumba@g.o
58 rsa6144/5C63F4E3F5C6C943 2015-04-27
59 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
60
61 "The past tempts us, the present confuses us, the future frightens us. And
62 our lives slip away, moment by moment, lost in that vast, terrible in-between."
63
64 --Emperor Turhan, Centauri Republic

Replies

Subject Author
Re: [gentoo-dev] util-linux build time increase? Mart Raudsepp <leio@g.o>