diff mbox series

[meta-arago,master] websocketd: Add GOPROXY variable

Message ID 20240305230707.24641-1-reatmon@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master] websocketd: Add GOPROXY variable | expand

Commit Message

Ryan Eatmon March 5, 2024, 11:07 p.m. UTC
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/websocket@v1.4.0: GOPROXY list is not the empty string, but contains no entries

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
 1 file changed, 2 insertions(+)

Comments

Denys Dmytriyenko March 6, 2024, 12:17 a.m. UTC | #1
On Tue, Mar 05, 2024 at 05:07:07PM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> As of go v1.21, GOPROXY is required to be set to something other than

Other than what?

> or you get the following error:
> 
> go: github.com/gorilla/websocket@v1.4.0: GOPROXY list is not the empty string, but contains no entries
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
> index 66475726..207cd38a 100644
> --- a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
> +++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
> @@ -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"
>  
> -- 
> 2.17.1
Ryan Eatmon March 6, 2024, 3:05 a.m. UTC | #2
On 3/5/2024 6:17 PM, Denys Dmytriyenko wrote:
> On Tue, Mar 05, 2024 at 05:07:07PM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
>> 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.

>> or you get the following error:
>>
>> go: github.com/gorilla/websocket@v1.4.0: GOPROXY list is not the empty string, but contains no entries
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>>   .../recipes-devtools/websocketd/websocketd_0.4.1.bb             | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
>> index 66475726..207cd38a 100644
>> --- a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
>> +++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
>> @@ -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"
>>   
>> -- 
>> 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: meta-arago+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
>
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
index 66475726..207cd38a 100644
--- a/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
+++ b/meta-arago-extras/recipes-devtools/websocketd/websocketd_0.4.1.bb
@@ -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"