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

Stefan Miklosovic commented on CASSANDRA-16565:
-----------------------------------------------

I tried to build the patch but I am hitting this error (1), this is happening 
on Java 17, on Java 11 it is passing which is super confusing to me (2).

I tried to build this multiple times and it fails on 17 only, never on 11. 
[~mck] do you have any clue what is going on? 

The patch I am building contains quiet=false to see what is going on, I am 
getting this

{code}
_resolver-dist-lib_get_files:
      [get] Getting: 
https://files.pythonhosted.org/packages/59/a0/cf4cd997e1750f0c2d91c6ea5abea218251c43c3581bcc2f118b00baf5cf/futures-2.1.6-py2.py3-none-any.whl
      [get] To: 
/home/cassandra/.m2/repository/org/apache/cassandra/deps/futures-2.1.6-py2.py3-none-any.zip
      [get] Error getting 
https://files.pythonhosted.org/packages/59/a0/cf4cd997e1750f0c2d91c6ea5abea218251c43c3581bcc2f118b00baf5cf/futures-2.1.6-py2.py3-none-any.whl
 to 
/home/cassandra/.m2/repository/org/apache/cassandra/deps/futures-2.1.6-py2.py3-none-any.zip
    [retry] Attempt [1]: error occurred; retrying after 10 ms...
     [echo] Non default JDK version used: 17
{code}

(1) 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/3762/workflows/936c9329-d429-4c6e-9bb2-3ae1c1e4afd8/jobs/178874/parallel-runs/0/steps/0-103
(2) 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/3762/workflows/391083f2-aec9-4fd4-9e02-a14f5810c5bf/jobs/178875/parallel-runs/0/steps/0-103

I will keep an eye on this but it is really strange ... other patches I do just 
build this fine. I do not see any functional difference when it comes to 
changed build-resolver.xml, we literally just removed sigar ... 

> Remove dependency on sigar
> --------------------------
>
>                 Key: CASSANDRA-16565
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16565
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Build
>            Reporter: David Capwell
>            Assignee: Claude Warren
>            Priority: Normal
>             Fix For: 5.x
>
>
> sigar is used to check if the environment has good settings for running C*, 
> but requires we bundle a lot of native libraries to perform this check (which 
> can also be done elsewhere).  This project also appears to be dead as the 
> last commit was around 6 years ago.
> With the move to resolve artifacts rather than commit them, removing this 
> dependency would remove majority of the artifacts fetched from GitHub.



--
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