datastrato / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://datastrato.ai/docs/
Apache License 2.0
645 stars 195 forks source link

[Bug report] Execution failed for task ':clients:client-python:miniforgeSetup' #3893

Closed prosscode closed 1 week ago

prosscode commented 1 week ago

Version

main branch

Describe what's wrong

Following the Quick start to execute the build command, this problem occurs.

my mac environment is jdk11 and th Gradle 8.2, looks like this file Miniforge3-MacOSX-x86_64.sh downloaded automatically.

Error message and/or stacktrace

FAILURE: Build failed with an exception.

What went wrong: Execution failed for task ':clients:client-python:miniforgeSetup'. Process 'command '/gravitino/.gradle/python/MacOSX/Miniforge3/Miniforge3-MacOSX-x86_64.sh'' finished with non-zero exit value 1

image image

How to reproduce

./gradlew clean

./gradlew clean build -x test

Additional context

No response

jerryshao commented 1 week ago

@xunliu can you please help to check this?

prosscode commented 1 week ago

It could be an environmental compatibility issue. Look at these issues: https://github.com/conda-forge/miniforge/issues/307 https://github.com/conda-forge/miniforge/issues/255

prosscode commented 1 week ago

Need to make sure that conda-forge is in the configuration of the channel. The file .condarc should look like

channels:
  - conda-forge
  - defaults

and then build the python module and it will work.