Open FeodorFitsner opened 6 months ago
Thanks for the report; I would accept a pull request that fixes this. But what problems does it cause when building Python? That should only need the include
and lib
directories.
It's shutil.copytree()
that failing while trying to copy those links, but it could be fixed by adding ignore_dangling_symlinks=True
.
So, what would be the fix:
1) fixing links;
2) removing links or bin
directory all together?
Is this error coming from Python's own build system, or one of your own scripts?
The proper fix would be to make the bzip2 build script produce relative links. For example, the last line of the script is currently:
make install PREFIX=$prefix
Maybe this could be changed to:
cd $prefix
make install PREFIX=.
That's my own script to build Python with the structure to work with mobile-forge
. Mobile forge doesn't need bin
though.
Mobile-forge doesn't really have Android support yet. You should use Chaquopy's build-wheel tool instead.
I'm working on a proof-of-concept of Android support in mobile-forge and it looks promising so far.
Describe the bug
bzip2 1.0.8-1 release has broken links in
bin
directory which causes problems while assembling a Python package with it.Other distros seem to be fine, for example
xz-5.4.6-0
has relative links:Steps to reproduce
List detailed contents of any archive from this release: https://github.com/beeware/cpython-android-source-deps/releases/tag/bzip2-1.0.8-1
Expected behavior
Relative links.
Screenshots
No response
Environment
Logs
No response
Additional context
No response