Skip to content

linux-pam: pam_lastlog.so is not produced on musl hostPlatform #404169

@MatthewCroughan

Description

@MatthewCroughan

Nixpkgs version

  • Unstable (25.05)

Describe the bug

This seems to match this gentoo bug which reports the same issue https://bugs.gentoo.org/925222

Steps to reproduce

[matthewcroughan@build05:~]$ nix build nixpkgs#pam

[matthewcroughan@build05:~]$ ls result/lib/security/pam_lastlog.so
result/lib/security/pam_lastlog.so

[matthewcroughan@build05:~]$ nix build nixpkgs#pkgsMusl.pam

[matthewcroughan@build05:~]$ ls result/lib/security/pam_lastlog.so
ls: cannot access 'result/lib/security/pam_lastlog.so': No such file or directory

Expected behaviour

pam_lastlog.so to be produced as an output of the build closure

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "aarch64-linux"
  • host os: Linux 6.12.26, NixOS, 25.05 (Warbler), 25.05.20250502.b539370
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • nixpkgs: /nix/store/y24zhrdfi01bqqsjq7n3jl92r14n6zdg-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions