-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix Python 3 wheels cross-compilation #3944
Comments
@ymartin59 open question: is there any specific reason to skipping the intermediary 3.7 version ? |
@smaarn Simply because it is to much work. Publishing 3.6.10 is still in pending/failed state because of that issue. As far as I know, all applications' package list is expected to run on Python 3.8 |
@ymartin59 ok I was misled by the title of this issue to be honest ! I'm having a look to see how this works. |
Ok after a "little" of digging:
From what I see
What do you think ? The "guilty code" is under |
(I checked it on python 3.7.7 to be honest) |
Investigate if crossenv https://pypi.org/project/crossenv/ would be an easier and more efficient way to cross-compile wheels. |
This seems fixed with #3953? Yes, the |
PR #3953 has been merged.
|
@ymartin59 issue reported for borgmatic seems to be fixed by #4094 (just tested it manually). Whether or not borgbackup is now totally operational is, unfortunately, outside of my area of expertise unfortunately. |
@smaarn Thanks for your contribution on Python 3. borgbackup fails to cross-compile for powerpc (qoriq-6.1) with message:
May you help about it? |
@ymartin59 I can certainly have a look at it but I'll be offline for a few days, perhaps next week. Cheers! |
@ymartin59 @th0ma7 @hgy59 I actually may have found a way to fix it (see #4135 ). Unfortunately I cannot really test it to be sure on the corresponding powerpc architectures. |
@smaarn Many thanks. I take it as-is, I have no way to test either. |
Thanks everybody. I consider it as fixed - published applications run well as far as I know |
@ymartin59 Sorry to bring bad news, but the homeassistant package release 0.114.2-7 still has the same problems in my DS214play (Intel Atom processor, DSM 6.2.3-25426 Update 2):
Attached the logs Hope this helps finding root cause and fixing the issue. |
At the moment application packages publication are stuck because Python 3.8 cross-compiled wheels are badly generated with "x64" architecture in their shared objects (so) file names, which prevent their loading at runtime.
Example: file
share/wheelhouse/immutables-0.11-cp36-none-any.whl
containes/immutables/_map.cpython-36m-x86_64-linux-gnu.so
for all compiled archs.Some application installation just fail because of this invalid file naming. It is expected wheels file to match target runtime architecture like
_map.cpython-36m-aarch64-linux-gnueabi.so
according to toolchainTC_TARGET
value.Pending packages because of this:
And many other Python applications to come...
@roleoroleo and @smaarn did progress with #3726 #3731 #3739 #3833
But there is still trouble according
Related issues: #3737
Objectives: fix current 3.6.10 to be published, and prepare for next version, either 3.7 or directly 3.8
The text was updated successfully, but these errors were encountered: