cybozu-go / aptutil

Go utilities for Debian APT repositories
MIT License
124 stars 29 forks source link

Not building on arm #38

Closed nexus166 closed 5 years ago

nexus166 commented 5 years ago
> docker run -ti --rm resin/armhf-alpine-golang bash
bash-4.4# go get -v -u github.com/cybozu-go/aptutil/...
github.com/cybozu-go/aptutil (download)
github.com/pkg/errors (download)
github.com/cybozu-go/cmd (download)
github.com/cybozu-go/log (download)
github.com/cybozu-go/netutil (download)
Fetching https://golang.org/x/net/netutil?go-get=1
Parsing meta tags from https://golang.org/x/net/netutil?go-get=1 (status code 200)
get "golang.org/x/net/netutil": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net/netutil?go-get=1
get "golang.org/x/net/netutil": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
github.com/spf13/pflag (download)
github.com/spf13/viper (download)
github.com/fsnotify/fsnotify (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/hashicorp/hcl (download)
github.com/magiconair/properties (download)
github.com/mitchellh/mapstructure (download)
github.com/pelletier/go-toml (download)
github.com/spf13/afero (download)
Fetching https://golang.org/x/text/transform?go-get=1
Parsing meta tags from https://golang.org/x/text/transform?go-get=1 (status code 200)
get "golang.org/x/text/transform": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/transform?go-get=1
get "golang.org/x/text/transform": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
golang.org/x/text (download)
Fetching https://golang.org/x/text/unicode/norm?go-get=1
Parsing meta tags from https://golang.org/x/text/unicode/norm?go-get=1 (status code 200)
get "golang.org/x/text/unicode/norm": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/unicode/norm?go-get=1
get "golang.org/x/text/unicode/norm": verifying non-authoritative meta tag
github.com/spf13/cast (download)
github.com/spf13/jwalterweatherman (download)
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
github.com/BurntSushi/toml (download)
github.com/cybozu-go/aptutil
github.com/hashicorp/hcl/hcl/strconv
github.com/spf13/afero/mem
golang.org/x/text/transform
golang.org/x/sys/unix
github.com/pkg/errors
github.com/cybozu-go/aptutil/apt
github.com/cybozu-go/log
golang.org/x/net/netutil
github.com/cybozu-go/netutil
github.com/spf13/pflag
github.com/hashicorp/hcl/hcl/token
github.com/hashicorp/hcl/hcl/ast
github.com/hashicorp/hcl/hcl/scanner
github.com/hashicorp/hcl/json/token
github.com/hashicorp/hcl/hcl/parser
github.com/hashicorp/hcl/json/scanner
github.com/hashicorp/hcl/json/parser
github.com/hashicorp/hcl/hcl/printer
github.com/fsnotify/fsnotify
github.com/hashicorp/hcl
github.com/mitchellh/mapstructure
github.com/pelletier/go-toml
github.com/magiconair/properties
golang.org/x/text/unicode/norm
github.com/spf13/jwalterweatherman
github.com/spf13/cast
gopkg.in/yaml.v2
github.com/BurntSushi/toml
github.com/spf13/afero
github.com/spf13/viper
github.com/cybozu-go/cmd
github.com/cybozu-go/aptutil/cacher
github.com/cybozu-go/aptutil/mirror
# github.com/cybozu-go/aptutil/mirror
src/github.com/cybozu-go/aptutil/mirror/config.go:9:2: imported and not used: "github.com/cybozu-go/cmd" as well
src/github.com/cybozu-go/aptutil/mirror/config.go:168:11: undefined: cmd
src/github.com/cybozu-go/aptutil/mirror/control.go:10:2: imported and not used: "github.com/cybozu-go/cmd" as well
src/github.com/cybozu-go/aptutil/mirror/mirror.go:16:2: imported and not used: "github.com/cybozu-go/cmd" as well
# github.com/cybozu-go/aptutil/cacher
src/github.com/cybozu-go/aptutil/cacher/cacher.go:20:2: imported and not used: "github.com/cybozu-go/cmd" as well
src/github.com/cybozu-go/aptutil/cacher/config.go:3:8: imported and not used: "github.com/cybozu-go/cmd" as well
src/github.com/cybozu-go/aptutil/cacher/config.go:61:6: undefined: cmd
src/github.com/cybozu-go/aptutil/cacher/server.go:6:2: imported and not used: "github.com/cybozu-go/cmd" as well
takahisa commented 5 years ago

@nexus166 This is caused by renaming cybozu-go/cmd to cybozu-go/well. ARM is not related to this problem. So please wait a bit while we fix the builds. Thanks!