Skip to content

linux-aarch64: openssl (and so libcurl) cannot build from source: Perl Configure is not supported (CMake packages work) #1166

Closed

Description

@ehartford

Restated 2026-10-25. Source fallback on linux-aarch64 now works for CMake packages: zlib, bzip2 and sqlite3 build from source with floating versions. What is left: openssl builds with its Perl Configure script, which with get does not run, so openssl and libcurl (which requires it) cannot be installed. uat/libcurl.uat has no platform restriction, so it fails on this gating platform.


Original report

The five-platform floating-package release requirement exposes an additional Linux arm64 blocker: Conan Center currently provides no Linux arm64 binary for any of the six UAT packages, and With's source fallback rejects their recipes.

Confirmed with a fresh native stage2 built from 196f0a00e4b0deb2001de192d2031f7cd0f59b8a: independent with init / floating with get projects all fail at source fallback:

Package Current version Recipe revision
zlib 1.3.2 1cb806da49011867778ffb6ac7190fcb
bzip2 1.0.8 c470882369c2d95c5c77e970c0c7e321
sqlite3 3.53.4 89fcf5cda598966acb7f3e185b19c58d
openssl 4.0.2 b700c658ab174d6ef1bbd719ca441236
libcurl 8.21.0 dd94e078c967e162aae33d353142fa31
raylib 6.0 4e39a8be96a10eb27035f97e83620a2d

The corresponding Conan search responses contain no Linux/armv8 settings pair. The Linux x86_64 entries number 2, 4, 2, 4, 2, and 2 respectively. Native command logs are linux-arm-current-get-<package>.log; raw package responses are linux-<package>-packages.json in the investigation output. Source support must cover the build-system/recipe class across this matrix, including OpenSSL's configuration path, not only raylib's CMake build.

Repro on Linux arm64:

with init .
with get c.raylib

Actual: resolving raylib/6.0..., then error: no prebuilt binary for your platform, source build not supported for raylib/6.0.

Conan recipe revision 4e39a8be96a10eb27035f97e83620a2d lists Windows x86_64/armv8, Macos x86_64/armv8 and Linux x86_64 packages, with no Linux armv8 entry:
https://center2.conan.io/v2/conans/raylib/6.0/_/_/revisions/4e39a8be96a10eb27035f97e83620a2d/search?list_only=False

Native GDB on compiler 0a0ff13: conan_source_unsupported_recipe returns w0=1 to conan_install_source_fallback+512 (0x20af284), whose tbz w0,#0 falls through to the unsupported-source diagnostic. Current source has the same rejection predicate: any self.requires(, apply_conandata_patches, or configure( text. Evidence: local linux-raylib-source-rejection-gdb.log and linux-raylib-packages.json.

The recipe requires glfw and opengl/system and uses CMake configuration, dependency generation and installation. Raylib 6.0 has no conandata patches, but the generic recipe still calls apply_conandata_patches. Simply deleting the rejection guard would be incorrect: the existing fallback compiles every discovered .c file and does not implement the required build plan.

Recipe: https://github.com/conan-io/conan-center-index/blob/master/recipes/raylib/all/conanfile.py

Expected under the release's floating-package acceptance requirement: source-build this supported package when no matching binary is available, preserving the recipe's dependency and configuration semantics. This needs source-build support for the recipe class, not a raylib version pin, an architecture skip, or a fabricated binary match. No workaround applied. Release remains blocked.

Activity

  1. changed the title [-]Linux arm64 raylib needs source-build support for dependency-bearing CMake recipes[/-] [+]Linux arm64 floating C packages need complete source-build fallback support[/+] on Sep 17, 2026
  2. changed the title [-]Linux arm64 floating C packages need complete source-build fallback support[/-] [+]linux-aarch64: openssl (and so libcurl) cannot build from source: Perl Configure is not supported (CMake packages work)[/+] on Oct 25, 2026
  3. ehartford commented on Oct 25, 2026

    @ehartford
    ContributorAuthor

    Triage 2026-10-25, with v0.15.3.0 (main a261b65): reproduced for openssl/libcurl, in the with-aarch64-host container (with nightly-20261025-local-1-c88f3eeff0bc):

    $ with init . && with get c.zlib
    added [email protected]
    $ with get c.bzip2
    added [email protected]
    $ with get c.sqlite3
    added [email protected]
    $ with get c.libcurl
    error: openssl/3.6.5 builds with its own Configure script, which needs Perl; `with get` builds CMake projects from source, so this package needs a platform Conan Center has a binary for
    error: libcurl/8.23.0 requires openssl/[>=3 <4], which could not be installed (above)
    rc=1
    

    raylib was not tried (it needs GL/X11 system packages, #1165).

    pre-release: the release UAT libcurl.uat fails on a gating platform. The fix is either a Configure-script fallback or a platform restriction ruled into the UAT.

  4. ehartford commented on Oct 25, 2026

    @ehartford
    ContributorAuthor

    Fix campaign 2026-10-25: flagged human attn needed. The fix is an edit to a release UAT, which is yours to make.

    What is proved (triage above, with-aarch64-host): on linux-aarch64, zlib, bzip2 and sqlite3 build from source. with get c.libcurl stops at its openssl requirement: openssl/3.6.5 builds with its own Configure script, which needs Perl. That is D46 working as ruled. A prerequisite is named and the build stops, and D46 says: "A release UAT may not require one, so OpenSSL is not a UAT."

    The contradiction. uat/libcurl.uat has no platforms: line. On linux-aarch64, Conan Center has no binary, so libcurl needs openssl built from source, which needs Perl. The UAT therefore requires a prerequisite there, which D46 forbids.

    Narrowest question. Do I restrict uat/libcurl.uat to the platforms where Conan Center publishes openssl binaries? That would be platforms: darwin, linux-x86_64, windows, if the UAT runner can name an architecture; raylib_spiral.uat uses platforms: darwin, linux. Or is the intended fix a Configure path that runs a user-installed Perl? D46 rejected running foreign build tools and names Perl only as a reported prerequisite.

    Prediction (85%): restrict the UAT, as D46 already rules. I have not edited the UAT; UAT fixtures are yours. Left on do-before-release, because the release UAT is red on a gating platform until one of the two happens.

  5. ehartford commented on Oct 27, 2026

    @ehartford
    ContributorAuthor

    Phase-3 fix campaign, 2026-10-26: unchanged on current main (dee141b79) — uat/libcurl.uat still has no platforms: line, and D46 still rules that a release UAT may not require a prerequisite ("OpenSSL is not a UAT"), so the UAT still requires Perl-driven OpenSSL on linux-aarch64. The triage evidence (zlib/bzip2/sqlite3 build from source in the aarch64 container; libcurl stops at openssl's Configure) stands.

    Editing a release UAT is yours, so this stays human attn needed on do-before-release. The narrow question is unchanged: restrict uat/libcurl.uat to the platforms where Conan Center publishes openssl binaries (prediction 85%, as D46 already rules), or is a Configure path over a user-installed Perl intended?

  6. added a commit that references this issue on Oct 28, 2026
  7. ehartford commented on Oct 28, 2026

    @ehartford
    ContributorAuthor

    Fixed by #2766 (bc36cd4), battery-green on 4062c27 and merged.

    The UAT runner's platforms: now takes an OS, an architecture, or an os-arch pair (mirroring the test gates; an unknown value skips with that reason named). uat/libcurl.uat is restricted to darwin, windows, linux-x86_64, per D46: a release UAT may not require a prerequisite, and openssl's Configure needs Perl on linux-aarch64.

    Regression: test/internals/uat_platform_gate_test.w; with-stage1 uat --list on darwin-aarch64 shows libcurl applying. A linux-host run was not done (no checkout on eric-5090; linux-x86_64 is the included arch — the excluded one has no host). The real user gap (with get c.libcurl on linux-aarch64) is filed as #2757.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions