perl540Packages.SDL: Fails to install: builder failed with exit code 255
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- PR merge metrics
- PR metrics pending
Description
Nixpkgs version
- Stable (25.11)
Describe the bug
The package is failing to build:
error: Cannot build '/nix/store/kc3ssc6lbg2zpg8x8h60xik1falg1mc9-perl5.40.0-SDL-2.548.drv'.
Reason: builder failed with exit code 255.
Output paths:
/nix/store/7hizs7qr1iafkbiclfymaiynl7rj0drh-perl5.40.0-SDL-2.548
/nix/store/qxgd2p69wjlbckri5zqm4birfva5azf5-perl5.40.0-SDL-2.548-devdoc
Last 25 log lines:
> t/sdlx_sound.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 7 Failed: 0)
> Non-zero wait status: 139
> t/sdlx_sprite.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 13 Failed: 0)
> Non-zero wait status: 139
> Parse errors: No plan found in TAP output
> t/sdlx_sprite_animated.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 20 Failed: 0)
> Non-zero wait status: 139
> Parse errors: No plan found in TAP output
> t/sdlx_surface.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 0 Failed: 0)
> Non-zero wait status: 139
> Parse errors: No plan found in TAP output
> t/sdlx_text.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 13 Failed: 0)
> Non-zero wait status: 139
> t/sdlx_validate.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 9 Failed: 0)
> Non-zero wait status: 139
> Parse errors: No plan found in TAP output
> t/smpeg.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 0 Failed: 0)
> Non-zero wait status: 139
> t/ttf.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 65 Failed: 0)
> Non-zero wait status: 139
> t/ttf_font.t (Wstat: 139 (Signal: SEGV, dumped core) Tests: 6 Failed: 0)
> Non-zero wait status: 139
> Files=58, Tests=3146, 146 wallclock secs ( 0.42 usr 0.18 sys + 78.42 cusr 6.72 csys = 85.74 CPU)
> Result: FAIL
> Failed 54/58 test programs. 1/3146 subtests failed.
For full logs, run:
nix log /nix/store/kc3ssc6lbg2zpg8x8h60xik1falg1mc9-perl5.40.0-SDL-2.548.drv
Steps to reproduce
Install the perl540Packages.SDL in any way - for example: nix shell nixpkgs/nixos-25.11#perl540Packages.SDL
Expected behaviour
Package installs successfully.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.63, NixOS, 25.11 (Xantusia), 25.11.20260105.3c9db02 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.31.2 - nixpkgs:
/nix/store/05zq22ry219543phf7q87d883kxl6ry7-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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with nix shell nixpkgs/nixos-25.11#perl540Packages.SDL and inspect the full derivation log. Focus on the failing t/sdlx_*.t, t/smpeg.t, and t/ttf*.t test programs, which terminate with signal 139. Done means perl540Packages.SDL installs successfully and its test suite passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100