Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14596

catalogd 'make install' failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.14.0
    • OLM / Registry
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Catalogd make install failed because of the gorelease missing.

      Version-Release number of selected component (if applicable):

      https://github.com/openshift/operator-framework-catalogd
      commit c660fae7c9482144179993974f1aad187b228f33 (HEAD -> main, origin/release-4.15, origin/release-4.14, origin/main, origin/HEAD)

      How reproducible:

      always

      Steps to Reproduce:

      1.$git clone https://github.com/openshift/operator-framework-catalogd.git 
      2.$make kind-cluster......
      Set kubectl context to "kind-catalogd"
      You can now use your cluster with:
      
      $oc cluster-info --context kind-catalogd
       3.$make install
      make: *** No rule to make target 'goreleaser', needed by 'linux/manager'.  Stop. 

      Actual results:

      $make install
      make: *** No rule to make target 'goreleaser', needed by 'linux/manager'.  Stop.

      Expected results:

      $ make install
      warning: GOPATH set to GOROOT (/home/jfan/go) has no effect
      (re)installing /home/jfan/go/bin/goreleaser-v1.16.2
      warning: GOPATH set to GOROOT (/home/jfan/go) has no effect
      GOOS=linux sh -c 'mkdir -p bin/linux && /home/jfan/go/bin/goreleaser-v1.16.2 build --snapshot --clean --id manager --single-target -o bin/linux/manager'
      warning: GOPATH set to GOROOT (/home/jfan/go) has no effect
        • starting build...

      Additional info:

      upstream fix:https://github.com/operator-framework/catalogd/pull/79

              angoldst@redhat.com Andy Goldstein (Inactive)
              rhn-support-jfan Jia Fan
              None
              None
              Jia Fan Jia Fan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: