NixOS / NixOS/nixpkgs

perl540Packages.SDL: Fails to install: builder failed with exit code 255

Open
#477,802 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: bug 2.status: stale
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
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.