Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#30057 - [go] Cannot import remote packages
Attached to Project:
Community Packages
Opened by Jesus Alvarez (demizer) - Tuesday, 29 May 2012, 04:23 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 29 May 2012, 17:46 GMT
Opened by Jesus Alvarez (demizer) - Tuesday, 29 May 2012, 04:23 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 29 May 2012, 17:46 GMT
|
DetailsDescription:
Trying to import a remote package is met with an error: import "code.google.com/p/opts-go": cannot find package Additional info: * package version(s) $ pacman -Qi go Name : go Version : 2:1.0.1-5 URL : http://golang.org/ Licenses : custom Groups : None Provides : None Depends On : perl gawk Optional Deps : None Required By : None Conflicts With : None Replaces : None Installed Size : 107048.00 KiB Packager : Alexander Rødseth <rodseth@gmail.com> Architecture : x86_64 Build Date : Wed 16 May 2012 10:35:51 AM PDT Install Date : Mon 21 May 2012 07:26:45 PM PDT Install Reason : Explicitly installed Install Script : Yes Description : Google Go compiler and tools (release version) * config and/or log files etc. $ echo $GOROOT <empty string> $ echo $GOPATH /home/demizer/projects/gocode/ Steps to reproduce: 1. Create file in $GOPATH/src/test/main.go package main import "code.google.com/p/opts-go" func main() { } 2. Go to project directory $ cd $GOPATH/src/test 3. Build $ go build 4. Fail main.go:3:8: import "code.google.com/p/opts-go": cannot find package Also tried and failed with: "github.com/hoisie/web" "github.com/mattn/go-gtk/gtk" |
This task depends upon
Closed by Jelle van der Waa (jelly)
Tuesday, 29 May 2012, 17:46 GMT
Reason for closing: Not a bug
Additional comments about closing: I mistakenly thought remote imports were automatic, but one must use the "go get" command first. This is no longer an issue.
Tuesday, 29 May 2012, 17:46 GMT
Reason for closing: Not a bug
Additional comments about closing: I mistakenly thought remote imports were automatic, but one must use the "go get" command first. This is no longer an issue.