Skip to content

Compile Error #1

@Sharelter

Description

@Sharelter

I just wanna build cf-tool on my chromebook with aarch64 architecture.

I tried to execute the command go get github.com/woshiluo/cf-tool .

And I got this error message.

/src/github.com/woshiluo/cf-tool/cf.go:160:17: cannot use opts (type "github.com/woshiluo/cf-tool/vendor/github.com/docopt/docopt-go".Opts) as type "github.com/xalanq/cf-tool/vendor/github.com/docopt/docopt-go".Opts in argument to cmd.Eval

Here is my uname -a information

Linux penguin 5.10.120-16471-g167ad2e5dcba #1 SMP PREEMPT Fri Jul 29 18:58:01 PDT 2022 aarch64 GNU/Linux

And the information of golang apt package

Package: golang
Version: 2:1.15~1
Priority: optional
Section: golang
Source: golang-defaults
Maintainer: Go Compiler Team <team+go-compiler@tracker.debian.org>
Installed-Size: 11.3 kB
Depends: golang-1.15, golang-doc (>= 2:1.15~1), golang-go (>= 2:1.15~1), golang-src (>= 2:1.15~1)
Homepage: https://golang.org
Download-Size: 4,844 B
APT-Manual-Installed: yes
APT-Sources: https://deb.debian.org/debian bullseye/main arm64 Packages
Description: Go programming language compiler - metapackage
 The Go programming language is an open source project to make
 programmers more productive. Go is expressive, concise, clean, and
 efficient. Its concurrency mechanisms make it easy to write programs
 that get the most out of multicore and networked machines, while its
 novel type system enables flexible and modular program construction.
 Go compiles quickly to machine code yet has the convenience of
 garbage collection and the power of run-time reflection. It's a
 fast, statically typed, compiled language that feels like a
 dynamically typed, interpreted language.
 .
 This package is a metapackage that, when installed, guarantees
 that (most of) a full Go development environment is installed.

Feel free to tell me if you need more information to debug ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions