Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux compilation fails: "_TestRemoveAll_: no such file or directory" #120

Closed
gopherbot opened this issue Nov 12, 2009 · 1 comment
Closed

Comments

@gopherbot
Copy link
Contributor

by serpent.k:

Steps will reproduce the problem:
1.Set the environment variables.
2.cd to $GOPATH/src
3../all.bash from sudo shell.

Compilation log:
...
8g -o _gotest_.8 dir_linux.go env.go error.go exec.go file.go getwd.go
path.go proc.go stat_linux.go sys_linux.go time.go types.go
rm -f _test/os.a
gopack grc _test/os.a _gotest_.8
make[2]: Leaving directory `/usr/local/go/src/pkg/os'
--- FAIL: os_test.TestRemoveAll
        RemoveAll "_obj/_TestRemoveAll_" succeeded with chmod 0
subdirectory?(extra *os.PathError=lstat _obj/_TestRemoveAll_: no such file
or directory)
FAIL
make[1]: *** [test] Error 1
make[1]: Leaving directory `/usr/local/go/src/pkg/os'
make: *** [os.test] Error 2

$GOOS: linux
$GOARCH: 386

hg log -l 1 output:
changeset:   3975:b51fd2d6c160
tag:         tip
user:        Kevin Ballard <kevin@sb.org>
date:        Tue Nov 10 20:05:24 2009 -0800
summary:     Implement new emacs command M-x gofmt

OS details: Alt Linux Sisyphus (http://sisyphus.ru/), kernel
2.6.27-std-def-alt11
GCC version: 4.3.2
@rsc
Copy link
Contributor

rsc commented Nov 12, 2009

Comment 1:

Workaround is to run not as root.

Status changed to Duplicate.

Merged into issue #22.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants