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

all.bash script doesn't work out of the box #572

Closed
gopherbot opened this issue Jan 28, 2010 · 6 comments
Closed

all.bash script doesn't work out of the box #572

gopherbot opened this issue Jan 28, 2010 · 6 comments

Comments

@gopherbot
Copy link
Contributor

by fazzi.andrea:

What steps will reproduce the problem?
1. ./all.bash

What is the expected output? What do you see instead?

I expect a clean build/installation process but I get instead:

/home/andrea/bin/quietgcc -ggdb -I"/home/andrea/src/go"/include -O2
-fno-inline -c "/home/andrea/src/go/src/cmd/gc"/y1.tab.c
/home/andrea/src/go/src/cmd/gc/yerr.h:17: error: ‘loadsys’ undeclared here
(not in a function)

What is your $GOOS?  $GOARCH?

GOARCH=386
GOOS=linux

Which revision are you using?  (hg identify)

0a2770db06ef tip

Please provide any additional information below.

bison -V
bison (GNU Bison) 2.4.1

Issuing

LANG=en_US ./all.bash

fixes the problem as discussed in ML:

http://groups.google.com/group/golang-nuts/browse_thread/thread/603ebccd68d30d74#

but it doesn't seem the expected behaviour I guess.
@rsc
Copy link
Contributor

rsc commented Jan 29, 2010

Comment 1:

Issue #573 has been merged into this issue.

@rsc
Copy link
Contributor

rsc commented Jan 29, 2010

Comment 2:

Issue #575 has been merged into this issue.

@rsc
Copy link
Contributor

rsc commented Jan 29, 2010

Comment 3:

This issue was closed by revision 05f2636.

Status changed to Fixed.

Merged into issue #-.

@gopherbot
Copy link
Contributor Author

Comment 4 by alfonsodg:

Hey! Still problems, only works with LANG=en_US ./all.bash and after a minute:
make[2]: Entering directory `/home/alfonsodg/go/src/pkg/http'
/home/alfonsodg/bin/6g -o _gotest_.6 chunked.go client.go fs.go request.go 
response.go server.go status.go url.go  client_test.go request_test.go 
response_test.go url_test.go
rm -f _test/http.a
/home/alfonsodg/bin/gopack grc _test/http.a _gotest_.6 
make[2]: Leaving directory `/home/alfonsodg/go/src/pkg/http'
--- FAIL: http.TestRedirect
    Get http://codesearch.google.com/: dial tcp codesearch.google.com:http: 
lookup codesearch.google.com. on 200.48.225.146:53: server misbehaving
FAIL
make[1]: *** [test] Error 1
make[1]: Leaving directory `/home/alfonsodg/go/src/pkg/http'
make: *** [http.test] Error 2

@gopherbot
Copy link
Contributor Author

Comment 5 by zhangxi.raul:

Sorry, I have to say the problem remain even I've already updated to date:
cd debug/gosym && /home/raul/GO/bin/gomake test
make[1]: Entering directory `/home/raul/GO/src/pkg/debug/gosym'
/home/raul/GO/bin/gotest
sh: 6a: not found
make[1]: *** [test] Error 1
make[1]: Leaving directory `/home/raul/GO/src/pkg/debug/gosym'
make: *** [debug/gosym.test] Error 2

@gopherbot
Copy link
Contributor Author

Comment 6 by rounin.urashima:

Hello Zhangxi.raul,
The reason why you are seeing the sh: 6a: not found is because your $PATH does not
include the $GOBIN in it.
To rectify this issue you need to add the following to the end of your .bashrc file:
PATH=$PATH:$GOBIN
export PATH
ROuNIN

@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