From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-185254-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C186D138334
	for <garchives@archives.gentoo.org>; Tue, 30 Oct 2018 06:30:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F17DEE085D;
	Tue, 30 Oct 2018 06:30:31 +0000 (UTC)
Received: from asav21.altibox.net (asav21.altibox.net [109.247.116.8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 498ACE07D4
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Oct 2018 06:30:30 +0000 (UTC)
Received: from postfix-relay.alstadheim.priv.no (148-252-110.181.3p.ntebredband.no [148.252.110.181])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: hakon.alstadheim@ntebb.no)
	by asav21.altibox.net (Postfix) with ESMTPSA id AAD1080159
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Oct 2018 07:30:28 +0100 (CET)
X-Finnesikke-B-A-I-T: finnesikke@alstadheim.priv.no
Received: from smtps.alstadheim.priv.no (localhost [127.0.0.1])
	by postfix-relay.alstadheim.priv.no (Postfix) with ESMTP id D57A6624E8A4
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Oct 2018 07:30:25 +0100 (CET)
Received: from [192.168.2.201] (unknown [192.168.2.201])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: hakon)
	by smtps.alstadheim.priv.no (Postfix) with ESMTPSA id 8EA73244BC05
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Oct 2018 07:30:25 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alstadheim.priv.no;
	s=smtp; t=1540881025;
	bh=T3c3Zmpt4r31FmWoUlZ7sd30syIvXmbc2mnHQOTkuQs=;
	h=To:From:Subject:Date:From;
	b=Fv6Rgbd4lPqSfNtcHSPNP0+rXHjuSoZRs0nqoHyK85oiI7czN3WlxPND+lcmvTTs6
	 hLMOHuha46nQ7Tio21GhEHs+4E/0p3gcZaw4nhrfPgQvO18/almkfhrHX1+NgX7H2I
	 JClG+yaiIJSpipYL5F0HnBHgc+NHZGsPW8G/AfrQ=
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
From: =?UTF-8?Q?H=c3=a5kon_Alstadheim?= <hakon@alstadheim.priv.no>
Subject: [gentoo-user] portage sandbox path-depth limit ?
Message-ID: <5e547720-d07f-85e7-0c35-4216542e2716@alstadheim.priv.no>
Date: Tue, 30 Oct 2018 07:30:23 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.3 cv=ZI75Z0zb c=1 sm=1 tr=0
	a=nKBCZnvRSnKQV5aoQPnoIA==:117 a=nKBCZnvRSnKQV5aoQPnoIA==:17
	a=IkcTkHD0fZMA:10 a=smKx5t2vBNcA:10 a=p74sl00Gf_xs6EZZu4kA:9
	a=QEXdDO2ut3YA:10
X-Archives-Salt: 92661b30-26f0-4ca6-a6f3-6807a60c3e37
X-Archives-Hash: b0b06d3409185ac618bf35d3b605b745

I'm having fun enabling "test" in FEATURES on my gentoo-desktop. One
interesting failure, that brings to mind build failures I have had in
the past:

Building sys-apps/mlocate-0.26-r2, I get

     43: updatedb: Very deep hierarchy                   FAILED
(updatedb.at:261)

Trying to reproduce, as root I do "make check" in the work/mlocate-0.26/
, and the test passes.

 43: updatedb: Very deep hierarchy                   ok

I'd really like to get to the bottom of this, as I believe it must have
the same root-cause as issues I have had compiling large packages such
as firefox.

Re-running both the emerge and the make check, I get the same results.
emerge fails, make check succeeds. I made a local copy of the ebuild and
inserted a "ulimit -a" in pre_src_test.

ulimit from root-shell:

# ulimit -a
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 59958
max locked memory       (kbytes, -l) 16384
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 10000
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

ulimit from emerge:

>>> Source compiled.
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 59958
max locked memory       (kbytes, -l) 16384
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 9788
cpu time               (seconds, -t) unlimited
max user processes              (-u) 10000
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
>>> Test phase: sys-apps/mlocate-0.26-r2

I have plenty of space in my portage temp directory (/pt):

 # df -hT ./
Filsystem      Type Størrelse Brukt Tilgj. Bruk% Montert på
/dev/xvdc      ext4      163G  8,0G   147G    6% /pt

Portage temp is at /pt due to the earlier mentioned issues with firefox.

At my wits end here. Anyone ?