Skip to content

fix(ltrace): re-enable ltrace when PIE test fix lands in nixpkgs-unstable #42

@Bad3r

Description

@Bad3r

Summary

ltrace has been temporarily disabled due to a test failure in the ltrace-0.7.91 package when building in nixpkgs-unstable.

Root Cause

The ltrace test suite fails due to GCC 15's stricter function pointer type checking:

passing argument 1 of 'clone' from incompatible pointer type [-Wincompatible-pointer-types]
expected 'int (*)(void *)' but argument is of type 'int (*)(void)'

This causes:

  • trace-clone.ltrace test fails (expected 1, got 0)
  • Build fails with "2 unexpected failures" in test suite

Upstream References

Affected Code

modules/system76/apps-enable.nix#L139-L141

      # TODO(#42): Re-enable when ltrace PIE test fix lands in nixpkgs-unstable
      # See: https://github.com/NixOS/nixpkgs/pull/449551
      ltrace.extended.enable = lib.mkOverride 1100 false;

Related Issues - GCC 15 Compatibility

This issue is part of a pattern of GCC 15 compatibility problems affecting multiple packages:

Issue Package Error Type
#41 VMware/readline70 K&R style C declarations
#42 ltrace -Wincompatible-pointer-types (clone function)
#43 john -Wincompatible-pointer-types (gpg2john function pointers)

Resolution

Re-enable when NixOS/nixpkgs#475934 lands in nixpkgs-unstable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingUpstreamOut of scope

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions