From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <grant@goodyea-pc1.ces.clemson.edu>
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org
X-Spam-Level: 
X-Spam-Status: No, score=0.7 required=5.0 tests=DKIM_ADSP_NXDOMAIN,DMARC_NONE,
	MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0
Received: from g2.ces.clemson.edu (goodyea-pc1.ces.clemson.edu [130.127.222.79])
	by chiba.3jane.net (Postfix) with ESMTP id 0E3F21A47C
	for <gentoo-dev@gentoo.org>; Wed,  5 Dec 2001 13:27:51 -0600 (CST)
Received: by g2.ces.clemson.edu (Postfix, from userid 1000)
	id 152F07B8DC; Wed,  5 Dec 2001 14:27:28 -0500 (EST)
Date: Wed, 5 Dec 2001 14:27:28 -0500
From: Grant Goodyear <grant@g2.ces.clemson.edu>
To: gentoo-dev@gentoo.org
Message-ID: <20011205142727.A19751@g2.ces.clemson.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.23i
Subject: [gentoo-dev] ncurses and sandbox
Sender: gentoo-dev-admin@gentoo.org
Errors-To: gentoo-dev-admin@gentoo.org
X-BeenThere: gentoo-dev@gentoo.org
X-Mailman-Version: 2.0.6
Precedence: bulk
Reply-To: gentoo-dev@gentoo.org
X-Reply-To: goodyea@clemson.edu
List-Help: <mailto:gentoo-dev-request@gentoo.org?subject=help>
List-Post: <mailto:gentoo-dev@gentoo.org>
List-Subscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=subscribe>
List-Id: Developer discussion list <gentoo-dev.gentoo.org>
List-Unsubscribe: <http://lists.gentoo.org/mailman/listinfo/gentoo-dev>,
	<mailto:gentoo-dev-request@gentoo.org?subject=unsubscribe>
List-Archive: <http://lists.gentoo.org/pipermail/gentoo-dev/>
X-Archives-Salt: ce1a9fa9-4a35-4d3b-b52a-8249e02964e4
X-Archives-Hash: 8e36009025ffcb25e591acf6353561ba

I started to build a new system, and I decided to sandbox the
entire build.  I emerged sys-apps/sandbox _before_ even the bootstrap
step, I commented out the portage build in scripts/bootstrap.sh, and
I started the bootstrap.  Surprisingly, it seems that the ncurses
configure script creates files outside of ${D}:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox14465.log"

unlink:    /usr/tmp/conftest9012345
unlink:    /usr/tmp/conftest9012346
unlink:    /usr/lib/conftest9012345
unlink:    /usr/lib/conftest9012346
--------------------------------------------------------------------------------

I took a look at the configure script, and it seems that the 
ac_sys_long_file_names test writes (and then afterwards unlinks)
files in /usr/tmp and /usr/lib.  Any suggestions?  (Also, it appears
that the sandbox allows those conftest* files to be installed, but
not unlinked.  Is that what was wanted?)

-g2boojum-
-- 
___________________________________________________________________
|     Grant Goodyear                  |  The Secrets of Physics:   |
|     Dept. of Chemistry - Clemson U  |1. Add zero.                |
|     Clemson, SC  29634              |2. Multiply by one.         |
|-------------------------------------|3. Expand in a Taylor series|
|e-mail: goodyea@clemson.edu          |4. Integrate by parts.      |
|www:bernacchi.chem.uh.edu/~grant     |5. Fourier transform.       |
|                                     |6. Add auxiliary variables  |
|_____________________________________|____________________________|