Skip Menu |

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 131402
Status: resolved
Priority: 0/
Queue: autodie

People
Owner: Nobody in particular
Requestors: PMPERRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.31
Fixed in: (no value)



Subject: test (?) wants BSD::Resource in Windows
Windows 10, Strawberry Perl 5.26.1 cpan upgrade of autodie 2.3.1 seems to go OK, but then "cpan" tries to install BSD::Resource (for testing?)... Running install for module 'BSD::Resource' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/J/JH/JHI/BSD-Resource-1.2911.tar.gz Checksum for C:\STRAWB~1\cpan\sources\authors\id\J\JH\JHI\BSD-Resource-1.2911.tar.gz ok Configuring J/JH/JHI/BSD-Resource-1.2911.tar.gz with Makefile.PL Configuring BSD::Resource... Checking whether you have certain header files... The system cannot find the path specified. The system cannot find the path specified. Your operating system does not seem to have <sys/resource.h> or <sys/rusage.h>. (Run "perl Makefile.PL" with the environment variable VERBOSE set to 1 (one) too see in more detail what went wrong.) There is no way BSD::Resource is going to work. I am awfully sorry but I cannot go further. Aborting configuration of BSD::Resource. Warning: No success on command[C:\Strawberry\perl\bin\perl.exe Makefile.PL] JHI/BSD-Resource-1.2911.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK Running install for module 'BSD::Resource' JHI/BSD-Resource-1.2911.tar.gz Has already been unwrapped into directory C:\STRAWB~1\cpan\build\BSD-Resource-1.2911-0 JHI/BSD-Resource-1.2911.tar.gz 'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 512, not re-running Failed during this command: (optional) JHI/BSD-Resource-1.2911.tar.gz : writemakefile NO 'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 512 Show quoted text
cpan> i autodie
Module id = autodie CPAN_USERID TODDR (Todd Rinaldo <toddr@cpan.org>) CPAN_VERSION 2.31 CPAN_FILE T/TO/TODDR/autodie-2.31.tar.gz UPLOAD_DATE 2020-01-08 MANPAGE autodie - Replace functions with ones that succeed or die with lexical scope INST_FILE C:\Strawberry\perl\site\lib\autodie.pm INST_VERSION 2.31 Show quoted text
cpan> i BSD::Resource
Fetching with LWP: http://cpan.strawberryperl.com/authors/id/J/JH/JHI/CHECKSUMS Module id = BSD::Resource CPAN_USERID JHI (Jarkko Hietaniemi <jhi@iki.fi>) CPAN_VERSION 1.2911 CPAN_FILE J/JH/JHI/BSD-Resource-1.2911.tar.gz UPLOAD_DATE 2017-04-09 MANPAGE BSD::Resource - BSD process resource limit and priority functions INST_FILE (not installed) It looks like autodie itself is trying to install BSD::Resource, and it appears to be uninstallable on Windows. You might want to consider bypassing this if you're not on a supported system. Running make for T/TO/TODDR/autodie-2.31.tar.gz Show quoted text
---- Unsatisfied dependencies detected during ---- ---- TODDR/autodie-2.31.tar.gz ---- BSD::Resource [build_requires,optional] Import::Into [build_requires,optional] autodie seems to claim to be up to date, but I'm not sure if it completed its testing. If BSD::Resource is truly optional, I think it should be skipped on non-BSD systems so such alarming messages aren't given.
Ticket migrated to github as https://github.com/pjf/autodie/issues/95