Skip to content
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

cmd/go: Go 1.5beta2: import "C": import path does not begin with hostname #11755

Closed
pebbe opened this issue Jul 17, 2015 · 2 comments
Closed

Comments

@pebbe
Copy link
Contributor

pebbe commented Jul 17, 2015

I just upgraded to Go 1.5beta2.

Rebuilding my packages, I get:

package code.google.com/p/go-charset/cmd/tcs
        imports code.google.com/p/go-charset/charset/iconv
        imports C: unrecognized import path "C"
import "C": import path does not begin with hostname
package github.com/gosexy/redis
        imports C: unrecognized import path "C"
import "C": import path does not begin with hostname
package github.com/mattn/go-sqlite3
        imports C: unrecognized import path "C"
import "C": import path does not begin with hostname
package github.com/moovweb/gokogiri
        imports github.com/moovweb/gokogiri/html
        imports C: unrecognized import path "C"
import "C": import path does not begin with hostname
package github.com/nsf/gothic
        imports C: unrecognized import path "C"
import "C": import path does not begin with hostname
package github.com/ungerik/go-cairo
        imports C: unrecognized import path "C"

There are more packages that use C code that build without error. I don't see how they are different.

This didn't happen with Go 1.5beta1.

Linux 2.6.32-5-amd64 (Debian 6)

@pebbe pebbe changed the title import "C": import path does not begin with hostname Go 1.5beta2: import "C": import path does not begin with hostname Jul 17, 2015
@GeertJohan
Copy link
Contributor

This seems to be related to or duplicating #11738

@bradfitz
Copy link
Contributor

Looks like a dup.

@mikioh mikioh changed the title Go 1.5beta2: import "C": import path does not begin with hostname cmd/go: Go 1.5beta2: import "C": import path does not begin with hostname Jul 18, 2015
@golang golang locked and limited conversation to collaborators Jul 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants