-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
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.ltracetest fails (expected 1, got 0)- Build fails with "2 unexpected failures" in test suite
Upstream References
- GCC 15 fix PR: ltrace: fix compilation with GCC15 NixOS/nixpkgs#475934
- Original fix PR (superseded): ltrace: fix test failure with PIE NixOS/nixpkgs#449551
- Related issue: gcc: build with --enable-default-pie configure option NixOS/nixpkgs#439314
- GCC 14/15 porting guide: https://gcc.gnu.org/gcc-14/porting_to.html
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog