[ 
https://issues.apache.org/jira/browse/CASSANDRA-20422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935590#comment-17935590
 ] 

Stefan Miklosovic commented on CASSANDRA-20422:
-----------------------------------------------

I hit an issue when I was testing this on Mac
{code:java}
     [exec] Your branch is up to date with 'origin/trunk'.
     [exec] Processing the .spec files...
     [exec] ./scripts/process-native-protocol-specs-in-docker.sh: line 97: 
/var/folders/xw/t9jqyqh513v6jfx39spd479h0000gn/T//go1.23.1/go/bin/go: cannot 
execute binary file
     [exec] ./scripts/process-native-protocol-specs-in-docker.sh: line 104: 
/var/folders/xw/t9jqyqh513v6jfx39spd479h0000gn/T//cqlprotodoc: No such file or 
directory
     [exec] ls: modules/cassandra/attachments/native_protocol_v*.html: No such 
file or directory
     [exec] Cleaning up...
     [exec] Script completed successfully. {code}
The issue is that temporary directory on Mac is not allowing to execute 
anything. 

I think that if we put it under "build" dir, that might be better.

[~mck] thoughts?

> improve the golang download when building source code
> -----------------------------------------------------
>
>                 Key: CASSANDRA-20422
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20422
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Ling Mao
>            Assignee: Ling Mao
>            Priority: Low
>             Fix For: 5.0.x, 5.x
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 1. Optimized the download process for Go (Golang) to make it faster if you 
> already have it installed locally. Every build typically requires fetching 
> Go, which can be time-consuming
> 2. In regions where access to Google is restricted (e.g., China), the build 
> process can hang indefinitely while attempting to download Go. To address 
> this, we can enhance the wget command by adding timeout and retry options.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to