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: cannot find module providing package code.google.com/p/ftp4go #40824

Closed
mukhtar13 opened this issue Aug 16, 2020 · 2 comments
Closed

cmd/go: cannot find module providing package code.google.com/p/ftp4go #40824

mukhtar13 opened this issue Aug 16, 2020 · 2 comments

Comments

@mukhtar13
Copy link

@mukhtar13 mukhtar13 commented Aug 16, 2020

What version of Go are you using (go version)?

$ go version
go version go1.13.1 linux/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:        16.04
Codename:       xenial

$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/username/.cache/go-build"
GOENV="/home/username/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY="gitlab.example.com/"
GONOSUMDB="gitlab.example.com/
"
GOOS="linux"
GOPATH="/home/username/go-workspace"
GOPRIVATE="gitlab.example.com/*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/username/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/username/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/username/go-workspace/src/gitlab.example.com/bdr/BBS/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build052994486=/tmp/go-build -gno-record-gcc-switches"

What did you do?

run below command init is successful but make fails as it gives an error "cannot find module providing package code.google.com/p/ftp4go"
the package "code.google.com/p/ftp4go" is used in code and directory is available in the vendor directory.
go mod init gitlab.example.com/x/y
make

What did you expect to see?

make should run successful
and if not possible to download the library it should skip the package "code.google.com/p/ftp4go" and complete the make as package is available in vendor directory if I don't use go mod the make is successful.

What did you see instead?

cannot find module providing package code.google.com/p/ftp4go

@dmitshur
Copy link
Member

@dmitshur dmitshur commented Aug 18, 2020

make should run successful

What does "make" refer to? Is it the make command that executes a Makefile? If so, please either point to it, or share what command it runs. Otherwise it's not possible to understand where the problem is.

and if not possible to download the library it should skip the package "code.google.com/p/ftp4go"

What is "it" in this context? Can you please clarify?

@dmitshur dmitshur added this to the Backlog milestone Aug 18, 2020
@dmitshur dmitshur changed the title cannot find module providing package code.google.com/p/ftp4go cmd/go: cannot find module providing package code.google.com/p/ftp4go Aug 18, 2020
@gopherbot
Copy link

@gopherbot gopherbot commented Sep 18, 2020

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.