Gentoo Archives: gentoo-dev

From: Geert Bevin <gbevin@×××××××.be>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] ncurses and sandbox
Date: Wed, 05 Dec 2001 18:18:35
Message-Id: 1007597859.3681.0.camel@gentoo.theleaf.office
In Reply to: [gentoo-dev] ncurses and sandbox by Grant Goodyear
1 Hi,
2
3 I checked this and it's almost 100% sure that this is due to your bash
4 being the default portage bash. In fact for the sandbox to work fully,
5 bash should be linked dynamically instead of of statically. Then you get
6 these errors instead :
7
8 ------------------------ ACCESS VIOLATION SUMMARY-----------------------
9 LOG FILE = "/tmp/sandbox19055.log"
10
11 open_wr: /usr/tmp/conftest9012345
12 open_wr: /usr/tmp/conftest9012346
13 -------------------------------------------------------------------------
14
15 and it never arrives at the unlink stage.
16
17 The package should be checked though why this is happening.
18
19 Geert.
20
21 On Wed, 2001-12-05 at 20:27, Grant Goodyear wrote:
22 > I started to build a new system, and I decided to sandbox the
23 > entire build. I emerged sys-apps/sandbox _before_ even the bootstrap
24 > step, I commented out the portage build in scripts/bootstrap.sh, and
25 > I started the bootstrap. Surprisingly, it seems that the ncurses
26 > configure script creates files outside of ${D}:
27 >
28 > --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox14465.log"
29 >
30 > unlink: /usr/tmp/conftest9012345
31 > unlink: /usr/tmp/conftest9012346
32 > unlink: /usr/lib/conftest9012345
33 > unlink: /usr/lib/conftest9012346
34 > --------------------------------------------------------------------------------
35 >
36 > I took a look at the configure script, and it seems that the
37 > ac_sys_long_file_names test writes (and then afterwards unlinks)
38 > files in /usr/tmp and /usr/lib. Any suggestions? (Also, it appears
39 > that the sandbox allows those conftest* files to be installed, but
40 > not unlinked. Is that what was wanted?)
41 >
42 > -g2boojum-
43 --
44 Geert Bevin
45 the Leaf sprl/bvba
46 "Use what you need" Pierre Theunisstraat 1/47
47 http://www.theleaf.be 1030 Brussels
48 gbevin@×××××××.be Tel & Fax +32 2 241 19 98

Replies

Subject Author
[gentoo-dev] Sandbox ebuild Tom von Schwerdtner <tvon@×××××.org>