Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to create wheel for chaquopy-geos with chaquopy 16.0.0 #1287

Open
ytremare opened this issue Nov 5, 2024 · 3 comments
Open

Fail to create wheel for chaquopy-geos with chaquopy 16.0.0 #1287

ytremare opened this issue Nov 5, 2024 · 3 comments
Labels

Comments

@ytremare
Copy link

ytremare commented Nov 5, 2024

Environment:
Python 3.11.9.0
https://github.com/ytremare/chaquopy-16.0.0

Requirements:
please find attach pip list result
pip_list_result.txt

Trying to build wheel for chaquopy-geos i get the following errors:
ld.lld: error: undefined symbol: __extenddftf2
ld.lld: error: undefined symbol: __multf3
ld.lld: error: undefined symbol: __addtf3
ld.lld: error: undefined symbol: __gttf2

Please find attach lld content. (symbols are indeed missing)
lld_content.txt
and config.log
config.log
below attached build-wheel.log
chaquopy-geos-resu.txt
below attached messages out of log.
[build-wheel-messages.txt](https://github.com/user-attachments/files/17629969/build-wheel-messages.txt

@mhsmith
Copy link
Member

mhsmith commented Nov 9, 2024

I confirm I get the same errors. Searching for the errors indicates that they're caused by libtool using the -nostdlib option:

Something in the build system probably works around this by adding libgcc back into the link. But since the last time we built this package, we've moved to a newer version of the NDK that replaces GCC with Clang, and the corresponding library isn't called libgcc anymore.

Taking a step back, why are you trying to build chaquopy-geos at all? You haven't made any changes to it on your fork. Are you planning to upgrade it?

It's possible that a newer geos version already has a fix for this issue, since Clang is becoming more popular on all platforms.

@ytremare
Copy link
Author

ytremare commented Nov 10, 2024 via email

@mhsmith
Copy link
Member

mhsmith commented Nov 10, 2024

My app uses cartopy, doing so , build.gradle calls shapely (which has no wheel for python 3.11) So I decided to build shapely and shapely needs chaquopy-geos.

You don't need to build chaquopy-geos, you can download it from https://chaquo.com/pypi-13.1/. When you tried to build shapely, you should have been given a message telling you exactly that.

I never provided wheels to chaquo.com.pypi repository and not sure how to. Does it make sense to upload them even they are in python 3.9 (build was done under chaquopy14.0.2).

You can contribute a package to the public repository by making a PR. Here are some recent examples:

Every recipe needs at least a meta.yaml file and a test script. Some of them will also need patches.

Follow the instructions in server/pypi/README.md to run the test script on at least one Python version and ABI, and mention in the PR which versions and ABIs you've tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants