Issue 96797 - build: Cannot create temporary directory for checkout
Summary: build: Cannot create temporary directory for checkout
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: current
Hardware: Sun All
: P3 Trivial (vote)
Target Milestone: OOo 3.1
Assignee: Stephan Bergmann
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 12:28 UTC by Stephan Bergmann
Modified: 2009-01-19 12:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Stephan Bergmann 2008-12-02 12:28:31 UTC
Experienced while building DEV300m35 on Mac OS X (with TMP environment variable
not set) that something like

cd $SRC_ROOT/finalize && build --from connectivity

fails with

ERROR: Cannot create temporary directory for checkout in /tmp/91117

The problem is that there happens to already exist a plain file /tmp/91117 and
trunk/solenv/bin/build.pl@262052 l. 2163 checks for -d instead of -e.
Comment 1 Stephan Bergmann 2008-12-02 12:31:44 UTC
For now, fixed as cws/sb102/solenv/bin/build.pl@264695.

@vg:  However, please consider replacing broken-by-design get_tmp_dir with
something good.
Comment 2 Stephan Bergmann 2008-12-12 12:47:21 UTC
.
Comment 3 Stephan Bergmann 2009-01-19 12:44:12 UTC
.