/opt/csw/bin/go-5.2 get -d -v ./...
import "bufio": import path does not contain a slash
package bufio: unrecognized import path "bufio"
import "bytes": import path does not contain a slash
package bytes: unrecognized import path "bytes"
import "crypto/rand": import path does not begin with hostname
package crypto/rand: unrecognized import path "crypto/rand"
import "encoding/base64": import path does not begin with hostname
package encoding/base64: unrecognized import path "encoding/base64"
import "encoding/json": import path does not begin with hostname
package encoding/json: unrecognized import path "encoding/json"
import "errors": import path does not contain a slash
package errors: unrecognized import path "errors"
import "flag": import path does not contain a slash
package flag: unrecognized import path "flag"
import "fmt": import path does not contain a slash
package fmt: unrecognized import path "fmt"
github.com/armon/circbuf (download)
import "runtime": import path does not contain a slash
package github.com/armon/circbuf
imports runtime: unrecognized import path "runtime"
github.com/armon/go-metrics (download)
import "io": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports io: unrecognized import path "io"
import "log": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports log: unrecognized import path "log"
import "math": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports math: unrecognized import path "math"
import "net": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports net: unrecognized import path "net"
import "os": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports os: unrecognized import path "os"
import "os/signal": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports os/signal: unrecognized import path "os/signal"
import "strings": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports strings: unrecognized import path "strings"
import "sync": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports sync: unrecognized import path "sync"
import "syscall": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports syscall: unrecognized import path "syscall"
import "time": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports time: unrecognized import path "time"
github.com/hashicorp/go-msgpack (download)
import "encoding/binary": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports encoding/binary: unrecognized import path "encoding/binary"
import "net/rpc": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports net/rpc: unrecognized import path "net/rpc"
import "reflect": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports reflect: unrecognized import path "reflect"
import "sort": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports sort: unrecognized import path "sort"
import "unicode": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports unicode: unrecognized import path "unicode"
import "unicode/utf8": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports unicode/utf8: unrecognized import path "unicode/utf8"
github.com/hashicorp/go-syslog (download)
import "log/syslog": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports log/syslog: unrecognized import path "log/syslog"
github.com/hashicorp/logutils (download)
github.com/hashicorp/mdns (download)
github.com/hashicorp/go.net (download)
import "unsafe": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports unsafe: unrecognized import path "unsafe"
github.com/miekg/dns (download)
import "crypto": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto: unrecognized import path "crypto"
import "crypto/dsa": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/dsa: unrecognized import path "crypto/dsa"
import "crypto/ecdsa": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/ecdsa: unrecognized import path "crypto/ecdsa"
import "crypto/elliptic": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/elliptic: unrecognized import path "crypto/elliptic"
import "crypto/hmac": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/hmac: unrecognized import path "crypto/hmac"
import "crypto/md5": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/md5: unrecognized import path "crypto/md5"
import "crypto/rsa": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/rsa: unrecognized import path "crypto/rsa"
import "crypto/sha1": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/sha1: unrecognized import path "crypto/sha1"
import "crypto/sha256": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/sha256: unrecognized import path "crypto/sha256"
import "crypto/sha512": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/sha512: unrecognized import path "crypto/sha512"
import "crypto/x509": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports crypto/x509: unrecognized import path "crypto/x509"
import "encoding/base32": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports encoding/base32: unrecognized import path "encoding/base32"
import "encoding/hex": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports encoding/hex: unrecognized import path "encoding/hex"
import "hash": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports hash: unrecognized import path "hash"
import "math/big": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports math/big: unrecognized import path "math/big"
import "math/rand": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports math/rand: unrecognized import path "math/rand"
import "strconv": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports strconv: unrecognized import path "strconv"
import "text/scanner": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports text/scanner: unrecognized import path "text/scanner"
github.com/hashicorp/memberlist (download)
import "compress/lzw": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports github.com/hashicorp/memberlist
imports compress/lzw: unrecognized import path "compress/lzw"
import "crypto/aes": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports github.com/hashicorp/memberlist
imports crypto/aes: unrecognized import path "crypto/aes"
import "crypto/cipher": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports github.com/hashicorp/memberlist
imports crypto/cipher: unrecognized import path "crypto/cipher"
import "sync/atomic": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports github.com/hashicorp/memberlist
imports sync/atomic: unrecognized import path "sync/atomic"
import "io/ioutil": import path does not begin with hostname
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports github.com/hashicorp/memberlist
imports io/ioutil: unrecognized import path "io/ioutil"
import "regexp": import path does not contain a slash
package github.com/armon/circbuf
imports github.com/armon/go-metrics
imports github.com/hashicorp/go-msgpack/codec
imports github.com/hashicorp/go-syslog
imports github.com/hashicorp/logutils
imports github.com/hashicorp/mdns
imports github.com/hashicorp/go.net/ipv4
imports github.com/hashicorp/go.net/ipv6
imports github.com/miekg/dns
imports github.com/hashicorp/memberlist
imports regexp: unrecognized import path "regexp"
github.com/mitchellh/cli (download)
Fetching
https://golang.org/x/crypto/ssh/terminal?go-get=1https fetch failed.
Fetching
http://golang.org/x/crypto/ssh/terminal?go-get=1Parsing meta tags from
http://golang.org/x/crypto/ssh/terminal?go-get=1(status code 200)
get "golang.org/x/crypto/ssh/terminal": found meta tag
main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git",
RepoRoot:"https://go.googlesource.com/crypto"} at
http://golang.org/x/crypto/ssh/terminal?go-get=1get "golang.org/x/crypto/ssh/terminal": verifying non-authoritative meta
tag
Fetching
https://golang.org/x/crypto?go-get=1https fetch failed.
Fetching
http://golang.org/x/crypto?go-get=1Parsing meta tags from
http://golang.org/x/crypto?go-get=1 (status code
200)
golang.org/x/crypto (download)
and here is the output of the second run of `gmake`
On Saturday, August 15, 2015 at 2:47:14 PM UTC-7, Joshua Sonstroem wrote:Hi again everyone,
Sorry I have been gone from posting on this thread for a bit, but I was
giving it some time to allow another -- hopefully someone at OpenCSW -- to
approach compiling GCC5 for sparc before I tried again. Well, the waiting
has paid off and there is now a version of GCC5, specifically 5.2 available
on the experimental opencsw repo. Interested parties can find it here ->
http://buildfarm.opencsw.org/experimental.html#gcc5And install it with pkgutil like so -> `pkgutil -t
http://buildfarm.opencsw.org/opencsw/experimental/gcc5 -i gcc5core`
I've downloaded it and got it setup and I am able to build and run
hello-world in go using gcc-go (i.e. without the go tool) no problem. Just
like my compile of gcc-5.1 the gccgo stuff is working fine. However, I
never was able to get the "go" command to actually work in any way other
than displaying help with my self-compiled gcc-5.1 even though I could
build using gcc-go successfully.
Well, my initial tests with gcc-5.2 from OpenCSW unfortunately give the
same errors. We basically have the same situation with the go command as
build by opencsw and gcc version 5.2. Running just a simple `go build` of
hello-world fails just like my own compliled gcc5
# /opt/csw/bin/go-5.2 build hello.go
hello.go:3:8: cannot find package "fmt" in any of:
/opt/csw/src/fmt (from $GOROOT)
/home/jsonstro/go/src/fmt (from $GOPATH)
package runtime: cannot find package "runtime" in any of:
/opt/csw/src/runtime (from $GOROOT)
/home/jsonstro/go/src/runtime (from $GOPATH)
If you soft link the gcc master "src" directory into the location it is
seeking, such as "ln -s golang/go-master/src /opt/csw/src" then it fails
like my gcc-5.1 did as well:
import cycle not allowed
package fmt
imports errors
imports runtime
imports unsafe
imports runtime
I have a feeling the same zdefaultscc.go issue is happening to the opencsw
version of gcc-5.2 as well but I don't really have a way to check since I
am not the maintainer. I am worried that figuring this out is a bit over my
head (I've been banging on it for a while now with no avail) so would
appreciate ANY help from the community. Now that there is a gcc-5.2 version
for sparc available in OpenCSW experimental, and not just my wonky gcc
self-compile, I hope that others will be able to create test environments
and replicate my issue with ease.
Any help or guidance would be greatly appreciated. Truss of the build
attached as a file above.
@Ian: I would be happy to potentially give a go developer (like yourself
or another [at google]) a test account on a sparc local zone to do testing
if need be. It seems like the whole community could benefit from this if we
can get it working.
Thanks,
JSo
On Friday, May 15, 2015 at 3:56:09 PM UTC-7, Ian Lance Taylor wrote:On Fri, May 15, 2015 at 2:09 PM, Joshua Sonstroem <json...@ucsc.edu>
wrote:
The only two instances of this file are
gcc-5.1.0/objdir/sparc-sun-solaris2.10/libgo/zstdpkglist.go, which
contains
package main
var stdpkg = map[string]bool{
}
and gcc-5.1.0/objdir/sparc-sun-solaris2.10/libgo/s-zstdpkglist, which
contains
timestamp
Is that the problem?
Yes. The zstdpkglist.go file should have a list of all the standard
packages. It should be created during the libgo build. Look for the
s-zstdpkglist rule in libgo/Makefile.am. Or just try removing
sparc-sun-solaris2.10/libgo/s-zstdpkglist and running "make" to see
the commands that it runs. Something must be wrong there, but I don't
know what.
Ian
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.