-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
build: run.bash fails in ../misc/swig/{stdio,callback} #22824
Comments
More info, perhaps relevant (do we need a version check?)
|
@rsc Any ideas? |
Sounds like something is broken with your swig installation. 3.0.12 is new enough. But SWIG is complaining that it can't find go.swg, which should normally be available in INSTALLDIR/share/swig/3.0.12, in your care presumably /opt/local/share/swig/3.0.12. Your SWIG is installed in /opt/local/bin; did you install it yourself? Where did it come from? |
It came from MacPorts, some other piece of software thought that it needed it. |
"Workaround": sudo /opt/local/bin/port install swig-go So perhaps the swig test could be a bit more discriminating, but the workaround is an easy one. |
I also hit a problem like this on one of our systems. I didn't dig into too much but it looked like the swig install didn't agree with what the test required. I agree with the last comment by @dr2chase, the test could be more discriminating. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +5f29a7a705 Mon Nov 20 20:29:43 2017 +0000 darwin/amd64
(Essentially tip as of this bug report)
Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/drchase/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/drchase/GoogleDrive/work/gocode"
GORACE=""
GOROOT="/Users/drchase/GoogleDrive/work/go-quick"
GOTMPDIR=""
GOTOOLDIR="/Users/drchase/GoogleDrive/work/go-quick/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/y4/90mx9nxx54bfvgh9jh0_410h0095tn/T/go-build662683396=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
./all.bash
What did you expect to see?
Run to completion, successfully
What did you see instead?
I could not reproduce this on Linux; however, it seemed not to run the swig tests there at all.
The text was updated successfully, but these errors were encountered: