You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/03/16 18:34:46 UTC

[GitHub] [trafficcontrol] zrhoffman opened a new issue #6661: 'go get' is no longer supported outside a module

zrhoffman opened a new issue #6661:
URL: https://github.com/apache/trafficcontrol/issues/6661


   <!--
   ************ STOP!! ************
   If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
   the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
   guidelines at https://apache.org/security regarding vulnerability disclosure.
   
   - For *SUPPORT QUESTIONS*, use the #traffic-control channel on the ASF slack (https://s.apache.org/tc-slack-request)
   or the Traffic Control Users mailing list (send an email to users-subscribe@trafficcontrol.apache.org to subscribe).
   - Before submitting, please **SEARCH GITHUB** for a similar issue or PR
       * https://github.com/apache/trafficcontrol/issues
       * https://github.com/apache/trafficcontrol/pulls
   -->
   
   - `go get` cannot used outside of a Go module in Go 1.18 without disabling modules. This breaks
   - `go get` no longer installs a binary
   
   <!-- Do not submit security vulnerabilities or support requests here - see above -->
   ## This Bug Report affects these Traffic Control components:
   <!-- delete all those that don't apply -->
   - Traffic Monitor - integration tests
   - CDN in a Box
   - test/fakeOrigin
   
   ## Current behavior:
   <!-- Describe how the bug happens -->
   `tools/golang` tries to use `go get` to install `gocovmerge` and `go-junit-report`:
   ```shell
   cd tools/golang
   docker-compose build
   [...]
    > [unit 1/1] RUN go get github.com/wadey/gocovmerge &&    go get github.com/jstemmer/go-junit-report:
   #10 0.909 go: go.mod file not found in current directory or any parent directory.
   #10 0.909       'go get' is no longer supported outside a module.
   #10 0.909       To build and install a command, use 'go install' with a version,
   #10 0.909       like 'go install example.com/cmd@latest'
   #10 0.909       For more information, see https://golang.org/doc/go-get-install-deprecation
   #10 0.909       or run 'go help get' or 'go help install'.
   ```
   
   ## Expected behavior:
   <!-- Describe what the behavior would be without the bug -->
   We still need to build and install these binaries somehow


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] shamrickus closed issue #6661: 'go get' is no longer supported outside a module

Posted by GitBox <gi...@apache.org>.
shamrickus closed issue #6661:
URL: https://github.com/apache/trafficcontrol/issues/6661


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org