Skip to content

fix: build with macos#96

Merged
lzjqsdd merged 1 commit intoCurvineIO:mainfrom
cxzl25:mac_build
Aug 4, 2025
Merged

fix: build with macos#96
lzjqsdd merged 1 commit intoCurvineIO:mainfrom
cxzl25:mac_build

Conversation

@cxzl25
Copy link
Copy Markdown
Contributor

@cxzl25 cxzl25 commented Aug 1, 2025

            "__Py_TrueStruct", referenced from:
                curvine_libsdk::python::python_abi::_$LT$impl$u20$curvine_libsdk..python..python_abi..python_io_curvine_curvine_native_mkdir..MakeDef$GT$::_PYO3_DEF::trampoline::he964c70bb0259eca in curvine_libsdk.curvine_libsdk.73d1ab1ccdf2bec-cgu.15.rcgu.o
                curvine_libsdk::python::python_abi::_$LT$impl$u20$curvine_libsdk..python..python_abi..python_io_curvine_curvine_native_rename..MakeDef$GT$::_PYO3_DEF::trampoline::h750af222637f9962 in curvine_libsdk.curvine_libsdk.73d1ab1ccdf2bec-cgu.15.rcgu.o
                pyo3::types::boolobject::_$LT$impl$u20$pyo3..conversion..FromPyObject$u20$for$u20$bool$GT$::extract_bound::h459c3f925f7caf0a in libpyo3-e4dddc6720d0f117.rlib[18](pyo3-e4dddc6720d0f117.pyo3.778925ced38c08b5-cgu.15.rcgu.o)
                pyo3::types::boolobject::_$LT$impl$u20$pyo3..conversion..FromPyObject$u20$for$u20$bool$GT$::extract_bound::h459c3f925f7caf0a in libpyo3-e4dddc6720d0f117.rlib[18](pyo3-e4dddc6720d0f117.pyo3.778925ced38c08b5-cgu.15.rcgu.o)
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: could not compile `curvine-libsdk` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Cargo build failed. Exiting...
make: *** [build] Error 1

[env]
#RUST_TEST_NOCAPTURE = "1"

[target.x86_64-apple-darwin]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

get_os_version() {
id=$(grep -E '^ID=' /etc/os-release | cut -d= -f2- | tr -d '"')
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sh build/build.sh
grep: /etc/os-release: No such file or directory
grep: /etc/os-release: No such file or directory

@lzjqsdd lzjqsdd merged commit cd5745a into CurvineIO:main Aug 4, 2025
4 of 6 checks passed
@lzjqsdd lzjqsdd added the bug Something isn't working label Sep 22, 2025
Coderlxl pushed a commit to Coderlxl/curvine that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants