Skip to content

age: aarch64-musl package contains glibc-linked binaries #58782

@vs-123

Description

@vs-123

Is this a new report?

Yes

System Info

Void 6.12.67_1 aarch64-musl Unknown uptodate r

Package(s) Affected

age-1.3.1_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Most binaries in age package (version 1.3.1_1) in the aarch64-musl repository seem to be linked against glibc instead of musl.

Actual behaviour

Attempting to run age-keygen, age-inspect or age-plugin-batchpass, gives no such file or directory in shell because they are dynamically linked against /lib/ld-linux-aarch64.so.1 (glibc) instead of /lib/ld-musl-aarch64.so.1.

% file $(which age-inspect)
/usr/bin/age-inspect: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=cc4caed281633f51cf8e2f7dd1878717d383ca41, stripped

% file $(which age-plugin-batchpass)
/usr/bin/age-plugin-batchpass: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=2a32da9daf1b0f18ba93aebf44dceddfbf82303f, stripped

% file $(which age-keygen)
/usr/bin/age-keygen: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=f8a7ffab717b032227ec84c90e687022040faf8d, stripped

Steps to reproduce

  1. Install age package on an AArch64 Void Linux musl system --> xbps-install -S age
  2. Try to run any of --> age-keygen, age-inspect, age-plugin-batchpass
  3. You get zsh: command not found or no such file or directory or the equivalent in your shell.
  4. Try checking what they're linked against using ldd, you'd get something like:
% ldd /usr/bin/age-keygen
	/lib/ld-linux-aarch64.so.1 (0xffffba3d0000)

% ldd /usr/bin/age-inspect
	/lib/ld-linux-aarch64.so.1 (0xffff8a520000)

% ldd /usr/bin/age-plugin-batchpass 
	/lib/ld-linux-aarch64.so.1 (0xffffa4c40000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions