Verify the Linux Python quick start from a fresh Ubuntu checkout #646

Closed
opened 2026-11-22 17:48:21 +00:00 by R0Y00 · 3 comments
R0Y00 commented 2026-11-22 17:48:21 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T17:48:21Z.


Task

Follow the Linux quick start from a fresh x64 Ubuntu 24.04 checkout through the Python checks before the LLVM installation step. Use Python 3.11 or newer and the repository's own fixtures.

Completion

Comment with the commit, Ubuntu and Python versions, commands and the result of each check. If a step fails, include the first failing command and diagnostic and any workaround you verified. A clean run completes the task by itself. A confirmed documentation gap can also be addressed in a small linked PR.

To claim this, comment with your Ubuntu environment. One independent reproduction is enough.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6545657187 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/652). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T17:48:21Z. --- ## Task Follow the [Linux quick start](https://github.com/R0Y00/Xbox2Windows/blob/main/docs/non-windows-hosts.md#quick-start-on-linux) from a fresh x64 Ubuntu 24.04 checkout through the Python checks before the LLVM installation step. Use Python 3.11 or newer and the repository's own fixtures. ## Completion Comment with the commit, Ubuntu and Python versions, commands and the result of each check. If a step fails, include the first failing command and diagnostic and any workaround you verified. A clean run completes the task by itself. A confirmed documentation gap can also be addressed in a small linked PR. To claim this, comment with your Ubuntu environment. One independent reproduction is enough.
romn4rch commented 2026-11-24 06:48:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by romn4rch on 2026-11-22T18:39:35Z.


I'd like to take this one. Environment: a fresh ubuntu:24.04 Docker container (x86_64) on a Linux Mint VM, using Ubuntu's own Python 3.12. I'll follow the Linux quick start from a fresh clone through the Python checks before the LLVM step, and post the commit, versions, commands and per-check results here within 24 hours.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083771615 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/652#issuecomment-7083771615). Originally posted by [romn4rch](https://github.com/romn4rch) on 2026-11-22T18:39:35Z. --- I'd like to take this one. Environment: a fresh `ubuntu:24.04` Docker container (x86_64) on a Linux Mint VM, using Ubuntu's own Python 3.12. I'll follow the Linux quick start from a fresh clone through the Python checks before the LLVM step, and post the commit, versions, commands and per-check results here within 24 hours. _AI-assisted._
romn4rch commented 2026-11-24 06:48:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by romn4rch on 2026-11-22T20:46:53Z.


Results from a fresh clone in a clean Ubuntu 24.04 container. All 21 scripts in the documented loop pass. The one gap is that the first command needs the python3-venv package; #696 adds that step to the quick start.

Environment

  • Commit: 3b9bb1aaf412aa3e6de4626aa309c7f289ac9daf (fresh git clone, run at 2026-11-22 20:37 UTC)
  • Ubuntu 24.04.5 LTS (noble), x86_64, in a fresh ubuntu:24.04 Docker container (ubuntu@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289) on a Linux Mint 22.3 VM
  • Python: Ubuntu's python3 3.12.3, with pip 24.0 in out/pe-env; no LLVM installed
  • The image ships without python3 and git, so I ran apt-get update -q && apt-get install -y -q --no-install-recommends ca-certificates git python3 first. Commands ran as root inside the container, so without sudo.

Steps

  1. python3 -m venv out/pe-env exited 1:
    The virtual environment was not created successfully because ensurepip is not
    available.  On Debian/Ubuntu systems, you need to install the python3-venv
    package using the following command.
    
        apt install python3.12-venv
    
    Verified workaround: apt-get install -y -q python3-venv, which also installs python3.12-venv, python3-pip-whl and python3-setuptools-whl. After rm -rf out/pe-env, python3 -m venv out/pe-env exited 0.
  2. ./out/pe-env/bin/python -m pip install -r requirements-dev.txt exited 0 with Successfully installed iced-x86-1.21.0 pefile-2024.8.26. pip skipped ziglang because of its Windows-only marker.
  3. Each script in the documented loop ran as ./out/pe-env/bin/python -B <script>:
Script Exit Result
tests/script_state_check.py 0 Ran 15 tests, OK
tests/resource_root_check.py 0 Ran 4 tests, OK
tests/bcpack_check.py 0 Ran 9 tests, OK
tests/bc7_blocks_check.py 0 Ran 10 tests, OK (skipped=2)
tests/bc7_tiles_check.py 0 Ran 6 tests, OK
tests/form_coverage_check.py 0 form coverage checks passed
tests/resource_ranges_check.py 0 Ran 20 tests, OK
tests/awc_metadata_check.py 0 Ran 4 tests, OK
tests/sgd5_effects_check.py 0 Ran 3 tests, OK
tests/dxcontainer_part_offsets_check.py 0 Ran 7 tests, OK
tests/layout_chunks_check.py 0 layout chunk summary ok
tests/dependency_paths_check.py 0 dependency_paths: the pinned hash reaches the conditional target; a different hash reports unverified_loader_hash and no conditional edge
tests/intake/paths_check.py 0 no output
tests/shader_probe_check.py 0 9 control … lines
tests/dxil_retarget_check.py 0 pure-python dxil_retarget controls: ok
tests/rdna2_tools_check.py 0 Ran 52 tests, OK (skipped=1)
tests/pso_readiness_check.py 0 PSO census, evidence states, and native hash control passed
tests/xmem_attribute_scan_check.py 0 decoding: 13 cases passed
tests/docs_links_check.py 0 Checked 10 Markdown files and 128 links.
tests/bidi_controls_check.py 0 Checked 586 tracked source, script and build/CI files: no bidirectional controls.
tests/gpu_report_format_check.py 0 Ran 9 tests, OK

The skips are optional comparisons. In bc7_blocks_check.py, BCPACK_REFERENCE_TOOLS was unset and texture2ddecoder is not installed. In rdna2_tools_check.py, LLVM_LIB was unset, as the Troubleshooting note on test_llvm_comparison describes.

I stopped before the LLVM 15 step and ran nothing on Windows.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7085539960 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/652#issuecomment-7085539960). Originally posted by [romn4rch](https://github.com/romn4rch) on 2026-11-22T20:46:53Z. --- Results from a fresh clone in a clean Ubuntu 24.04 container. All 21 scripts in the documented loop pass. The one gap is that the first command needs the `python3-venv` package; #696 adds that step to the quick start. **Environment** - Commit: `3b9bb1aaf412aa3e6de4626aa309c7f289ac9daf` (fresh `git clone`, run at 2026-11-22 20:37 UTC) - Ubuntu 24.04.5 LTS (noble), x86_64, in a fresh `ubuntu:24.04` Docker container (`ubuntu@sha256:9c7f200c07e3d4a03e7249d2c16bf66a51120fb876aa2242cf31451412543289`) on a Linux Mint 22.3 VM - Python: Ubuntu's `python3` 3.12.3, with pip 24.0 in `out/pe-env`; no LLVM installed - The image ships without `python3` and `git`, so I ran `apt-get update -q && apt-get install -y -q --no-install-recommends ca-certificates git python3` first. Commands ran as root inside the container, so without `sudo`. **Steps** 1. `python3 -m venv out/pe-env` exited 1: ``` The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.12-venv ``` Verified workaround: `apt-get install -y -q python3-venv`, which also installs `python3.12-venv`, `python3-pip-whl` and `python3-setuptools-whl`. After `rm -rf out/pe-env`, `python3 -m venv out/pe-env` exited 0. 2. `./out/pe-env/bin/python -m pip install -r requirements-dev.txt` exited 0 with `Successfully installed iced-x86-1.21.0 pefile-2024.8.26`. pip skipped `ziglang` because of its Windows-only marker. 3. Each script in the documented loop ran as `./out/pe-env/bin/python -B <script>`: | Script | Exit | Result | |---|---|---| | `tests/script_state_check.py` | 0 | Ran 15 tests, OK | | `tests/resource_root_check.py` | 0 | Ran 4 tests, OK | | `tests/bcpack_check.py` | 0 | Ran 9 tests, OK | | `tests/bc7_blocks_check.py` | 0 | Ran 10 tests, OK (skipped=2) | | `tests/bc7_tiles_check.py` | 0 | Ran 6 tests, OK | | `tests/form_coverage_check.py` | 0 | `form coverage checks passed` | | `tests/resource_ranges_check.py` | 0 | Ran 20 tests, OK | | `tests/awc_metadata_check.py` | 0 | Ran 4 tests, OK | | `tests/sgd5_effects_check.py` | 0 | Ran 3 tests, OK | | `tests/dxcontainer_part_offsets_check.py` | 0 | Ran 7 tests, OK | | `tests/layout_chunks_check.py` | 0 | `layout chunk summary ok` | | `tests/dependency_paths_check.py` | 0 | `dependency_paths: the pinned hash reaches the conditional target; a different hash reports unverified_loader_hash and no conditional edge` | | `tests/intake/paths_check.py` | 0 | no output | | `tests/shader_probe_check.py` | 0 | 9 `control …` lines | | `tests/dxil_retarget_check.py` | 0 | `pure-python dxil_retarget controls: ok` | | `tests/rdna2_tools_check.py` | 0 | Ran 52 tests, OK (skipped=1) | | `tests/pso_readiness_check.py` | 0 | `PSO census, evidence states, and native hash control passed` | | `tests/xmem_attribute_scan_check.py` | 0 | `decoding: 13 cases passed` | | `tests/docs_links_check.py` | 0 | `Checked 10 Markdown files and 128 links.` | | `tests/bidi_controls_check.py` | 0 | `Checked 586 tracked source, script and build/CI files: no bidirectional controls.` | | `tests/gpu_report_format_check.py` | 0 | Ran 9 tests, OK | The skips are optional comparisons. In `bc7_blocks_check.py`, `BCPACK_REFERENCE_TOOLS` was unset and `texture2ddecoder` is not installed. In `rdna2_tools_check.py`, `LLVM_LIB` was unset, as the Troubleshooting note on `test_llvm_comparison` describes. I stopped before the LLVM 15 step and ran nothing on Windows. _AI-assisted._
R0Y00 commented 2026-11-24 06:48:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T21:14:20Z.


The clean Ubuntu 24.04 reproduction completed all 21 Python checks. The missing python3-venv prerequisite has now been documented in #696. Thanks for recording the environment, first failure and verified workaround.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7085895821 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/652#issuecomment-7085895821). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T21:14:20Z. --- The clean Ubuntu 24.04 reproduction completed all 21 Python checks. The missing python3-venv prerequisite has now been documented in #696. Thanks for recording the environment, first failure and verified workaround.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows#646
No description provided.