Skip to content

x/build: git commands broken on android-.*-corellium builders due to missing libssl.so.1.1 #59940

@bcmills

Description

@bcmills

https://storage.googleapis.com/go-build-log/d11befbe/android-arm64-corellium_c80dd207.log:

--- FAIL: TestLatest (0.01s)
    git_test.go:69: git clone --mirror http://127.0.0.1:40864/git/gitrepo1 /data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/tmp/gitrepo-test-4244768098/gitrepo2 in : exit status 128:
        	Cloning into bare repository '/data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/tmp/gitrepo-test-4244768098/gitrepo2'...
        	CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/libexec/git-core/git-remote-http": library "libssl.so.1.1" not found
    --- FAIL: TestLatest/gitrepo1 (0.00s)
        git_test.go:226: git ls-remote -q origin in /data/data/com.termux/files/home/tmpdir/workdir-host-android-arm64-corellium-android/tmp/gitrepo-test-4244768098/modcache/cache/vcs/8c0735055ea1b81d6712e25976d1c2026f3fc83f00c38628a1134f3cd92a54d2: exit status 128:
            	CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/libexec/git-core/git-remote-http": library "libssl.so.1.1" not found
FAIL
FAIL	cmd/go/internal/modfetch/codehost	1.659s

(and many more like it!)

@changkun, I think this is a configuration problem in the builder. The fix is probably one of:

  • install libssl in the termux environment, or
  • set LD_LIBRARY_PATH so that the dynamic linker can find libssl.so.1.1, or
  • remove git from the termux environment or $PATH (so that we skip tests that would need it).bui

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Android

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions