| Cost | $0.074 |
| Total elapsed time | 3m37s |
| LLM inference time | 1m22s |
| Command execution time | 2m15s |
| Commands executed | 23 |
All details >
| Attempt ID | 80atm1el63hiv | Attempt group | run-23-09-21-48 |
| Revision | ad46875d9374 | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-23T20:23:39.652Z | End time | 2025-09-23T20:27:18.303Z |
| Task | curl-ssl-arm64-static2 | Environment | ubuntu-22.04-amd64-cross-arm64 |
| Model | | OpenRouter slug | deepseek/deepseek-v3.1-terminus |
| Temperature | 1 | Explicit prompt caching | false |
| User msg after tool call | false | Max tool calls | 150 |
| Total timeout seconds | 3600 | Single command timeout | 1800 |
| Cost | $0.074 | Duration | 3m37s |
| LLM inference time | 1m22s | Command execution time | 2m15s |
| Final context tokens | 22,129 | Total output tokens | 1,721 |
| Output reasoning tokens | 0 | Messages | 49 |
| Assistant messages | 24 | User messages | 1 |
| System messages | 1 | Commands executed | 23 |
curl 8.16.0 is a command-line HTTP client.
Project link: curl.se
Task:
Compile and install curl to a specific location. Build with SSL support (TLS v1.3), brotli, zlib and zstd. Cross-compile to arm64. Link it statically. This is a variant of curl-ssl-arm64-static, with a hint to do a trial run of compiled binary.
Difficulties:
Cross-compilation toolchain setup, manually cross-compiling all dependencies, properly configuring SSL certificates in OpenSSL.
Environment:
Ubuntu 22.04 on amd64, with internet access.
You are a package-building specialist operating a Ubuntu 22.04 bash shell via one tool: run_terminal_cmd.
The current working directory of every run_terminal_cmd is /home/peter.
Execution rules:
- Always pass non-interactive flags for any command that could prompt (e.g., -y, --yes, DEBIAN_FRONTEND=noninteractive).
- Don't include any newlines in the command.
- You can use sudo.
If you encounter any errors or issues while doing the user's request, you must fix them and continue the task.
At the end verify you did the user request correctly.
You are given a curl v8.16.0 source code at /home/peter/curl.tar.gz. Please compile curl and install it to /home/peter/result. Create a symlink from /home/peter/result/curl to the actual binary. Make sure it builds with SSL support (TLS v1.3), brotli, zlib and zstd. The binary should be statically compiled for arm64. Do a trial run via qemu-aarch64-static, making sure this EXACT command works correctly: curl https://google.com
I'll help you compile curl with the specified requirements. Let me start by extracting and examining the source code, then set up the build environment.
-rw-r--r-- 1 peter peter 4176617 Sep 23 20:23 /home/peter/curl.tar.gz
Now let me extract the curl source code and set up the build environment:
[empty output]
compile-bench> ls -la /home/peter/ total 4108
drwxr-x--- 1 peter peter 4096 Sep 23 20:23 .
drwxr-xr-x 1 root root 4096 Sep 15 11:21 ..
-rw-r--r-- 1 peter peter 220 Jan 6 2022 .bash_logout
-rw-r--r-- 1 peter peter 3771 Jan 6 2022 .bashrc
-rw-r--r-- 1 peter peter 807 Jan 6 2022 .profile
drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 curl-8.16.0
-rw-r--r-- 1 peter peter 4176617 Sep 23 20:23 curl.tar.gz
↓ 9 lines
total 4108 drwxr-x--- 1 peter peter 4096 Sep 23 20:23 . drwxr-xr-x 1 root root 4096 Sep 15 11:21 .. -rw-r--r-- 1 peter peter 220 Jan 6 2022 .bash_logout -rw-r--r-- 1 peter peter 3771 Jan 6 2022 .bashrc -rw-r--r-- 1 peter peter 807 Jan 6 2022 .profile drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 curl-8.16.0 -rw-r--r-- 1 peter peter 4176617 Sep 23 20:23 curl.tar.gz
Good, the source code is extracted. Now I need to install the necessary dependencies for building curl with the required features (SSL/TLS v1.3, brotli, zlib, zstd) and cross-compilation tools for arm64:
compile-bench> sudo apt-get update && sudo apt-get install -y build-essential autoconf automake libtool pkg-config libssl-dev zlib1g-dev libbrotli-dev libzstd-dev gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu qemu-user-static
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers] [Connecting to security.ubuntu.com (185.125.190.83)]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
0% [2 InRelease 14.2 kB/128 kB 11%] [Connecting to security.ubuntu.com (185.125
0% [2 InRelease 21.4 kB/128 kB 17%] [Connecting to security.ubuntu.com (185.125
0% [Waiting for headers] [Waiting for headers]
Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
0% [3 InRelease 5484 B/127 kB 4%] [Waiting for headers]
0% [Waiting for headers]
0% [Waiting for headers]
Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [4 InRelease 14.2 kB/129 kB 11%]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5779 kB]
0% [5 Packages 8447 B/5779 kB 0%] [4 InRelease 14.2 kB/129 kB 11%]
0% [5 Packages 191 kB/5779 kB 3%] [4 InRelease 14.2 kB/129 kB 11%]
0% [4 InRelease 37.3 kB/129 kB 29%]
0% [5 Packages store 0 B] [4 InRelease 37.3 kB/129 kB 29%]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB]
0% [5 Packages store 0 B] [6 Packages 59.3 kB/69.1 kB 86%] [4 InRelease 43.1 kB
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB]
0% [5 Packages store 0 B] [7 Packages 121 kB/1577 kB 8%] [4 InRelease 43.1 kB/1
0% [5 Packages store 0 B] [Waiting for headers] [4 InRelease 43.1 kB/129 kB 33%
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3681 kB]
0% [5 Packages store 0 B] [8 Packages 51.4 kB/3681 kB 1%] [4 InRelease 43.1 kB/
0% [5 Packages store 0 B] [4 InRelease 46.0 kB/129 kB 36%]
0% [4 InRelease 108 kB/129 kB 84%]
0% [6 Packages store 0 B] [4 InRelease 108 kB/129 kB 84%]
0% [4 InRelease 111 kB/129 kB 86%]
0% [7 Packages store 0 B] [4 InRelease 111 kB/129 kB 86%]
0% [7 Packages store 0 B]
0% [Working]
0% [8 Packages store 0 B]
60% [8 Packages store 0 B]
60% [Waiting for headers]
Get:9 http://security.ubuntu.com/ubuntu jammy-securit
[command output truncated]
1~22.04cross1) ...
Setting up libzstd-dev:amd64 (1.4.8+dfsg-3build1) ...
Setting up xdg-user-dirs (0.17-2ubuntu4) ...
Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ...
No schema files found: doing nothing.
Setting up binutils-aarch64-linux-gnu (2.38-4ubuntu2.8) ...
Setting up autotools-dev (20220109.1) ...
Setting up libglib2.0-data (2.72.4-0ubuntu2.6) ...
Setting up libsigsegv2:amd64 (2.13-1ubuntu3) ...
Setting up libc6-arm64-cross (2.35-0ubuntu1cross3) ...
Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.19) ...
Setting up pkg-config (0.29.2-1ubuntu3) ...
Setting up libitm1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libltdl7:amd64 (2.4.6-15build2) ...
Setting up linux-libc-dev-arm64-cross (5.15.0-22.22cross3) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up cpp-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-11-cross-base (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libbrotli-dev:amd64 (1.0.9-2build6) ...
Setting up libicu70:amd64 (70.1-2) ...
Setting up libgcc-s1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libatomic1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up liblsan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libgomp1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libtool (2.4.6-15build2) ...
Setting up libasan6-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libtsan0-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up m4 (1.4.18-5ubuntu2) ...
Setting up libhwasan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libc6-dev-arm64-cross (2.35-0ubuntu1cross3) ...
Setting up libstdc++6-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up cpp-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Setting up autoconf (2.71-2) ...
Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist
Setting up libubsan1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ...
Setting up libgcc-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libltdl-dev:amd64 (2.4.6-15build2) ...
Setting up shared-mime-info (2.1-2) ...
Setting up gcc-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Setting up libstdc++-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ...
Setting up g++-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ...
Setting up gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Setting up g++-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 59 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] [Connecting to security.ubuntu.com (185.125.190.83)] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] 0% [2 InRelease 14.2 kB/128 kB 11%] [Connecting to security.ubuntu.com (185.125 0% [2 InRelease 21.4 kB/128 kB 17%] [Connecting to security.ubuntu.com (185.125 0% [Waiting for headers] [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] 0% [3 InRelease 5484 B/127 kB 4%] [Waiting for headers] 0% [Waiting for headers] 0% [Waiting for headers] Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [4 InRelease 14.2 kB/129 kB 11%] Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5779 kB] 0% [5 Packages 8447 B/5779 kB 0%] [4 InRelease 14.2 kB/129 kB 11%] 0% [5 Packages 191 kB/5779 kB 3%] [4 InRelease 14.2 kB/129 kB 11%] 0% [4 InRelease 37.3 kB/129 kB 29%] 0% [5 Packages store 0 B] [4 InRelease 37.3 kB/129 kB 29%] Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.1 kB] 0% [5 Packages store 0 B] [6 Packages 59.3 kB/69.1 kB 86%] [4 InRelease 43.1 kB Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1577 kB] 0% [5 Packages store 0 B] [7 Packages 121 kB/1577 kB 8%] [4 InRelease 43.1 kB/1 0% [5 Packages store 0 B] [Waiting for headers] [4 InRelease 43.1 kB/129 kB 33% Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3681 kB] 0% [5 Packages store 0 B] [8 Packages 51.4 kB/3681 kB 1%] [4 InRelease 43.1 kB/ 0% [5 Packages store 0 B] [4 InRelease 46.0 kB/129 kB 36%] 0% [4 InRelease 108 kB/129 kB 84%] 0% [6 Packages store 0 B] [4 InRelease 108 kB/129 kB 84%] 0% [4 InRelease 111 kB/129 kB 86%] 0% [7 Packages store 0 B] [4 InRelease 111 kB/129 kB 86%] 0% [7 Packages store 0 B] 0% [Working] 0% [8 Packages store 0 B] 60% [8 Packages store 0 B] 60% [Waiting for headers] Get:9 http://security.ubuntu.com/ubuntu jammy-securit [command output truncated] 1~22.04cross1) ... Setting up libzstd-dev:amd64 (1.4.8+dfsg-3build1) ... Setting up xdg-user-dirs (0.17-2ubuntu4) ... Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ... No schema files found: doing nothing. Setting up binutils-aarch64-linux-gnu (2.38-4ubuntu2.8) ... Setting up autotools-dev (20220109.1) ... Setting up libglib2.0-data (2.72.4-0ubuntu2.6) ... Setting up libsigsegv2:amd64 (2.13-1ubuntu3) ... Setting up libc6-arm64-cross (2.35-0ubuntu1cross3) ... Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.19) ... Setting up pkg-config (0.29.2-1ubuntu3) ... Setting up libitm1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libltdl7:amd64 (2.4.6-15build2) ... Setting up linux-libc-dev-arm64-cross (5.15.0-22.22cross3) ... Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ... Setting up cpp-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Setting up gcc-11-cross-base (11.4.0-1ubuntu1~22.04cross1) ... Setting up libbrotli-dev:amd64 (1.0.9-2build6) ... Setting up libicu70:amd64 (70.1-2) ... Setting up libgcc-s1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libatomic1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up liblsan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libgomp1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libtool (2.4.6-15build2) ... Setting up libasan6-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up libtsan0-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up m4 (1.4.18-5ubuntu2) ... Setting up libhwasan0-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libc6-dev-arm64-cross (2.35-0ubuntu1cross3) ... Setting up libstdc++6-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up cpp-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Setting up autoconf (2.71-2) ... Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.9) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist Setting up libubsan1-arm64-cross (12.3.0-1ubuntu1~22.04cross1) ... Setting up libgcc-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up libltdl-dev:amd64 (2.4.6-15build2) ... Setting up shared-mime-info (2.1-2) ... Setting up gcc-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Setting up libstdc++-11-dev-arm64-cross (11.4.0-1ubuntu1~22.04cross1) ... Setting up g++-11-aarch64-linux-gnu (11.4.0-1ubuntu1~22.04cross1) ... Setting up gcc-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Setting up g++-aarch64-linux-gnu (4:11.2.0-1ubuntu1) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Now let's install qemu-user-static for running the arm64 binary:
compile-bench> sudo apt-get update && sudo apt-get install -y qemu-user-static
0% [Working]
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
0% [Waiting for headers]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers]
0% [Waiting for headers]
0% [Waiting for headers]
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
0% [Working]
0% [Waiting for headers]
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
0% [Working]
20% [Working]
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
qemu-user-static is already the newest version (1:6.2+dfsg-2ubuntu6.27).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
↓ 11 lines
0% [Working] Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] 0% [Waiting for headers] 0% [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease 0% [Working] 0% [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease 0% [Working] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 41% Reading package lists... 41% Reading package lists... 42% Reading package lists... 42% Reading package lists... 51% Reading package lists... 51% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 41% Reading package lists... 41% Reading package lists... 42% Reading package lists... 42% Reading package lists... 51% Reading package lists... 51% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done qemu-user-static is already the newest version (1:6.2+dfsg-2ubuntu6.27). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Good, qemu-user-static is already installed. Now let's change to the curl source directory and configure the build for static compilation targeting arm64:
compile-bench> cd /home/peter/curl-8.16.0 && ./configure --host=aarch64-linux-gnu --prefix=/home/peter/result --disable-shared --enable-static --with-openssl --with-brotli --with-zlib --with-zstd checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... aar
[command output truncated]
ort proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to build documentation... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking whether build target is a native Windows one... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking for sys/types.h... (cached) yes
checking for raw monotonic clock_gettime... yes
checking for aarch64-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config
checking for libbrotlidec options with pkg-config... found
checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking for libbrotlicommon options with pkg-config... found
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking for brotli/decode.h... yes
checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking for libzstd options with pkg-config... found
checking for ZSTD_createDStream in -lzstd... no
checking for zstd.h... yes
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... no
configure: WARNING: the previous check could not be made default was used
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no
checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: ""
configure: pkg-config: SSL_CPPFLAGS: ""
checking for HMAC_Update in -lcrypto... no
checking for HMAC_Init_ex in -lcrypto... no
checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for SSL_set_quic_use_legacy_codepoint... no
checking for SSL_set_quic_tls_cbs... no
configure: OpenSSL version does not speak any known QUIC API
configure: OPT_OPENSSL: yes
configure: OPENSSL_ENABLED:
configure: error: --with-openssl was given but OpenSSL could not be detected
↓ 127 lines
checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking whether to enable debug build options... no checking whether to enable compiler optimizer... (assumed) yes checking whether to enable strict compiler warnings... no checking whether to enable compiler warnings as errors... no checking whether to enable curl debug memory tracking... no checking whether to enable hiding of library internal symbols... yes checking whether to enable c-ares for DNS lookups... no checking whether to disable dependency on -lrt... (assumed no) checking whether to enable HTTPSRR support... no checking whether to enable ECH support... no checking whether to enable SSL session export support... no checking for path separator... : checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking that grep -E works... yes checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdatomic.h... yes checking if _Atomic is available... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for code coverage support... no checking whether build environment is sane... yes checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-linux-gnu-gcc... gcc3 checking curl version... 8.16.0 checking for perl... /usr/bin/perl checking for httpd... no checking for apache2... no checking for apxs... no configure: httpd/apache2 not in PATH, http tests disabled configure: apxs not in PATH, http tests disabled checking for danted... no checking for danted... no checking for nghttpx... no checking for caddy... no checking build system type... x86_64-pc-linux-gnu checking host system type... aar [command output truncated] ort proxies... yes checking whether to support dict... yes checking whether to support telnet... yes checking whether to support tftp... yes checking whether to support pop3... yes checking whether to support imap... yes checking whether to support smb... yes checking whether to support smtp... yes checking whether to support gopher... yes checking whether to support mqtt... no checking whether to provide built-in manual... yes checking whether to build documentation... yes checking whether to enable generation of C code... yes checking whether to use libgcc... no checking if X/Open network library is required... no checking for gethostbyname... yes checking whether build target is a native Windows one... (cached) no checking for proto/bsdsocket.h... no checking for connect in libraries... yes checking for sys/types.h... (cached) yes checking for monotonic clock_gettime... yes checking for clock_gettime in libraries... no additional lib required checking for sys/types.h... (cached) yes checking for raw monotonic clock_gettime... yes checking for aarch64-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for zlib options with pkg-config... found checking for zlib.h... yes configure: found both libz and libz.h header checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config checking for libbrotlidec options with pkg-config... found checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking for libbrotlicommon options with pkg-config... found checking for BrotliDecoderDecompress in -lbrotlidec... no checking for brotli/decode.h... yes checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking for libzstd options with pkg-config... found checking for ZSTD_createDStream in -lzstd... no checking for zstd.h... yes checking whether to enable IPv6... yes checking if struct sockaddr_in6 has sin6_scope_id member... yes checking if argv can be written to... no configure: WARNING: the previous check could not be made default was used checking if GSS-API support is requested... no checking whether to enable Windows native SSL/TLS... no checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lcrypto" configure: pkg-config: SSL_LDFLAGS: "" configure: pkg-config: SSL_CPPFLAGS: "" checking for HMAC_Update in -lcrypto... no checking for HMAC_Init_ex in -lcrypto... no checking OpenSSL linking with -ldl... no checking OpenSSL linking with -ldl and -lpthread... no checking for SSL_set_quic_use_legacy_codepoint... no checking for SSL_set_quic_tls_cbs... no configure: OpenSSL version does not speak any known QUIC API configure: OPT_OPENSSL: yes configure: OPENSSL_ENABLED: configure: error: --with-openssl was given but OpenSSL could not be detected
I see there's an issue with OpenSSL detection. Let me check what OpenSSL packages are installed and ensure we have the right libraries:
compile-bench> dpkg -l | grep -i openssl ii libcurl4:amd64 7.81.0-1ubuntu1.20 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii libssh-4:amd64 0.9.6-2ubuntu0.22.04.4 amd64 tiny C SSH library (OpenSSL flavor)
ii openssl 3.0.2-0ubuntu1.19 amd64 Secure Sockets Layer toolkit - cryptographic utility
↓ 4 lines
ii libcurl4:amd64 7.81.0-1ubuntu1.20 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) ii libssh-4:amd64 0.9.6-2ubuntu0.22.04.4 amd64 tiny C SSH library (OpenSSL flavor) ii openssl 3.0.2-0ubuntu1.19 amd64 Secure Sockets Layer toolkit - cryptographic utility
We have the OpenSSL library, but the cross-compilation may need the arm64 version. Let me install the cross-compilation libraries and try again with a different approach:
compile-bench> sudo apt-get install -y libssl-dev:arm64 libbrotli-dev:arm64 zlib1g-dev:arm64 libzstd-dev:arm64
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
E: Unable to locate package libssl-dev:arm64
E: Unable to locate package libbrotli-dev:arm64
E: Unable to locate package zlib1g-dev:arm64
E: Unable to locate package libzstd-dev:arm64
↓ 8 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 41% Reading package lists... 41% Reading package lists... 42% Reading package lists... 42% Reading package lists... 51% Reading package lists... 51% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done E: Unable to locate package libssl-dev:arm64 E: Unable to locate package libbrotli-dev:arm64 E: Unable to locate package zlib1g-dev:arm64 E: Unable to locate package libzstd-dev:arm64
It seems the arm64 development packages aren't available directly. Let me install the multiarch support and try a different approach by building OpenSSL from source for static arm64 compilation:
compile-bench> sudo apt-get install -y dpkg-cross multiarch-support
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
E: Unable to locate package multiarch-support
↓ 5 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 41% Reading package lists... 41% Reading package lists... 42% Reading package lists... 42% Reading package lists... 51% Reading package lists... 51% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done E: Unable to locate package multiarch-support
Let me try a different approach. I'll build the required libraries from source or use the available x86_64 libraries with a wrapper. Let me first try configuring curl using the system's OpenSSL but telling it explicitly where to find the libraries:
compile-bench> cd /home/peter/curl-8.16.0 && ./configure --host=aarch64-linux-gnu --prefix=/home/peter/result --disable-shared --enable-static --with-openssl --with-brotli --with-zlib --with-zstd --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --disable-ldap CPPFLAGS=-I/usr/include/aarch64-linux-gnu LDFLAGS=-L/usr/lib/aarch64-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... aar
[command output truncated]
ort proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to support mqtt... no
checking whether to provide built-in manual... yes
checking whether to build documentation... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking whether build target is a native Windows one... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking for sys/types.h... (cached) yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking for sys/types.h... (cached) yes
checking for raw monotonic clock_gettime... yes
checking for aarch64-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config
checking for libbrotlidec options with pkg-config... found
checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking for libbrotlicommon options with pkg-config... found
checking for BrotliDecoderDecompress in -lbrotlidec... no
checking for brotli/decode.h... yes
checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking for libzstd options with pkg-config... found
checking for ZSTD_createDStream in -lzstd... no
checking for zstd.h... yes
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... no
configure: WARNING: the previous check could not be made default was used
checking if GSS-API support is requested... no
checking whether to enable Windows native SSL/TLS... no
checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no
checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure: pkg-config: SSL_LDFLAGS: ""
configure: pkg-config: SSL_CPPFLAGS: ""
checking for HMAC_Update in -lcrypto... no
checking for HMAC_Init_ex in -lcrypto... no
checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
checking for SSL_set_quic_use_legacy_codepoint... no
checking for SSL_set_quic_tls_cbs... no
configure: OpenSSL version does not speak any known QUIC API
configure: OPT_OPENSSL: yes
configure: OPENSSL_ENABLED:
configure: error: --with-openssl was given but OpenSSL could not be detected
↓ 127 lines
checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking whether to enable debug build options... no checking whether to enable compiler optimizer... (assumed) yes checking whether to enable strict compiler warnings... no checking whether to enable compiler warnings as errors... no checking whether to enable curl debug memory tracking... no checking whether to enable hiding of library internal symbols... yes checking whether to enable c-ares for DNS lookups... no checking whether to disable dependency on -lrt... (assumed no) checking whether to enable HTTPSRR support... no checking whether to enable ECH support... no checking whether to enable SSL session export support... no checking for path separator... : checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking that grep -E works... yes checking for aarch64-linux-gnu-ar... /usr/bin/aarch64-linux-gnu-ar checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for aarch64-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for stdatomic.h... yes checking if _Atomic is available... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for code coverage support... no checking whether build environment is sane... yes checking for aarch64-linux-gnu-strip... aarch64-linux-gnu-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-linux-gnu-gcc... gcc3 checking curl version... 8.16.0 checking for perl... /usr/bin/perl checking for httpd... no checking for apache2... no checking for apxs... no configure: httpd/apache2 not in PATH, http tests disabled configure: apxs not in PATH, http tests disabled checking for danted... no checking for danted... no checking for nghttpx... no checking for caddy... no checking build system type... x86_64-pc-linux-gnu checking host system type... aar [command output truncated] ort proxies... yes checking whether to support dict... yes checking whether to support telnet... yes checking whether to support tftp... yes checking whether to support pop3... yes checking whether to support imap... yes checking whether to support smb... yes checking whether to support smtp... yes checking whether to support gopher... yes checking whether to support mqtt... no checking whether to provide built-in manual... yes checking whether to build documentation... yes checking whether to enable generation of C code... yes checking whether to use libgcc... no checking if X/Open network library is required... no checking for gethostbyname... yes checking whether build target is a native Windows one... (cached) no checking for proto/bsdsocket.h... no checking for connect in libraries... yes checking for sys/types.h... (cached) yes checking for monotonic clock_gettime... yes checking for clock_gettime in libraries... no additional lib required checking for sys/types.h... (cached) yes checking for raw monotonic clock_gettime... yes checking for aarch64-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking for zlib options with pkg-config... found checking for zlib.h... yes configure: found both libz and libz.h header checking for aarch64-linux-gnu-pkg-config... /usr/bin/pkg-config checking for libbrotlidec options with pkg-config... found checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking for libbrotlicommon options with pkg-config... found checking for BrotliDecoderDecompress in -lbrotlidec... no checking for brotli/decode.h... yes checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking for libzstd options with pkg-config... found checking for ZSTD_createDStream in -lzstd... no checking for zstd.h... yes checking whether to enable IPv6... yes checking if struct sockaddr_in6 has sin6_scope_id member... yes checking if argv can be written to... no configure: WARNING: the previous check could not be made default was used checking if GSS-API support is requested... no checking whether to enable Windows native SSL/TLS... no checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no checking for aarch64-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config checking for openssl options with pkg-config... found configure: pkg-config: SSL_LIBS: "-lssl -lcrypto" configure: pkg-config: SSL_LDFLAGS: "" configure: pkg-config: SSL_CPPFLAGS: "" checking for HMAC_Update in -lcrypto... no checking for HMAC_Init_ex in -lcrypto... no checking OpenSSL linking with -ldl... no checking OpenSSL linking with -ldl and -lpthread... no checking for SSL_set_quic_use_legacy_codepoint... no checking for SSL_set_quic_tls_cbs... no configure: OpenSSL version does not speak any known QUIC API configure: OPT_OPENSSL: yes configure: OPENSSL_ENABLED: configure: error: --with-openssl was given but OpenSSL could not be detected
The issue persists. Let me check if we have the right directories and try building the dependencies from source. First, let me try a different approach - building without native libraries by using static versions of the libraries:
compile-bench> sudo apt-get install -y git cmake wget
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... 4%
Reading package lists... 4%
Reading package lists... 41%
Reading package lists... 41%
Reading package lists... 42%
Reading package lists... 42%
Reading package lists... 51%
Reading package lists... 51%
Reading package lists... 67%
Reading package lists... 67%
Reading package lists... 71%
Reading package lists... 71%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 72%
Reading package lists... 81%
Reading package lists... 81%
Reading package lists... 96%
Reading package lists... 96%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... 99%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 1%
Reading state information... Done
wget is already the newest version (1.21.2-2ubuntu1.1).
The following additional packages will be installed:
cmake-data dh-elpa-helper emacsen-common git-man less libarchive13 libbsd0
libcbor0.8 libcurl3-gnutls libedit2 liberror-perl libexpat1 libfido2-1
libjsoncpp25 libmd0 librhash0 libuv1 libx11-6 libx11-data libxau6 libxcb1
libxdmcp6 libxext6 libxmuu1 openssh-client xauth
Suggested packages:
cmake-doc ninja-build cmake-format gettext-base git-daemon-run
| git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs
git-mediawiki git-svn lrzip keychain libpam-ssh monkeysphere ssh-askpass
The following NEW packages will be installed:
cmake cmake-data dh-elpa-helper emacsen-common git git-man less libarchive13
libbsd0 libcbor0.8 libcurl3-gnutls libedit2 liberror-perl libexpat1
libfido2-1 libjsoncpp25 libmd0 librhash0 libuv1 libx11-6 libx11-data libxau6
libxcb1 libxdmcp6 libxext6 libxmuu1 openssh-client xauth
0 upgraded, 28 newly installed, 0 to remove and 5 not upgraded.
Need to get 14.4 MB of archives.
After this operation, 63.0 MB of additional disk space will be used.
0% [Working]
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 less amd64 590-1ubuntu0.22.04.3 [142 kB]
0% [1 less 12.7 kB/142 kB 9%]
2% [Working]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmd0 amd64 1.0.4-1build1 [23.0 kB]
2% [2 libmd0 2606 B/23.0 kB 11%]
2% [Waiting for headers]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libbsd0 amd64 0.11.5-1 [44.8 kB]
2% [3 libbsd0 1072 B/44.8 kB 2%]
Get:4 http://archive
[command output truncated]
lecting previously unselected package cmake.
Preparing to unpack .../23-cmake_3.22.1-1ubuntu1.22.04.2_amd64.deb ...
Unpacking cmake (3.22.1-1ubuntu1.22.04.2) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../24-libcurl3-gnutls_7.81.0-1ubuntu1.20_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.20) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../25-liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../26-git-man_1%3a2.34.1-1ubuntu1.15_all.deb ...
Unpacking git-man (1:2.34.1-1ubuntu1.15) ...
Selecting previously unselected package git.
Preparing to unpack .../27-git_1%3a2.34.1-1ubuntu1.15_amd64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.15) ...
Setting up libexpat1:amd64 (2.4.7-1ubuntu0.6) ...
Setting up libxau6:amd64 (1:1.0.9-1build5) ...
Setting up libarchive13:amd64 (3.6.0-1ubuntu1.5) ...
Setting up libcbor0.8:amd64 (0.8.0-2ubuntu1) ...
Setting up less (590-1ubuntu0.22.04.3) ...
Setting up libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.20) ...
Setting up liberror-perl (0.17029-1) ...
Setting up libuv1:amd64 (1.43.0-1ubuntu0.1) ...
Setting up emacsen-common (3.0.4) ...
Setting up libx11-data (2:1.7.5-1ubuntu0.3) ...
Setting up dh-elpa-helper (2.0.9ubuntu1) ...
Setting up libjsoncpp25:amd64 (1.9.5-3) ...
Setting up libmd0:amd64 (1.0.4-1build1) ...
Setting up librhash0:amd64 (1.4.2-1ubuntu1) ...
Setting up git-man (1:2.34.1-1ubuntu1.15) ...
Setting up cmake-data (3.22.1-1ubuntu1.22.04.2) ...
Setting up libfido2-1:amd64 (1.10.0-1) ...
Setting up libbsd0:amd64 (0.11.5-1) ...
Setting up libxdmcp6:amd64 (1:1.1.3-0ubuntu5) ...
Setting up libxcb1:amd64 (1.14-3ubuntu3) ...
Setting up libedit2:amd64 (3.1-20210910-1build1) ...
Setting up git (1:2.34.1-1ubuntu1.15) ...
Setting up cmake (3.22.1-1ubuntu1.22.04.2) ...
Setting up libx11-6:amd64 (2:1.7.5-1ubuntu0.3) ...
Setting up libxmuu1:amd64 (2:1.1.3-3) ...
Setting up openssh-client (1:8.9p1-3ubuntu0.13) ...
update-alternatives: using /usr/bin/ssh to provide /usr/bin/rsh (rsh) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rsh.1.gz because associated file /usr/share/man/man1/ssh.1.gz (of link group rsh) doesn't exist
update-alternatives: using /usr/bin/slogin to provide /usr/bin/rlogin (rlogin) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rlogin.1.gz because associated file /usr/share/man/man1/slogin.1.gz (of link group rlogin) doesn't exist
update-alternatives: using /usr/bin/scp to provide /usr/bin/rcp (rcp) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rcp.1.gz because associated file /usr/share/man/man1/scp.1.gz (of link group rcp) doesn't exist
Setting up libxext6:amd64 (2:1.3.4-1build1) ...
Setting up xauth (1:1.1-1build2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 77 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 3% Reading package lists... 3% Reading package lists... 4% Reading package lists... 4% Reading package lists... 41% Reading package lists... 41% Reading package lists... 42% Reading package lists... 42% Reading package lists... 51% Reading package lists... 51% Reading package lists... 67% Reading package lists... 67% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 72% Reading package lists... 81% Reading package lists... 81% Reading package lists... 96% Reading package lists... 96% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 99% Building dependency tree... Done Reading state information... 0% Reading state information... 1% Reading state information... Done wget is already the newest version (1.21.2-2ubuntu1.1). The following additional packages will be installed: cmake-data dh-elpa-helper emacsen-common git-man less libarchive13 libbsd0 libcbor0.8 libcurl3-gnutls libedit2 liberror-perl libexpat1 libfido2-1 libjsoncpp25 libmd0 librhash0 libuv1 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 openssh-client xauth Suggested packages: cmake-doc ninja-build cmake-format gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn lrzip keychain libpam-ssh monkeysphere ssh-askpass The following NEW packages will be installed: cmake cmake-data dh-elpa-helper emacsen-common git git-man less libarchive13 libbsd0 libcbor0.8 libcurl3-gnutls libedit2 liberror-perl libexpat1 libfido2-1 libjsoncpp25 libmd0 librhash0 libuv1 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 openssh-client xauth 0 upgraded, 28 newly installed, 0 to remove and 5 not upgraded. Need to get 14.4 MB of archives. After this operation, 63.0 MB of additional disk space will be used. 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 less amd64 590-1ubuntu0.22.04.3 [142 kB] 0% [1 less 12.7 kB/142 kB 9%] 2% [Working] Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmd0 amd64 1.0.4-1build1 [23.0 kB] 2% [2 libmd0 2606 B/23.0 kB 11%] 2% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libbsd0 amd64 0.11.5-1 [44.8 kB] 2% [3 libbsd0 1072 B/44.8 kB 2%] Get:4 http://archive [command output truncated] lecting previously unselected package cmake. Preparing to unpack .../23-cmake_3.22.1-1ubuntu1.22.04.2_amd64.deb ... Unpacking cmake (3.22.1-1ubuntu1.22.04.2) ... Selecting previously unselected package libcurl3-gnutls:amd64. Preparing to unpack .../24-libcurl3-gnutls_7.81.0-1ubuntu1.20_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.20) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../25-liberror-perl_0.17029-1_all.deb ... Unpacking liberror-perl (0.17029-1) ... Selecting previously unselected package git-man. Preparing to unpack .../26-git-man_1%3a2.34.1-1ubuntu1.15_all.deb ... Unpacking git-man (1:2.34.1-1ubuntu1.15) ... Selecting previously unselected package git. Preparing to unpack .../27-git_1%3a2.34.1-1ubuntu1.15_amd64.deb ... Unpacking git (1:2.34.1-1ubuntu1.15) ... Setting up libexpat1:amd64 (2.4.7-1ubuntu0.6) ... Setting up libxau6:amd64 (1:1.0.9-1build5) ... Setting up libarchive13:amd64 (3.6.0-1ubuntu1.5) ... Setting up libcbor0.8:amd64 (0.8.0-2ubuntu1) ... Setting up less (590-1ubuntu0.22.04.3) ... Setting up libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.20) ... Setting up liberror-perl (0.17029-1) ... Setting up libuv1:amd64 (1.43.0-1ubuntu0.1) ... Setting up emacsen-common (3.0.4) ... Setting up libx11-data (2:1.7.5-1ubuntu0.3) ... Setting up dh-elpa-helper (2.0.9ubuntu1) ... Setting up libjsoncpp25:amd64 (1.9.5-3) ... Setting up libmd0:amd64 (1.0.4-1build1) ... Setting up librhash0:amd64 (1.4.2-1ubuntu1) ... Setting up git-man (1:2.34.1-1ubuntu1.15) ... Setting up cmake-data (3.22.1-1ubuntu1.22.04.2) ... Setting up libfido2-1:amd64 (1.10.0-1) ... Setting up libbsd0:amd64 (0.11.5-1) ... Setting up libxdmcp6:amd64 (1:1.1.3-0ubuntu5) ... Setting up libxcb1:amd64 (1.14-3ubuntu3) ... Setting up libedit2:amd64 (3.1-20210910-1build1) ... Setting up git (1:2.34.1-1ubuntu1.15) ... Setting up cmake (3.22.1-1ubuntu1.22.04.2) ... Setting up libx11-6:amd64 (2:1.7.5-1ubuntu0.3) ... Setting up libxmuu1:amd64 (2:1.1.3-3) ... Setting up openssh-client (1:8.9p1-3ubuntu0.13) ... update-alternatives: using /usr/bin/ssh to provide /usr/bin/rsh (rsh) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/rsh.1.gz because associated file /usr/share/man/man1/ssh.1.gz (of link group rsh) doesn't exist update-alternatives: using /usr/bin/slogin to provide /usr/bin/rlogin (rlogin) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/rlogin.1.gz because associated file /usr/share/man/man1/slogin.1.gz (of link group rlogin) doesn't exist update-alternatives: using /usr/bin/scp to provide /usr/bin/rcp (rcp) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/rcp.1.gz because associated file /usr/share/man/man1/scp.1.gz (of link group rcp) doesn't exist Setting up libxext6:amd64 (2:1.3.4-1build1) ... Setting up xauth (1:1.1-1build2) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Now let me download and build OpenSSL from source for arm64:
compile-bench> wget https://www.openssl.org/source/openssl-3.0.13.tar.gz --2025-09-23 20:24:37-- https://www.openssl.org/source/openssl-3.0.13.tar.gz
Resolving www.openssl.org (www.openssl.org)... 34.49.79.89, 2600:1901:0:d50b::
Connecting to www.openssl.org (www.openssl.org)|34.49.79.89|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/openssl/openssl/releases/download/openssl-3.0.13/openssl-3.0.13.tar.gz [following]
--2025-09-23 20:24:38-- https://github.com/openssl/openssl/releases/download/openssl-3.0.13/openssl-3.0.13.tar.gz
Resolving github.com (github.com)... 140.82.112.3
Connecting to github.com (github.com)|140.82.112.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/7634677/b093d0f3-c7d0-4111-928d-e47c8fa40dd3?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A23%3A57Z&rscd=attachment%3B+filename%3Dopenssl-3.0.13.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A23%3A05Z&ske=2025-09-23T21%3A23%3A57Z&sks=b&skv=2018-11-09&sig=3YLV%2BOjLyoiKo0s9ATNCdTIXxmAIOEm4T6eKDYVBxQU%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTM3OCwibmJmIjoxNzU4NjU5MDc4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.53BgftkoLnpTxLplkIkhx5JFghW_eF1nOSOBzBJy0nE&response-content-disposition=attachment%3B%20filename%3Dopenssl-3.0.13.tar.gz&response-content-type=application%2Foctet-stream [following]
--2025-09-23 20:24:38-- https://release-assets.githubusercontent.com/github-production-release-asset/7634677/b093d0f3-c7d0-4111-928d-e47c8fa40dd3?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A23%3A57Z&rscd=attachment%3B+filename%3Dopenssl-3.0.13.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A23%3A05Z&ske=2025-09-23T21%3A23%3A57Z&sks=b&skv=2018-11-09&sig=3YLV%2BOjLyoiKo0s9ATNCdTIXxmAIOEm4T6eKDYVBxQU%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTM3OCwibmJmIjoxNzU4NjU5MDc4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.53BgftkoLnpTxLplkIkhx5JFghW_eF1nOSOBzBJy0nE&response-content-disposition=attachment%3B%20filename%3Dopenssl-3.0.13.tar.gz&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15294843 (15M) [application/octet-stream]
Saving to: 'openssl-3.0.13.tar.gz'
openssl-3.0.13.tar. 0%[ ] 0 --.-KB/s
openssl-3.0.13.tar. 100%[===================>] 14.59M --.-KB/s in 0.04s
2025-09-23 20:24:38 (401 MB/s) - 'openssl-3.0.13.tar.gz' saved [15294843/15294843]
↓ 21 lines
--2025-09-23 20:24:37-- https://www.openssl.org/source/openssl-3.0.13.tar.gz Resolving www.openssl.org (www.openssl.org)... 34.49.79.89, 2600:1901:0:d50b:: Connecting to www.openssl.org (www.openssl.org)|34.49.79.89|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/openssl/openssl/releases/download/openssl-3.0.13/openssl-3.0.13.tar.gz [following] --2025-09-23 20:24:38-- https://github.com/openssl/openssl/releases/download/openssl-3.0.13/openssl-3.0.13.tar.gz Resolving github.com (github.com)... 140.82.112.3 Connecting to github.com (github.com)|140.82.112.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://release-assets.githubusercontent.com/github-production-release-asset/7634677/b093d0f3-c7d0-4111-928d-e47c8fa40dd3?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A23%3A57Z&rscd=attachment%3B+filename%3Dopenssl-3.0.13.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A23%3A05Z&ske=2025-09-23T21%3A23%3A57Z&sks=b&skv=2018-11-09&sig=3YLV%2BOjLyoiKo0s9ATNCdTIXxmAIOEm4T6eKDYVBxQU%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTM3OCwibmJmIjoxNzU4NjU5MDc4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.53BgftkoLnpTxLplkIkhx5JFghW_eF1nOSOBzBJy0nE&response-content-disposition=attachment%3B%20filename%3Dopenssl-3.0.13.tar.gz&response-content-type=application%2Foctet-stream [following] --2025-09-23 20:24:38-- https://release-assets.githubusercontent.com/github-production-release-asset/7634677/b093d0f3-c7d0-4111-928d-e47c8fa40dd3?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A23%3A57Z&rscd=attachment%3B+filename%3Dopenssl-3.0.13.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A23%3A05Z&ske=2025-09-23T21%3A23%3A57Z&sks=b&skv=2018-11-09&sig=3YLV%2BOjLyoiKo0s9ATNCdTIXxmAIOEm4T6eKDYVBxQU%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTM3OCwibmJmIjoxNzU4NjU5MDc4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.53BgftkoLnpTxLplkIkhx5JFghW_eF1nOSOBzBJy0nE&response-content-disposition=attachment%3B%20filename%3Dopenssl-3.0.13.tar.gz&response-content-type=application%2Foctet-stream Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ... Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 15294843 (15M) [application/octet-stream] Saving to: 'openssl-3.0.13.tar.gz' openssl-3.0.13.tar. 0%[ ] 0 --.-KB/s openssl-3.0.13.tar. 100%[===================>] 14.59M --.-KB/s in 0.04s 2025-09-23 20:24:38 (401 MB/s) - 'openssl-3.0.13.tar.gz' saved [15294843/15294843]
Now let me extract and build OpenSSL for arm64:
[empty output]
compile-bench> cd openssl-3.0.13 && ./Configure linux-aarch64 no-shared --prefix=/home/peter/openssl-static --cross-compile-prefix=aarch64-linux-gnu- Configuring OpenSSL version 3.0.13 for target linux-aarch64
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***
*** ***
**********************************************************************
↓ 23 lines
Configuring OpenSSL version 3.0.13 for target linux-aarch64 Using os-specific seed configuration Created configdata.pm Running configdata.pm Created Makefile.in Created Makefile Created include/openssl/configuration.h ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL.md file first) *** *** *** **********************************************************************
Let me set environment variables needed for cross-compilation and compile OpenSSL:
compile-bench> cd /home/peter/openssl-3.0.13 && export CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ AR=aarch64-linux-gnu-ar LD=aarch64-linux-gnu-ld RANLIB=aarch64-linux-gnu-ranlib && make -j$(nproc) /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1.h.in > include/openssl/asn1.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1t.h.in > include/openssl/asn1t.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/bio.h.in > include/openssl/bio.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cmp.h.in > include/openssl/cmp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cms.h.in > include/openssl/cms.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/conf.h.in > include/openssl/conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crmf.h.in > include/openssl/crmf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crypto.h.in > include/openssl/crypto.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ct.h.in > include/openssl/ct.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/err.h.in > include/openssl/err.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ess.h.in > include/openssl/ess.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/fipskey.h.in > include/openssl/fipskey.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/lhash.h.in > include/openssl/lhash.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ocsp.h.in > include/openssl/ocsp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslv.h.in > include/openssl/opensslv.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs12.h.in > include/openssl/pkcs12.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs7.h.in > include/openssl/pkcs7.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/safestack.h.in > include/openssl/safestack.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/srp.h.in > include/openssl/srp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ssl.h.in > include/openssl/ssl.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ui.h.in > include/openssl/ui.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509.h.in > include/openssl/x509.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509v3.h.in
[command output truncated]
heck_cert_pkey_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_dup_cert_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_dup_cert_test \
test/x509_dup_cert_test-bin-x509_dup_cert_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_internal_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 \
-o test/x509_internal_test \
test/x509_internal_test-bin-x509_internal_test.o \
test/libtestutil.a libcrypto.a -ldl -pthread
rm -f test/x509_time_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_time_test \
test/x509_time_test-bin-x509_time_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509aux
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509aux \
test/x509aux-bin-x509aux.o \
test/libtestutil.a -lcrypto -ldl -pthread
aarch64-linux-gnu-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -L. -Wl,-z,defs -Wl,-znodelete -shared -Wl,-Bsymbolic \
-o providers/legacy.so -Wl,--version-script=providers/legacy.ld \
providers/legacy-dso-legacyprov.o \
providers/liblegacy.a providers/libcommon.a -lcrypto -ldl -pthread
rm -f apps/openssl
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o apps/openssl \
apps/lib/openssl-bin-cmp_mock_srv.o \
apps/openssl-bin-asn1parse.o apps/openssl-bin-ca.o \
apps/openssl-bin-ciphers.o apps/openssl-bin-cmp.o \
apps/openssl-bin-cms.o apps/openssl-bin-crl.o \
apps/openssl-bin-crl2pkcs7.o apps/openssl-bin-dgst.o \
apps/openssl-bin-dhparam.o apps/openssl-bin-dsa.o \
apps/openssl-bin-dsaparam.o apps/openssl-bin-ec.o \
apps/openssl-bin-ecparam.o apps/openssl-bin-enc.o \
apps/openssl-bin-engine.o apps/openssl-bin-errstr.o \
apps/openssl-bin-fipsinstall.o apps/openssl-bin-gendsa.o \
apps/openssl-bin-genpkey.o apps/openssl-bin-genrsa.o \
apps/openssl-bin-info.o apps/openssl-bin-kdf.o \
apps/openssl-bin-list.o apps/openssl-bin-mac.o \
apps/openssl-bin-nseq.o apps/openssl-bin-ocsp.o \
apps/openssl-bin-openssl.o apps/openssl-bin-passwd.o \
apps/openssl-bin-pkcs12.o apps/openssl-bin-pkcs7.o \
apps/openssl-bin-pkcs8.o apps/openssl-bin-pkey.o \
apps/openssl-bin-pkeyparam.o apps/openssl-bin-pkeyutl.o \
apps/openssl-bin-prime.o apps/openssl-bin-progs.o \
apps/openssl-bin-rand.o apps/openssl-bin-rehash.o \
apps/openssl-bin-req.o apps/openssl-bin-rsa.o \
apps/openssl-bin-rsautl.o apps/openssl-bin-s_client.o \
apps/openssl-bin-s_server.o apps/openssl-bin-s_time.o \
apps/openssl-bin-sess_id.o apps/openssl-bin-smime.o \
apps/openssl-bin-speed.o apps/openssl-bin-spkac.o \
apps/openssl-bin-srp.o apps/openssl-bin-storeutl.o \
apps/openssl-bin-ts.o apps/openssl-bin-verify.o \
apps/openssl-bin-version.o apps/openssl-bin-x509.o \
apps/libapps.a -lssl -lcrypto -ldl -pthread
make[1]: Leaving directory '/home/peter/openssl-3.0.13'
↓ 87 lines
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/bn_conf.h.in > include/crypto/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/crypto/dso_conf.h.in > include/crypto/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1.h.in > include/openssl/asn1.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/asn1t.h.in > include/openssl/asn1t.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/bio.h.in > include/openssl/bio.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cmp.h.in > include/openssl/cmp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/cms.h.in > include/openssl/cms.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/conf.h.in > include/openssl/conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crmf.h.in > include/openssl/crmf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/crypto.h.in > include/openssl/crypto.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ct.h.in > include/openssl/ct.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/err.h.in > include/openssl/err.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ess.h.in > include/openssl/ess.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/fipskey.h.in > include/openssl/fipskey.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/lhash.h.in > include/openssl/lhash.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ocsp.h.in > include/openssl/ocsp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslv.h.in > include/openssl/opensslv.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs12.h.in > include/openssl/pkcs12.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/pkcs7.h.in > include/openssl/pkcs7.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/safestack.h.in > include/openssl/safestack.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/srp.h.in > include/openssl/srp.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ssl.h.in > include/openssl/ssl.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/ui.h.in > include/openssl/ui.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509.h.in > include/openssl/x509.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509_vfy.h.in > include/openssl/x509_vfy.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/x509v3.h.in
[command output truncated]
heck_cert_pkey_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_dup_cert_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_dup_cert_test \
test/x509_dup_cert_test-bin-x509_dup_cert_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509_internal_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 \
-o test/x509_internal_test \
test/x509_internal_test-bin-x509_internal_test.o \
test/libtestutil.a libcrypto.a -ldl -pthread
rm -f test/x509_time_test
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509_time_test \
test/x509_time_test-bin-x509_time_test.o \
test/libtestutil.a -lcrypto -ldl -pthread
rm -f test/x509aux
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o test/x509aux \
test/x509aux-bin-x509aux.o \
test/libtestutil.a -lcrypto -ldl -pthread
aarch64-linux-gnu-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -L. -Wl,-z,defs -Wl,-znodelete -shared -Wl,-Bsymbolic \
-o providers/legacy.so -Wl,--version-script=providers/legacy.ld \
providers/legacy-dso-legacyprov.o \
providers/liblegacy.a providers/libcommon.a -lcrypto -ldl -pthread
rm -f apps/openssl
${LDCMD:-aarch64-linux-gnu-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L. \
-o apps/openssl \
apps/lib/openssl-bin-cmp_mock_srv.o \
apps/openssl-bin-asn1parse.o apps/openssl-bin-ca.o \
apps/openssl-bin-ciphers.o apps/openssl-bin-cmp.o \
apps/openssl-bin-cms.o apps/openssl-bin-crl.o \
apps/openssl-bin-crl2pkcs7.o apps/openssl-bin-dgst.o \
apps/openssl-bin-dhparam.o apps/openssl-bin-dsa.o \
apps/openssl-bin-dsaparam.o apps/openssl-bin-ec.o \
apps/openssl-bin-ecparam.o apps/openssl-bin-enc.o \
apps/openssl-bin-engine.o apps/openssl-bin-errstr.o \
apps/openssl-bin-fipsinstall.o apps/openssl-bin-gendsa.o \
apps/openssl-bin-genpkey.o apps/openssl-bin-genrsa.o \
apps/openssl-bin-info.o apps/openssl-bin-kdf.o \
apps/openssl-bin-list.o apps/openssl-bin-mac.o \
apps/openssl-bin-nseq.o apps/openssl-bin-ocsp.o \
apps/openssl-bin-openssl.o apps/openssl-bin-passwd.o \
apps/openssl-bin-pkcs12.o apps/openssl-bin-pkcs7.o \
apps/openssl-bin-pkcs8.o apps/openssl-bin-pkey.o \
apps/openssl-bin-pkeyparam.o apps/openssl-bin-pkeyutl.o \
apps/openssl-bin-prime.o apps/openssl-bin-progs.o \
apps/openssl-bin-rand.o apps/openssl-bin-rehash.o \
apps/openssl-bin-req.o apps/openssl-bin-rsa.o \
apps/openssl-bin-rsautl.o apps/openssl-bin-s_client.o \
apps/openssl-bin-s_server.o apps/openssl-bin-s_time.o \
apps/openssl-bin-sess_id.o apps/openssl-bin-smime.o \
apps/openssl-bin-speed.o apps/openssl-bin-spkac.o \
apps/openssl-bin-srp.o apps/openssl-bin-storeutl.o \
apps/openssl-bin-ts.o apps/openssl-bin-verify.o \
apps/openssl-bin-version.o apps/openssl-bin-x509.o \
apps/libapps.a -lssl -lcrypto -ldl -pthread
make[1]: Leaving directory '/home/peter/openssl-3.0.13'
Now let me also install the OpenSSL libraries and then try building curl again:
compile-bench> cd /home/peter/openssl-3.0.13 && make install DESTDIR=/home/peter/result make depend && make _build_libs
make[1]: Entering directory '/home/peter/openssl-3.0.13'
make[1]: Leaving directory '/home/peter/openssl-3.0.13'
make[1]: Entering directory '/home/peter/openssl-3.0.13'
make[1]: Leaving directory '/home/peter/openssl-3.0.13'
created directory `/home/peter/result'
created directory `/home/peter/result/home'
created directory `/home/peter/result/home/peter'
created directory `/home/peter/result/home/peter/openssl-static'
created directory `/home/peter/result/home/peter/openssl-static/lib'
*** Installing runtime libraries
*** Installing development files
created directory `/home/peter/result/home/peter/openssl-static/include'
created directory `/home/peter/result/home/peter/openssl-static/include/openssl'
install ./include/openssl/aes.h -> /home/peter/result/home/peter/openssl-static/include/openssl/aes.h
install ./include/openssl/asn1.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1.h
install ./include/openssl/asn1_mac.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1_mac.h
install ./include/openssl/asn1err.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1err.h
install ./include/openssl/asn1t.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1t.h
install ./include/openssl/async.h -> /home/peter/result/home/peter/openssl-static/include/openssl/async.h
install ./include/openssl/asyncerr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asyncerr.h
install ./include/openssl/bio.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bio.h
install ./include/openssl/bioerr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bioerr.h
install ./include/openssl/blowfish.h -> /home/peter/result/home/peter/openssl-static/include/openssl/blowfish.h
install ./include/openssl/bn.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bn.h
install ./include/openssl/bnerr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bnerr.h
install ./include/openssl/buffer.h -> /home/peter/result/home/peter/openssl-static/include/openssl/buffer.h
install ./include/openssl/buffererr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/buffererr.h
install ./include/openssl/camellia.h -> /home/peter/result/home/peter/openssl-static/include/openssl/camellia.h
install ./include/openssl/cast.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cast.h
install ./include/openssl/cmac.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmac.h
install ./include/openssl/cmp.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmp.h
install ./include/openssl/cmp_util.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmp_util.h
install ./include/openssl/cmperr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmperr.h
install ./include/openssl/cms.h -> /home/peter/result/home/peter/openssl-stat
[command output truncated]
l -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/ossl_store.html
install doc/html/man7/passphrase-encoding.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/passphrase-encoding.html
install doc/html/man7/property.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/property.html
install doc/html/man7/provider-asym_cipher.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-asym_cipher.html
install doc/html/man7/provider-base.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-base.html
install doc/html/man7/provider-cipher.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-cipher.html
install doc/html/man7/provider-decoder.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-decoder.html
install doc/html/man7/provider-digest.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-digest.html
install doc/html/man7/provider-encoder.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-encoder.html
install doc/html/man7/provider-kdf.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-kdf.html
install doc/html/man7/provider-kem.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-kem.html
install doc/html/man7/provider-keyexch.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-keyexch.html
install doc/html/man7/provider-keymgmt.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-keymgmt.html
install doc/html/man7/provider-mac.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-mac.html
install doc/html/man7/provider-object.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-object.html
install doc/html/man7/provider-rand.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-rand.html
install doc/html/man7/provider-signature.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-signature.html
install doc/html/man7/provider-storemgmt.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-storemgmt.html
install doc/html/man7/provider.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider.html
install doc/html/man7/proxy-certificates.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/proxy-certificates.html
install doc/html/man7/ssl.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/ssl.html
install doc/html/man7/x509.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/x509.html
↓ 59 lines
make depend && make _build_libs make[1]: Entering directory '/home/peter/openssl-3.0.13' make[1]: Leaving directory '/home/peter/openssl-3.0.13' make[1]: Entering directory '/home/peter/openssl-3.0.13' make[1]: Leaving directory '/home/peter/openssl-3.0.13' created directory `/home/peter/result' created directory `/home/peter/result/home' created directory `/home/peter/result/home/peter' created directory `/home/peter/result/home/peter/openssl-static' created directory `/home/peter/result/home/peter/openssl-static/lib' *** Installing runtime libraries *** Installing development files created directory `/home/peter/result/home/peter/openssl-static/include' created directory `/home/peter/result/home/peter/openssl-static/include/openssl' install ./include/openssl/aes.h -> /home/peter/result/home/peter/openssl-static/include/openssl/aes.h install ./include/openssl/asn1.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1.h install ./include/openssl/asn1_mac.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1_mac.h install ./include/openssl/asn1err.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1err.h install ./include/openssl/asn1t.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asn1t.h install ./include/openssl/async.h -> /home/peter/result/home/peter/openssl-static/include/openssl/async.h install ./include/openssl/asyncerr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/asyncerr.h install ./include/openssl/bio.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bio.h install ./include/openssl/bioerr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bioerr.h install ./include/openssl/blowfish.h -> /home/peter/result/home/peter/openssl-static/include/openssl/blowfish.h install ./include/openssl/bn.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bn.h install ./include/openssl/bnerr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/bnerr.h install ./include/openssl/buffer.h -> /home/peter/result/home/peter/openssl-static/include/openssl/buffer.h install ./include/openssl/buffererr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/buffererr.h install ./include/openssl/camellia.h -> /home/peter/result/home/peter/openssl-static/include/openssl/camellia.h install ./include/openssl/cast.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cast.h install ./include/openssl/cmac.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmac.h install ./include/openssl/cmp.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmp.h install ./include/openssl/cmp_util.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmp_util.h install ./include/openssl/cmperr.h -> /home/peter/result/home/peter/openssl-static/include/openssl/cmperr.h install ./include/openssl/cms.h -> /home/peter/result/home/peter/openssl-stat [command output truncated] l -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/ossl_store.html install doc/html/man7/passphrase-encoding.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/passphrase-encoding.html install doc/html/man7/property.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/property.html install doc/html/man7/provider-asym_cipher.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-asym_cipher.html install doc/html/man7/provider-base.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-base.html install doc/html/man7/provider-cipher.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-cipher.html install doc/html/man7/provider-decoder.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-decoder.html install doc/html/man7/provider-digest.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-digest.html install doc/html/man7/provider-encoder.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-encoder.html install doc/html/man7/provider-kdf.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-kdf.html install doc/html/man7/provider-kem.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-kem.html install doc/html/man7/provider-keyexch.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-keyexch.html install doc/html/man7/provider-keymgmt.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-keymgmt.html install doc/html/man7/provider-mac.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-mac.html install doc/html/man7/provider-object.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-object.html install doc/html/man7/provider-rand.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-rand.html install doc/html/man7/provider-signature.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-signature.html install doc/html/man7/provider-storemgmt.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider-storemgmt.html install doc/html/man7/provider.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/provider.html install doc/html/man7/proxy-certificates.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/proxy-certificates.html install doc/html/man7/ssl.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/ssl.html install doc/html/man7/x509.html -> /home/peter/result/home/peter/openssl-static/share/doc/openssl/html/man7/x509.html
Now I need to build the other dependencies as well. Let me download and build zlib:
compile-bench> wget http://zlib.net/zlib-1.3.1.tar.gz --2025-09-23 20:26:34-- http://zlib.net/zlib-1.3.1.tar.gz
Resolving zlib.net (zlib.net)... 85.187.148.2
Connecting to zlib.net (zlib.net)|85.187.148.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1512791 (1.4M) [application/x-gzip]
Saving to: 'zlib-1.3.1.tar.gz'
zlib-1.3.1.tar.gz 0%[ ] 0 --.-KB/s
zlib-1.3.1.tar.gz 29%[====> ] 438.68K 1.76MB/s
zlib-1.3.1.tar.gz 100%[===================>] 1.44M 4.86MB/s in 0.3s
2025-09-23 20:26:34 (4.86 MB/s) - 'zlib-1.3.1.tar.gz' saved [1512791/1512791]
↓ 11 lines
--2025-09-23 20:26:34-- http://zlib.net/zlib-1.3.1.tar.gz Resolving zlib.net (zlib.net)... 85.187.148.2 Connecting to zlib.net (zlib.net)|85.187.148.2|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1512791 (1.4M) [application/x-gzip] Saving to: 'zlib-1.3.1.tar.gz' zlib-1.3.1.tar.gz 0%[ ] 0 --.-KB/s zlib-1.3.1.tar.gz 29%[====> ] 438.68K 1.76MB/s zlib-1.3.1.tar.gz 100%[===================>] 1.44M 4.86MB/s in 0.3s 2025-09-23 20:26:34 (4.86 MB/s) - 'zlib-1.3.1.tar.gz' saved [1512791/1512791]
compile-bench> tar -xzf zlib-1.3.1.tar.gz && cd zlib-1.3.1 && CC=aarch64-linux-gnu-gcc ./configure --prefix=/home/peter/result/home/peter/zlib-static --static && make -j$(nproc) && make install Building static library libz.a version 1.3.1 with aarch64-linux-gnu-gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a
aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
rm -f /home/peter/result/home/peter/zlib-static/lib/libz.a
cp libz.a /home/peter/result/home/peter/zlib-static/lib
chmod 644 /home/peter/result/home/peter/zlib-static/lib/libz.a
rm -f /home/peter/result/home/peter/zlib-static/share/man/man3/zlib.3
cp zlib.3 /home/peter/result/home/peter/zlib-static/share/man/man3
chmod 644 /home/peter/result/home/peter/zlib-static/share/man/man3/zlib.3
rm -f /home/peter/result/home/peter/zlib-static/lib/pkgconfig/zlib.pc
cp zlib.pc /home/peter/result/home/peter/zlib-static/lib/pkgconfig
chmod 644 /home/peter/result/home/peter/zlib-static/lib/pkgconfig/zlib.pc
rm -f /home/peter/result/home/peter/zlib-static/include/zlib.h /home/peter/result/home/peter/zlib-static/include/zconf.h
cp zlib.h zconf.h /home/peter/result/home/peter/zlib-static/include
chmod 644 /home/peter/result/home/peter/zlib-static/include/zlib.h /home/peter/result/home/peter/zlib-static/include/zconf.h
↓ 48 lines
Building static library libz.a version 1.3.1 with aarch64-linux-gnu-gcc. Checking for size_t... Yes. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for strerror... Yes. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes. aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a aarch64-linux-gnu-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a rm -f /home/peter/result/home/peter/zlib-static/lib/libz.a cp libz.a /home/peter/result/home/peter/zlib-static/lib chmod 644 /home/peter/result/home/peter/zlib-static/lib/libz.a rm -f /home/peter/result/home/peter/zlib-static/share/man/man3/zlib.3 cp zlib.3 /home/peter/result/home/peter/zlib-static/share/man/man3 chmod 644 /home/peter/result/home/peter/zlib-static/share/man/man3/zlib.3 rm -f /home/peter/result/home/peter/zlib-static/lib/pkgconfig/zlib.pc cp zlib.pc /home/peter/result/home/peter/zlib-static/lib/pkgconfig chmod 644 /home/peter/result/home/peter/zlib-static/lib/pkgconfig/zlib.pc rm -f /home/peter/result/home/peter/zlib-static/include/zlib.h /home/peter/result/home/peter/zlib-static/include/zconf.h cp zlib.h zconf.h /home/peter/result/home/peter/zlib-static/include chmod 644 /home/peter/result/home/peter/zlib-static/include/zlib.h /home/peter/result/home/peter/zlib-static/include/zconf.h
Now let me download and build brotli:
compile-bench> git clone https://github.com/google/brotli.git && cd brotli && mkdir build && cd build && CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ cmake .. -DCMAKE_INSTALL_PREFIX=/home/peter/result/home/peter/brotli-static -DBUILD_SHARED_LIBS=OFF && make -j$(nproc) && make install Cloning into 'brotli'...
remote: Enumerating objects: 8473, done.
remote: Counting objects: 0% (1/240)
remote: Counting objects: 1% (3/240)
remote: Counting objects: 2% (5/240)
remote: Counting objects: 3% (8/240)
remote: Counting objects: 4% (10/240)
remote: Counting objects: 5% (12/240)
remote: Counting objects: 6% (15/240)
remote: Counting objects: 7% (17/240)
remote: Counting objects: 8% (20/240)
remote: Counting objects: 9% (22/240)
remote: Counting objects: 10% (24/240)
remote: Counting objects: 11% (27/240)
remote: Counting objects: 12% (29/240)
remote: Counting objects: 13% (32/240)
remote: Counting objects: 14% (34/240)
remote: Counting objects: 15% (36/240)
remote: Counting objects: 16% (39/240)
remote: Counting objects: 17% (41/240)
remote: Counting objects: 18% (44/240)
remote: Counting objects: 19% (46/240)
remote: Counting objects: 20% (48/240)
remote: Counting objects: 21% (51/240)
remote: Counting objects: 22% (53/240)
remote: Counting objects: 23% (56/240)
remote: Counting objects: 24% (58/240)
remote: Counting objects: 25% (60/240)
remote: Counting objects: 26% (63/240)
remote: Counting objects: 27% (65/240)
remote: Counting objects: 28% (68/240)
remote: Counting objects: 29% (70/240)
remote: Counting objects: 30% (72/240)
remote: Counting objects: 31% (75/240)
remote: Counting objects: 32% (77/240)
remote: Counting objects: 33% (80/240)
remote: Counting objects: 34% (82/240)
remote: Counting objects: 35% (84/240)
remote: Counting objects: 36% (87/240)
remote: Counting objects: 37% (89/240)
remote: Counting objects: 38% (92/240)
remote: Counting objects: 39% (94/240)
remote: Counting objects: 40% (96/240)
remote: Counting objects: 41% (99/240)
remote: Counting objects: 42% (101/240)
remote: Counting objects: 43% (104/240)
remote: Counting objects: 44% (106/240)
remote: Counting objects: 45% (108/240)
remote: Counting objects: 46% (111/240)
remote: Counting objects: 47% (113/240)
remote: Counting objects: 48% (116/240)
remote: Counting objects: 49% (118/240)
remote: Counting objects: 50% (120/240)
remote: Counting objects: 51% (123/240)
remote: Counting objects: 52% (125/240)
remote: Counting objects: 53% (128/240)
remote: Counting objects: 54% (130/240)
remote: Counting objects: 55% (132/240)
remote: Counting objects: 56% (135/240)
remote: Counting objects: 57% (137/240)
remote: Counting objects: 58% (140/240)
remote: Counting objects: 59% (142/240)
remote: Counting objects: 60% (144/240)
remote: Counting objects: 61% (147/240)
remote: Counting objects: 62% (149/240)
remote: Counting objects: 63% (152/240)
remote: Counting objects: 64% (154/240)
remote: Counting objects: 65% (156/240)
remote: Counting objects: 66% (159/240)
remote: Counting objects: 67% (161/240)
remote: Counting objects: 68% (164/240)
remote: Counting objects: 69% (166/240)
remote: Counting objects: 70% (168/240)
remote: Counting objects: 71% (171/240)
remote: Counting objects:
[command output truncated]
/c/enc/encoder_dict.c.o
[ 67%] Building C object CMakeFiles/brotlienc.dir/c/enc/entropy_encode.c.o
[ 70%] Building C object CMakeFiles/brotlienc.dir/c/enc/fast_log.c.o
[ 72%] Building C object CMakeFiles/brotlienc.dir/c/enc/histogram.c.o
[ 75%] Building C object CMakeFiles/brotlienc.dir/c/enc/literal_cost.c.o
[ 77%] Building C object CMakeFiles/brotlienc.dir/c/enc/memory.c.o
[ 80%] Building C object CMakeFiles/brotlienc.dir/c/enc/metablock.c.o
[ 82%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_dict.c.o
[ 85%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_dict_lut.c.o
[ 87%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_init.c.o
[ 90%] Building C object CMakeFiles/brotlienc.dir/c/enc/utf8_util.c.o
[ 92%] Linking C static library libbrotlidec.a
[ 92%] Built target brotlidec
[ 95%] Linking C static library libbrotlienc.a
[ 95%] Built target brotlienc
[ 97%] Building C object CMakeFiles/brotli.dir/c/tools/brotli.c.o
[100%] Linking C executable brotli
[100%] Built target brotli
Consolidate compiler generated dependencies of target brotlicommon
[ 17%] Built target brotlicommon
Consolidate compiler generated dependencies of target brotlidec
[ 35%] Built target brotlidec
Consolidate compiler generated dependencies of target brotlienc
[ 95%] Built target brotlienc
Consolidate compiler generated dependencies of target brotli
[100%] Built target brotli
Install the project...
-- Install configuration: "Release"
-- Installing: /home/peter/result/home/peter/brotli-static/bin/brotli
-- Installing: /home/peter/result/home/peter/brotli-static/lib/libbrotlienc.a
-- Installing: /home/peter/result/home/peter/brotli-static/lib/libbrotlidec.a
-- Installing: /home/peter/result/home/peter/brotli-static/lib/libbrotlicommon.a
-- Installing: /home/peter/result/home/peter/brotli-static/include/brotli
-- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/shared_dictionary.h
-- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/port.h
-- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/encode.h
-- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/types.h
-- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/decode.h
-- Installing: /home/peter/result/home/peter/brotli-static/lib/pkgconfig/libbrotlicommon.pc
-- Installing: /home/peter/result/home/peter/brotli-static/lib/pkgconfig/libbrotlidec.pc
-- Installing: /home/peter/result/home/peter/brotli-static/lib/pkgconfig/libbrotlienc.pc
-- Installing: /home/peter/result/home/peter/brotli-static/share/man/man1/brotli.1
-- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/constants.h.3
-- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/decode.h.3
-- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/encode.h.3
-- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/types.h.3
↓ 51 lines
Cloning into 'brotli'... remote: Enumerating objects: 8473, done. remote: Counting objects: 0% (1/240) remote: Counting objects: 1% (3/240) remote: Counting objects: 2% (5/240) remote: Counting objects: 3% (8/240) remote: Counting objects: 4% (10/240) remote: Counting objects: 5% (12/240) remote: Counting objects: 6% (15/240) remote: Counting objects: 7% (17/240) remote: Counting objects: 8% (20/240) remote: Counting objects: 9% (22/240) remote: Counting objects: 10% (24/240) remote: Counting objects: 11% (27/240) remote: Counting objects: 12% (29/240) remote: Counting objects: 13% (32/240) remote: Counting objects: 14% (34/240) remote: Counting objects: 15% (36/240) remote: Counting objects: 16% (39/240) remote: Counting objects: 17% (41/240) remote: Counting objects: 18% (44/240) remote: Counting objects: 19% (46/240) remote: Counting objects: 20% (48/240) remote: Counting objects: 21% (51/240) remote: Counting objects: 22% (53/240) remote: Counting objects: 23% (56/240) remote: Counting objects: 24% (58/240) remote: Counting objects: 25% (60/240) remote: Counting objects: 26% (63/240) remote: Counting objects: 27% (65/240) remote: Counting objects: 28% (68/240) remote: Counting objects: 29% (70/240) remote: Counting objects: 30% (72/240) remote: Counting objects: 31% (75/240) remote: Counting objects: 32% (77/240) remote: Counting objects: 33% (80/240) remote: Counting objects: 34% (82/240) remote: Counting objects: 35% (84/240) remote: Counting objects: 36% (87/240) remote: Counting objects: 37% (89/240) remote: Counting objects: 38% (92/240) remote: Counting objects: 39% (94/240) remote: Counting objects: 40% (96/240) remote: Counting objects: 41% (99/240) remote: Counting objects: 42% (101/240) remote: Counting objects: 43% (104/240) remote: Counting objects: 44% (106/240) remote: Counting objects: 45% (108/240) remote: Counting objects: 46% (111/240) remote: Counting objects: 47% (113/240) remote: Counting objects: 48% (116/240) remote: Counting objects: 49% (118/240) remote: Counting objects: 50% (120/240) remote: Counting objects: 51% (123/240) remote: Counting objects: 52% (125/240) remote: Counting objects: 53% (128/240) remote: Counting objects: 54% (130/240) remote: Counting objects: 55% (132/240) remote: Counting objects: 56% (135/240) remote: Counting objects: 57% (137/240) remote: Counting objects: 58% (140/240) remote: Counting objects: 59% (142/240) remote: Counting objects: 60% (144/240) remote: Counting objects: 61% (147/240) remote: Counting objects: 62% (149/240) remote: Counting objects: 63% (152/240) remote: Counting objects: 64% (154/240) remote: Counting objects: 65% (156/240) remote: Counting objects: 66% (159/240) remote: Counting objects: 67% (161/240) remote: Counting objects: 68% (164/240) remote: Counting objects: 69% (166/240) remote: Counting objects: 70% (168/240) remote: Counting objects: 71% (171/240) remote: Counting objects: [command output truncated] /c/enc/encoder_dict.c.o [ 67%] Building C object CMakeFiles/brotlienc.dir/c/enc/entropy_encode.c.o [ 70%] Building C object CMakeFiles/brotlienc.dir/c/enc/fast_log.c.o [ 72%] Building C object CMakeFiles/brotlienc.dir/c/enc/histogram.c.o [ 75%] Building C object CMakeFiles/brotlienc.dir/c/enc/literal_cost.c.o [ 77%] Building C object CMakeFiles/brotlienc.dir/c/enc/memory.c.o [ 80%] Building C object CMakeFiles/brotlienc.dir/c/enc/metablock.c.o [ 82%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_dict.c.o [ 85%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_dict_lut.c.o [ 87%] Building C object CMakeFiles/brotlienc.dir/c/enc/static_init.c.o [ 90%] Building C object CMakeFiles/brotlienc.dir/c/enc/utf8_util.c.o [ 92%] Linking C static library libbrotlidec.a [ 92%] Built target brotlidec [ 95%] Linking C static library libbrotlienc.a [ 95%] Built target brotlienc [ 97%] Building C object CMakeFiles/brotli.dir/c/tools/brotli.c.o [100%] Linking C executable brotli [100%] Built target brotli Consolidate compiler generated dependencies of target brotlicommon [ 17%] Built target brotlicommon Consolidate compiler generated dependencies of target brotlidec [ 35%] Built target brotlidec Consolidate compiler generated dependencies of target brotlienc [ 95%] Built target brotlienc Consolidate compiler generated dependencies of target brotli [100%] Built target brotli Install the project... -- Install configuration: "Release" -- Installing: /home/peter/result/home/peter/brotli-static/bin/brotli -- Installing: /home/peter/result/home/peter/brotli-static/lib/libbrotlienc.a -- Installing: /home/peter/result/home/peter/brotli-static/lib/libbrotlidec.a -- Installing: /home/peter/result/home/peter/brotli-static/lib/libbrotlicommon.a -- Installing: /home/peter/result/home/peter/brotli-static/include/brotli -- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/shared_dictionary.h -- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/port.h -- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/encode.h -- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/types.h -- Installing: /home/peter/result/home/peter/brotli-static/include/brotli/decode.h -- Installing: /home/peter/result/home/peter/brotli-static/lib/pkgconfig/libbrotlicommon.pc -- Installing: /home/peter/result/home/peter/brotli-static/lib/pkgconfig/libbrotlidec.pc -- Installing: /home/peter/result/home/peter/brotli-static/lib/pkgconfig/libbrotlienc.pc -- Installing: /home/peter/result/home/peter/brotli-static/share/man/man1/brotli.1 -- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/constants.h.3 -- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/decode.h.3 -- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/encode.h.3 -- Installing: /home/peter/result/home/peter/brotli-static/share/man/man3/types.h.3
Now let me download and build zstd:
[empty output]
bash: cd: zstd-1.5.6: No such file or directory
Let me check the exact directory name:
compile-bench> tar -tzf zstd-1.5.6.tar.gz | head -5 tar (child): zstd-1.5.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
↓ 5 lines
tar (child): zstd-1.5.6.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now
Let me try a different zstd version:
compile-bench> wget -O zstd.tar.gz https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz --2025-09-23 20:27:13-- https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://release-assets.githubusercontent.com/github-production-release-asset/29759715/5a6a726c-abce-4c08-8237-428805ddec52?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A25%3A07Z&rscd=attachment%3B+filename%3Dzstd-1.5.6.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A24%3A34Z&ske=2025-09-23T21%3A25%3A07Z&sks=b&skv=2018-11-09&sig=atoM30SZqNo66Jn9gG0f5ZYpoIzAAIkdPEJ0YXL6QHM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTUzMywibmJmIjoxNzU4NjU5MjMzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.ZYvs722Bzi-PHC22DMqFrKFoWzb1Y3NSa3MYE3F8ujs&response-content-disposition=attachment%3B%20filename%3Dzstd-1.5.6.tar.gz&response-content-type=application%2Foctet-stream [following]
--2025-09-23 20:27:13-- https://release-assets.githubusercontent.com/github-production-release-asset/29759715/5a6a726c-abce-4c08-8237-428805ddec52?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A25%3A07Z&rscd=attachment%3B+filename%3Dzstd-1.5.6.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A24%3A34Z&ske=2025-09-23T21%3A25%3A07Z&sks=b&skv=2018-11-09&sig=atoM30SZqNo66Jn9gG0f5ZYpoIzAAIkdPEJ0YXL6QHM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTUzMywibmJmIjoxNzU4NjU5MjMzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.ZYvs722Bzi-PHC22DMqFrKFoWzb1Y3NSa3MYE3F8ujs&response-content-disposition=attachment%3B%20filename%3Dzstd-1.5.6.tar.gz&response-content-type=application%2Foctet-stream
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2406875 (2.3M) [application/octet-stream]
Saving to: 'zstd.tar.gz'
zstd.tar.gz 0%[ ] 0 --.-KB/s
zstd.tar.gz 100%[===================>] 2.29M --.-KB/s in 0.01s
2025-09-23 20:27:13 (227 MB/s) - 'zstd.tar.gz' saved [2406875/2406875]
↓ 16 lines
--2025-09-23 20:27:13-- https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz Resolving github.com (github.com)... 140.82.114.3 Connecting to github.com (github.com)|140.82.114.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://release-assets.githubusercontent.com/github-production-release-asset/29759715/5a6a726c-abce-4c08-8237-428805ddec52?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A25%3A07Z&rscd=attachment%3B+filename%3Dzstd-1.5.6.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A24%3A34Z&ske=2025-09-23T21%3A25%3A07Z&sks=b&skv=2018-11-09&sig=atoM30SZqNo66Jn9gG0f5ZYpoIzAAIkdPEJ0YXL6QHM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTUzMywibmJmIjoxNzU4NjU5MjMzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.ZYvs722Bzi-PHC22DMqFrKFoWzb1Y3NSa3MYE3F8ujs&response-content-disposition=attachment%3B%20filename%3Dzstd-1.5.6.tar.gz&response-content-type=application%2Foctet-stream [following] --2025-09-23 20:27:13-- https://release-assets.githubusercontent.com/github-production-release-asset/29759715/5a6a726c-abce-4c08-8237-428805ddec52?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-09-23T21%3A25%3A07Z&rscd=attachment%3B+filename%3Dzstd-1.5.6.tar.gz&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-09-23T20%3A24%3A34Z&ske=2025-09-23T21%3A25%3A07Z&sks=b&skv=2018-11-09&sig=atoM30SZqNo66Jn9gG0f5ZYpoIzAAIkdPEJ0YXL6QHM%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc1ODY1OTUzMywibmJmIjoxNzU4NjU5MjMzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.ZYvs722Bzi-PHC22DMqFrKFoWzb1Y3NSa3MYE3F8ujs&response-content-disposition=attachment%3B%20filename%3Dzstd-1.5.6.tar.gz&response-content-type=application%2Foctet-stream Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ... Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.111.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2406875 (2.3M) [application/octet-stream] Saving to: 'zstd.tar.gz' zstd.tar.gz 0%[ ] 0 --.-KB/s zstd.tar.gz 100%[===================>] 2.29M --.-KB/s in 0.01s 2025-09-23 20:27:13 (227 MB/s) - 'zstd.tar.gz' saved [2406875/2406875]
1.5.6.tar.gz')
task failed: curl binary does not exist