Skip to content

[26.05] Build failure: perl5Packages.ModuleCPANTSAnalyse #534519

Closed

Description

@ryand56

Nixpkgs version

  • Stable (26.05)

Steps to reproduce

Build a package that depends on ModuleCPANTSAnalyse on latest nixos-26.05 (3426825)

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/332150307

Relevant log output

error: Cannot build '/nix/store/f475j9wilansbkawm253y6wdcryv6md1-perl5.42.0-Module-CPANTS-Analyse-1.02.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/6x9nsc6p9xfnr4maqxj0ly9gkca75sl2-perl5.42.0-Module-CPANTS-Analyse-1.02-devdoc
         /nix/store/psllf1xfzsj36cwppbb4aj4pwba5ypfv-perl5.42.0-Module-CPANTS-Analyse-1.02
       Last 25 log lines:
       > PERL_DL_NONLAZY=1 "/nix/store/k7kxg101ikkm0cyf8jcqhg948vy542af-perl-5.42.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t
       > t/00_load.t .............. ok
       > t/05_testdir.t ........... ok
       > t/05_testfile.t .......... ok
       > t/analyse/manifest.t ..... 1/? Symlink 'Module-CPANTS-Analyse-Test-0.01/MANIFEST.lnk' has absolute target. Not extracting under SECURE EXTRACT MODE at /nix/store/95imz45jn64sg5b1dscz679iwinc10aa-perl5.42.0-Archive-Any-Lite-0.11/lib/perl5/site_perl/5.42.0/Archive/Any/Lite.pm line 130.
       >
       > #   Failed test 'symlinks not listed in MANIFEST is not ignored for a non-local distribution'
       > #   at t/analyse/manifest.t line 84.
       > # Looks like you failed 1 test of 14.
       > t/analyse/manifest.t ..... Dubious, test returned 1 (wstat 256, 0x100)
       > Failed 1/14 subtests
       > t/analyse/pod.t .......... ok
       > t/analyse/uses.t ......... ok
       > t/older_test_kwalitee.t .. ok
       > t/x_cpants.t ............. ok
       >
       > Test Summary Report
       > -------------------
       > t/analyse/manifest.t   (Wstat: 256 (exited 1) Tests: 14 Failed: 1)
       >   Failed test:  13
       >   Non-zero exit status: 1
       > Files=8, Tests=54,  1 wallclock secs ( 0.04 usr  0.01 sys +  1.18 cusr  0.41 csys =  1.64 CPU)
       > Result: FAIL
       > Failed 1/8 test programs. 1/54 subtests failed.
       > make: *** [Makefile:995: test_dynamic] Error 255
       For full logs, run:
         nix log /nix/store/f475j9wilansbkawm253y6wdcryv6md1-perl5.42.0-Module-CPANTS-Analyse-1.02.drv

Additional context

Found while building gnucash.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.1.0, NixOS, 26.05 (Yarara), 26.05.20260618.e8210c6
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.7
  • nixpkgs: /nix/store/s10d170b5syra7whp5plpm5sqh1n4qiy-source

Notify maintainers

@stigtsp @marcusramberg


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.

Activity

  1. added
    0.kind: build failure
    on Jun 23, 2026
  2. assigned and unassigned on Jun 23, 2026
  3. changed the title [-]Build failure: perl5Packages.ModuleCPANTSAnalyse[/-] [+][26.05] Build failure: perl5Packages.ModuleCPANTSAnalyse[/+] on Jun 23, 2026
  4. ryand56 commented on Jun 24, 2026

    @ryand56
    MemberAuthor

    Bisected to 2c3e109

  5. ryand56 commented on Jun 25, 2026

    @ryand56
    MemberAuthor
  6. vcunat commented on Jun 25, 2026

    @vcunat
    Member

    stigo> This is a security fix in Archive-Tar which revealed a bug in two tests for that package... The best approach is probably removing the failing .t file or disable tests for ModuleCPANTSAnalyse: Perl/perl5#24452

  7. vcunat commented on Jun 25, 2026

    @vcunat
    Member

    Merged, it may take about two days to reach the nixos-26.05 channel.

  8. ryand56 commented on Jun 25, 2026

    @ryand56
    MemberAuthor

    I just noticed 1.03 was released which also fixes this issue so I'll open a PR soon for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions