Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-63145

Indexing depends on bhive in CE/Source-available build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Cypher
    • Cypher
    • build
    • None
    • Untriaged
    • 0
    • Unknown
    • Build Team 2024 Sprint 4

    Description

      When attempting to build Cypher using only source-available repositories (eg., repo init without -g all), the build fails with

      Error running go build for package github.com/couchbase/indexing/secondary/cmd/indexer!
      go: github.com/couchbase/bhive@v0.0.0-00010101000000-000000000000 (replaced by ../bhive): reading ../bhive/go.mod: open /home/ceej/co/cypher-source-available/goproj/src/github.com/couchbase/bhive/go.mod: no such file or directoryCMake Error at /home/ceej/co/cypher-source-available/tlm/cmake/Modules/go-modbuild.cmake:168 (MESSAGE):
        Failed running go modules build for package
        github.com/couchbase/indexing/secondary/cmd/indexer 

      This breaks some CV jobs which sync only default repositories. It also means that CE builds are including some bhive code, which is likely an error.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ceej Chris Hillery
            ceej Chris Hillery
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty