Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-5336

traefik build requires older go env, or newer quic-go, or we move to traefik 2.9.10?

XMLWordPrintable

    • False
    • None
    • False

      Since we updated base images to rhel 8.9 / go toolset 1.20, we are getting this failure:

      2023-11-19 12:54:36,226 - atomic_reactor.tasks.binary_container_build - INFO - [1/2] STEP 21/24: RUN go generate &&     go build ./cmd/traefik
      2023-11-19 12:54:36,228 - atomic_reactor.tasks.binary_container_build - INFO - # github.com/lucas-clemente/quic-go/internal/qtls
      2023-11-19 12:54:36,228 - atomic_reactor.tasks.binary_container_build - INFO - vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go:6:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration
      2023-11-19 12:54:36,228 - atomic_reactor.tasks.binary_container_build - INFO - 
      2023-11-19 12:54:36,229 - atomic_reactor.tasks.binary_container_build - ERROR - Error: building at STEP "RUN go generate &&     go build ./cmd/traefik": while running runtime: exit status 1
      

      https://download.eng.bos.redhat.com/brewroot/work/tasks/874/57060874/x86_64.log

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: