Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Errors building #59

Closed
catsby opened this issue Apr 1, 2014 · 2 comments
Closed

Errors building #59

catsby opened this issue Apr 1, 2014 · 2 comments

Comments

@catsby
Copy link
Contributor

catsby commented Apr 1, 2014

Revisiting this project after a while , now I can't build it:

$ go get -u . 
package github.com/octokit/go-octokit
    imports github.com/fhs/go-netrc/netrc
    imports github.com/jtacoma/uritemplates
    imports github.com/lostisland/go-sawyer
    imports github.com/lostisland/go-sawyer/hypermedia
    imports github.com/lostisland/go-sawyer/mediatype
    imports github.com/lostisland/go-sawyer/mediaheader
    imports github.com/lostisland/go-sawyer/mediaheader
    imports github.com/lostisland/go-sawyer/mediaheader: cannot find package "github.com/lostisland/go-sawyer/mediaheader" in any of:
    /Users/clint/Developer/Cellar/go/1.2.1/libexec/src/pkg/github.com/lostisland/go-sawyer/mediaheader (from $GOROOT)
    /Users/clint/Projects/Go/src/github.com/lostisland/go-sawyer/mediaheader (from $GOPATH)

Ideas on what I'm doing wrong? I tried updating my copy of gopack, but that throws a panic :/

$ ./gp 
/// g o p a c k ///
updating github.com/fhs/go-netrc/netrc
pointing github.com/fhs/go-netrc/netrc at commit 4422b68c9c934b03e8e53ef18c8c8714542def7e
updating github.com/lostisland/go-sawyer
pointing github.com/lostisland/go-sawyer at commit ec1b99a1915d53f09d40d0c87caf60460b7f8728
updating github.com/bmizerany/assert
pointing github.com/bmizerany/assert at commit e17e99893cb6509f428e1728281c2ad60a6b31e3
panic: runtime error: index out of range

goroutine 1 [running]:
runtime.panic(0x137540, 0x2e1c17)
    /Users/clint/Developer/Cellar/go/1.2.1/libexec/src/pkg/runtime/panic.c:266 +0xb6
main.main()
    /Users/clint/Projects/Go/src/github.com/d2fn/gopack/main.go:50 +0x373
@owenthereal
Copy link
Contributor

@catsby go-octokit is locked to an earlier version of go-sawyer using gopack. You could build it with ./script/build and test it with ./script/test, which use the vendor version of gopack.

@catsby
Copy link
Contributor Author

catsby commented Apr 1, 2014

excellent, thanks, everything 👍 now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants