-
Notifications
You must be signed in to change notification settings - Fork 452
godep: Unable to find dependent package golang.org/x/sys/unix in context of /Users/apple/workspace/go/src/github.com/Sirupsen/logrus #377
Comments
SO, is this a bug ? Or misuse by me ?
My json file includes it now
|
It is a transitive dependency that "go get" does not fetch, but can be required on other platforms to build the package. Older versions of godep relied on the go tool, but we no longer do, for exactly this reason. I plan on enhancing this workflow, especially around GO15VENDOREXPERIMENT. Sent from my iPhone
|
I've hit this as well while attempting cross platform compilations on our CI build server. I added a |
@mikeatlas |
Also ran into this with Pulling from master on godep, and re-installing resolved this for me. maybe take a look at that? |
@geofffranks Yes, this should be fixed as of a month or two ago. I'm going to close this issue, but feel free to re-open if it's still failing with deps saved by v55. Thanks! |
I'm seeing this during save, it's quite confusing.
Is this because |
Something you are requiring is transitively pulling in golang.org/x/sys/unix across OSes. |
I am running go 1.6 and godep v56, and still having this issue with logrus:
|
|
I had the same issue. Saidly, We Tianchao people can't asscess golang.org directly, and I had to download the package via proxy manually to solve the dependency issue... |
the terminals_solaris.go in the Logrus package has a build constraints I build my project on centos,, so I don't need Should we add a |
Sorry. I should have replied sooner. This got lost in email. :-( I'd much rather do this by making this configurable via an array in Godps.json. Plus ensure that our code handles all the various permutations of build tags. And maybe default to what is hard coded now. |
Any updates on this? Running Go1.6 and Godep 70 on OSX and still getting this error with |
I'm also having problems with the golang.org/x/sys/unix when saving the applications dependencies. @freeformz |
@diogogmt This is likely due to the fact that godep ignores arch build constraints, since it doesn't know where you will finally compile code. It's very common for people to dev on macOS, but build on Linux for instance. |
getting same error [godep: Package (golang.org/x/sys/unix) not found]
|
Weird, after updating from 1.6.2 to 1.7 on macos 10.8.x I'm running into the same error
I got it fixed after deleting /usr/local/go and doing a clean instalation followed by |
FWIW: Now that work has started for a native solution ( On Mon, Aug 29, 2016 at 1:47 AM thomasmodeneis notifications@github.com
|
PS: You will need to add "solaris" to the list of ignores in On Mon, Aug 29, 2016 at 11:10 AM Edward Muller edwardam@interlix.com
|
I have the same problem when building docker image. It can be solved by adding below go get
|
Doesn't seem to work anymore as it's become a redirect to https://godoc.org/golang.org/x/sys/unix |
I encountered the same problem, my environment is: govendor works well. When I ran command: go get -u -v golang.org/x/sys/unix, it also failed with output: |
I met the problem:
|
After I delete the pakage, and run go get again, it works know. :) |
I am getting the same error. @ashcrow if the package is no longer hosted at golang.org why do other packages still reference that import path?
When I try to
The odd part is that when The TLS timeout happens with this package as well:
|
Turns out this was an issue with OpenDNS fsnotify/fsnotify#204 (comment) |
I'm seeing similar errors. Has anyone identified a solution?
|
Turns out mine was an issue with Little Snitch (a network filter), although Im still not clear why. |
fix this by downloading packages manually.
|
on go 1.5.2
I cant work out why it screams for logrus.
The text was updated successfully, but these errors were encountered: