Giter VIP home page Giter VIP logo

Comments (8)

blathers-crl avatar blathers-crl commented on August 17, 2024

Hi @liuxinbot, please add branch-* labels to identify which branch(es) this C-bug affects.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

from cockroach.

blathers-crl avatar blathers-crl commented on August 17, 2024

Hello, I am Blathers. I am here to help you get the issue triaged.

Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.

I was unable to automatically find someone to ping.

If we have not gotten back to your issue within a few business days, you can try the following:

  • Join our community slack channel and ask on #cockroachdb.
  • Try find someone from here if you know they worked closely on the area and CC them.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

from cockroach.

liuxinbot avatar liuxinbot commented on August 17, 2024

v24.1.1

from cockroach.

yuzefovich avatar yuzefovich commented on August 17, 2024

Can you provide more details about the problem you're running into?

from cockroach.

liuxinbot avatar liuxinbot commented on August 17, 2024

Can you provide more details about the problem you're running into?

@yuzefovich Thanks Reply, I switched to the v24.1.1 branch on my mac machine and executed go mod vendor and reported the following error:

$ git branch 
* (HEAD detached at v24.1.1)
  master
(base) 
$ go mod vendor 
go: github.com/cockroachdb/cockroach/pkg/blobs imports
        github.com/cockroachdb/cockroach/pkg/blobs/blobspb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/cli imports
        github.com/cockroachdb/cockroach/pkg/server/status/statuspb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/inspectz imports
        github.com/cockroachdb/cockroach/pkg/inspectz/inspectzpb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/inspectz imports
        github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvflowcontrol/kvflowinspectpb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/keyvisualizer/keyvisstorage imports
        github.com/cockroachdb/cockroach/pkg/keyvisualizer/keyvispb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvtenant imports
        github.com/cockroachdb/cockroach/pkg/multitenant/tenantcapabilities/tenantcapabilitiespb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/obs imports
        github.com/cockroachdb/cockroach/pkg/obsservice/obspb/opentelemetry-proto/collector/logs/v1: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/obs imports
        github.com/cockroachdb/cockroach/pkg/obsservice/obspb/opentelemetry-proto/common/v1: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/obs imports
        github.com/cockroachdb/cockroach/pkg/obsservice/obspb/opentelemetry-proto/logs/v1: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/obs imports
        github.com/cockroachdb/cockroach/pkg/obsservice/obspb/opentelemetry-proto/resource/v1: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/server imports
        github.com/cockroachdb/cockroach/pkg/server/diagnostics/diagnosticspb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/server imports
        github.com/cockroachdb/cockroach/pkg/util/tracing/tracingservicepb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/cockroachdb/cockroach/pkg/sql/row imports
        github.com/cockroachdb/cockroach/pkg/sql/rowenc/rowencpb: github.com/twpayne/[email protected] requires
        github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8

from cockroach.

yuzefovich avatar yuzefovich commented on August 17, 2024

What are you trying to do?

If you're trying to build cockroach binary, then there is no need to do go mod vendor after checking out a recent version like 24.1.1. In other words, say you do git fetch --tags upstream && git checkout v24.1.1, then you'd just do something like ./dev gen go or ./dev build.

from cockroach.

liuxinbot avatar liuxinbot commented on August 17, 2024

What are you trying to do?

If you're trying to build cockroach binary, then there is no need to do go mod vendor after checking out a recent version like 24.1.1. In other words, say you do git fetch --tags upstream && git checkout v24.1.1, then you'd just do something like ./dev gen go or ./dev build.

@yuzefovich ./dev gen The same error is reported

$ ./dev gen
INFO: Invocation ID: 3792e1d1-6a6b-4cf3-9809-6610c60683c0
Loading:
Loading:
Loading: 0 packages loaded
Analyzing: target //pkg/cmd/mirror/go:mirror (0 packages loaded, 0 targets configured)
INFO: Analyzed target //pkg/cmd/mirror/go:mirror (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target //pkg/cmd/mirror/go:mirror up-to-date:
  _bazel/bin/pkg/cmd/mirror/go/mirror_/mirror
INFO: Elapsed time: 2.540s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: _bazel/bin/pkg/cmd/mirror/go/mirror_/mirror
panic: failed to run `go list -mod=readonly -m -json all`; got stdout , stderr go: github.com/SAP/[email protected]: invalid version: unknown revision v0.14.1
go: github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
go: github.com/twpayne/[email protected] requires
	github.com/twpayne/[email protected]: invalid version: unknown revision b263a7f6e4e8
; exit status 1

goroutine 1 [running]:
main.main()
	main/pkg/cmd/mirror/go/mirror.go:463 +0x2b
ERROR: exit status 2

from cockroach.

yuzefovich avatar yuzefovich commented on August 17, 2024

I tried git checkout v24.1.1 && go mod vendor and didn't hit the same issue. At this point, you might wanna check whether you have some untracked files in git status. I'd probably do something like git reset --hard HEAD, perhaps delete the copy of the repo and create a fresh one, things like that.

I'll close this issue since it seems specific to your environment. Consider joining our community slack where you probably will get more timely responses. https://www.cockroachlabs.com/join-community/

from cockroach.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.