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

Python cross-compile changes and qemu #8016

Merged
merged 9 commits into from
Sep 3, 2023
Merged

Conversation

heitbaum
Copy link
Contributor

@heitbaum heitbaum commented Jul 30, 2023

Address cross compile and pyvenv requirement of qemu.
Also cleans up some cross compile and setuptools within build system.

Build and Run Testing behaving well through all of qemu RCs cycles.

  • build of simplejson .so and Pillow .so build as aarch64

fixes:

@vpeter4
Copy link
Contributor

vpeter4 commented Jul 30, 2023

Looks like qemu checksum has been changed?

@vpeter4
Copy link
Contributor

vpeter4 commented Aug 1, 2023

Please correct qemu PKG_SHA256 for easier testing.

@heitbaum
Copy link
Contributor Author

heitbaum commented Aug 1, 2023

Please correct qemu PKG_SHA256 for easier testing.

strange I’m getting the same sha as the .mk file.

 s/get qemu
GET      qemu (archive)
--2023-08-01 14:43:44--  https://download.qemu.org/qemu-8.1.0-rc1.tar.xz
Resolving download.qemu.org (download.qemu.org)... 143.244.62.6, 2a02:6ea0:db00::1
Connecting to download.qemu.org (download.qemu.org)|143.244.62.6|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 123569692 (118M) [application/octet-stream]
Saving to: '/var/media/DATA/home-rudi/LibreELEC.tv/sources/qemu/qemu-8.1.0-rc1.tar.xz'

/var/media/DATA/home-rudi/LibreE 100%[==========================================================>] 117.84M  30.4MB/s    in 3.9s    

2023-08-01 14:43:48 (30.0 MB/s) - '/var/media/DATA/home-rudi/LibreELEC.tv/sources/qemu/qemu-8.1.0-rc1.tar.xz' saved [123569692/123569692]

    INFO      Calculated checksum: 98b032d46d23075a3011222b3642ccb9c327222bd4c67c33945fb9304a1e3f08
    ```

@vpeter4
Copy link
Contributor

vpeter4 commented Aug 1, 2023

Strange, I get d2fedcf962eac9b79e0de9e8e01ba7f63095c387c70d9c5364b2cccc93261c2d.
Same with online tool https://www.conversion-tool.com/sha256/

@HiassofT
Copy link
Member

HiassofT commented Aug 1, 2023

Looks like there's some f.up with CDN.

I got the d2... SHA here, too (from 156.146.61.130) but if I manually override dns resolution to use the IP rudi got (143.244.62.6) I get a file with the 98... SHA

curl -v --output t2.tar.xz --resolve download.qemu.org:443:143.244.62.6 https://download.qemu.org/qemu-8.1.0-rc1.tar.xz

@heitbaum
Copy link
Contributor Author

heitbaum commented Aug 1, 2023

Hopefully just a glitch with the rc’s

@vpeter4
Copy link
Contributor

vpeter4 commented Aug 1, 2023

I think reason is this: https://gitlab.com/qemu-project/qemu/-/issues/1791
File with d2fedcf962eac9b79e0de9e8e01ba7f63095c387c70d9c5364b2cccc93261c2d looks newer at least when compare the content and file timestamps.

@heitbaum
Copy link
Contributor Author

heitbaum commented Aug 3, 2023

I think reason is this: https://gitlab.com/qemu-project/qemu/-/issues/1791 File with d2fedcf962eac9b79e0de9e8e01ba7f63095c387c70d9c5364b2cccc93261c2d looks newer at least when compare the content and file timestamps.

Added rc2. Hopefully same sha256 on all cdn

@heitbaum
Copy link
Contributor Author

Updated to now released qemu 8.1.0. I have been building and running with this for the last month. This pr addresses not just qemu, but aligns host build to Python3 pyc approach. And continues to allow for “only pyc” in target,

@CvH CvH merged commit 5993c71 into LibreELEC:master Sep 3, 2023
@heitbaum heitbaum deleted the python branch September 3, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants