Gentoo Archives: gentoo-user

From: "Håkon Alstadheim" <hakon@×××××××××××××××.no>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] portage sandbox path-depth limit ?
Date: Tue, 30 Oct 2018 06:30:40
Message-Id: 5e547720-d07f-85e7-0c35-4216542e2716@alstadheim.priv.no
1 I'm having fun enabling "test" in FEATURES on my gentoo-desktop. One
2 interesting failure, that brings to mind build failures I have had in
3 the past:
4
5 Building sys-apps/mlocate-0.26-r2, I get
6
7      43: updatedb: Very deep hierarchy                   FAILED
8 (updatedb.at:261)
9
10 Trying to reproduce, as root I do "make check" in the work/mlocate-0.26/
11 , and the test passes.
12
13  43: updatedb: Very deep hierarchy                   ok
14
15 I'd really like to get to the bottom of this, as I believe it must have
16 the same root-cause as issues I have had compiling large packages such
17 as firefox.
18
19 Re-running both the emerge and the make check, I get the same results.
20 emerge fails, make check succeeds. I made a local copy of the ebuild and
21 inserted a "ulimit -a" in pre_src_test.
22
23 ulimit from root-shell:
24
25 # ulimit -a
26 core file size          (blocks, -c) unlimited
27 data seg size           (kbytes, -d) unlimited
28 scheduling priority             (-e) 0
29 file size               (blocks, -f) unlimited
30 pending signals                 (-i) 59958
31 max locked memory       (kbytes, -l) 16384
32 max memory size         (kbytes, -m) unlimited
33 open files                      (-n) 1024
34 pipe size            (512 bytes, -p) 8
35 POSIX message queues     (bytes, -q) 819200
36 real-time priority              (-r) 0
37 stack size              (kbytes, -s) 8192
38 cpu time               (seconds, -t) unlimited
39 max user processes              (-u) 10000
40 virtual memory          (kbytes, -v) unlimited
41 file locks                      (-x) unlimited
42
43 ulimit from emerge:
44
45 >>> Source compiled.
46 core file size          (blocks, -c) unlimited
47 data seg size           (kbytes, -d) unlimited
48 scheduling priority             (-e) 0
49 file size               (blocks, -f) unlimited
50 pending signals                 (-i) 59958
51 max locked memory       (kbytes, -l) 16384
52 max memory size         (kbytes, -m) unlimited
53 open files                      (-n) 1024
54 pipe size            (512 bytes, -p) 8
55 POSIX message queues     (bytes, -q) 819200
56 real-time priority              (-r) 0
57 stack size              (kbytes, -s) 9788
58 cpu time               (seconds, -t) unlimited
59 max user processes              (-u) 10000
60 virtual memory          (kbytes, -v) unlimited
61 file locks                      (-x) unlimited
62 >>> Test phase: sys-apps/mlocate-0.26-r2
63
64 I have plenty of space in my portage temp directory (/pt):
65
66  # df -hT ./
67 Filsystem      Type Størrelse Brukt Tilgj. Bruk% Montert på
68 /dev/xvdc      ext4      163G  8,0G   147G    6% /pt
69
70 Portage temp is at /pt due to the earlier mentioned issues with firefox.
71
72 At my wits end here. Anyone ?

Replies

Subject Author
Re: [gentoo-user] portage sandbox path-depth limit ? Mick <michaelkintzios@×××××.com>