Can't locate Proc/Daemon.pm in @INC
On some of my smoker systems the test suite of SlapbirdAPM-Agent-CGI-0.02 fails like this:
```
# Failed test 'use SlapbirdAPM::Agent::CGI;'
# at t/basic.t line 7.
# Tried to use 'SlapbirdAPM::Agent::CGI'.
# Error: Can't locate Proc/Daemon.pm in @INC (you may need to install the Proc::Daemon module) (@INC entries checked: /home/cpansand/.cpan/build/2025042500/SlapbirdAPM-Agent-CGI-0.02-1/blib/lib /home/cpansand/.cpan/build/2025042500/SlapbirdAPM-Agent-CGI-0.02-1/blib/arch /usr/perl5.41.12/lib/site_perl/5.41.12/aarch64-freebsd /usr/perl5.41.12/lib/site_perl/5.41.12 /usr/perl5.41.12/lib/5.41.12/aarch64-freebsd /usr/perl5.41.12/lib/5.41.12 .) at /home/cpansand/.cpan/build/2025042500/SlapbirdAPM-Agent-CGI-0.02-1/blib/lib/SlapbirdAPM/Agent/CGI.pm line 19.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2025042500/SlapbirdAPM-Agent-CGI-0.02-1/blib/lib/SlapbirdAPM/Agent/CGI.pm line 19.
# Compilation failed in require at t/basic.t line 7.
# BEGIN failed--compilation aborted at t/basic.t line 7.
# Looks like you failed 1 test of 1.
t/basic.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
```
This looks like a forgotten prereq specification.
关闭于 2025-04-26 1 条评论