Skip to contentSkip to conversation

websocketd: Add GOPROXY variable

PATCH Superseded Ryan Eatmon 2 participants 3 messages Mar 5, 2024 – Mar 6, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 websocketd: Add GOPROXY variable

As of go v1.21, GOPROXY is required to be set to something other than or you get the following error:

go: github.com/gorilla/[email protected]: GOPROXY list is not the empty string, but contains no entries

---
 .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb +2 -0
index 66475726..207cd38a 100644
@@ -7,6 +7,8 @@ inherit go-mod
 
 GO_IMPORT = "github.com/joewalnes/websocketd"
 
+export GOPROXY = "https://proxy.golang.org,direct"
+
 SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master"
 SRCREV = "035c18cc3e6962dabd5ea2ad8845260726a4a99e"
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 1 line · Ryan Eatmon via lists.yoctoproject.org

As of go v1.21, GOPROXY is required to be set to something other than

Other than what?

Quoted 24 lines

or you get the following error:

go: github.com/gorilla/[email protected]: GOPROXY list is not the empty string, but contains no entries

---
 .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb +2 -0
index 66475726..207cd38a 100644
@@ -7,6 +7,8 @@ inherit go-mod
 
 GO_IMPORT = "github.com/joewalnes/websocketd"
 
+export GOPROXY = "https://proxy.golang.org,direct"
+
 SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master"
 SRCREV = "035c18cc3e6962dabd5ea2ad8845260726a4a99e"
 
Signature · 1 line
2.17.1
#2 lore raw
Quoted 4 lines · Denys Dmytriyenko
Quoted 1 line · Ryan Eatmon via lists.yoctoproject.org

As of go v1.21, GOPROXY is required to be set to something other than

Other than what?

Oops. I had other stuff typed there and removed it, but failed to go back and make the sentence coherent... I'll fix it tomorrow.

Quoted 35 lines
Quoted 24 lines

or you get the following error:

go: github.com/gorilla/[email protected]: GOPROXY list is not the empty string, but contains no entries

---
  .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
  1 file changed, 2 insertions(+)
meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb +2 -0
index 66475726..207cd38a 100644
@@ -7,6 +7,8 @@ inherit go-mod
 
  GO_IMPORT = "github.com/joewalnes/websocketd"
 
+export GOPROXY = "https://proxy.golang.org,direct"
+
  SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master"
  SRCREV = "035c18cc3e6962dabd5ea2ad8845260726a4a99e"
 
Signature · 1 line
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15226): https://lists.yoctoproject.org/g/meta-arago/message/15226
Mute This Topic: https://lists.yoctoproject.org/mt/104756208/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS