@@ -47,7 +47,8 @@ def main() -> int:
4747
4848 with tempfile .TemporaryDirectory (delete = True ) as tmpdir :
4949 setup_sandbox (prereqs , pathlib .Path (tmpdir ))
50- target = "s390x-linux-gnu"
50+ # target glibc 2.28 or newer (supports FORTIFY_SOURCE)
51+ target = "s390x-linux-gnu.2.34"
5152 additional_arguments = [
5253 f"--volume={ os .getcwd ()} /bin/zig-0.15.1:/mnt" ,
5354 f"--env=CC=/mnt/zig cc -target { target } " ,
@@ -70,6 +71,24 @@ def main() -> int:
7071 return err .returncode
7172 return 0
7273
74+ """
75+ Downloading jedi
76+ × Failed to build `pyzmq==27.1.0`
77+ ├─▶ The build backend returned an error
78+ ╰─▶ Call to `scikit_build_core.build.build_wheel` failed (exit status: 1)
79+ [stdout]
80+ *** scikit-build-core 0.11.6 using CMake 3.26.5 (wheel)
81+ *** Configuring CMake...
82+ loading initial cache file /tmp/tmpf9bnfh5o/build/CMakeInit.txt
83+ -- Configuring incomplete, errors occurred!
84+ [stderr]
85+ CMake Error at /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:49
86+ (message):
87+ Could not find compiler set in environment variable CC:
88+ /mnt/zig-0.15.1/zig cc -target s390x-linux-gnu.
89+ Call Stack (most recent call first):
90+ CMakeLists.txt:2 (project)
91+ """
7392
7493def buildinputs (
7594 dockerfile : pathlib .Path | str ,
0 commit comments