Building R/RE/REF/Unix-Pledge-0.004.tar.gz Loading internal logger. Log::Log4perl recommended for better logging Reading '/root/.cpan/Metadata' Database was generated on Thu, 23 Jul 2026 22:17:02 GMT CPAN: HTTP::Tiny loaded ok (v0.096) CPAN: Net::SSLeay loaded ok (v1.96) CPAN: IO::Socket::SSL loaded ok (v2.099) Fetching with HTTP::Tiny: https://cpan.org/authors/id/R/RE/REF/Unix-Pledge-0.004.tar.gz CPAN: Digest::SHA loaded ok (v6.04) Fetching with HTTP::Tiny: https://cpan.org/authors/id/R/RE/REF/CHECKSUMS CPAN: Compress::Zlib loaded ok (v2.223) Checksum for /root/.cpan/sources/authors/id/R/RE/REF/Unix-Pledge-0.004.tar.gz ok 'YAML' not installed, will not store persistent state CPAN: CPAN::Meta::Requirements loaded ok (v2.145) CPAN: Parse::CPAN::Meta loaded ok (v2.150013) CPAN: CPAN::Meta loaded ok (v2.150013) CPAN: Module::CoreList loaded ok (v5.20260708) Configuring R/RE/REF/Unix-Pledge-0.004.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Unix::Pledge Writing MYMETA.yml and MYMETA.json REF/Unix-Pledge-0.004.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for R/RE/REF/Unix-Pledge-0.004.tar.gz cp lib/Unix/Pledge.pm blib/lib/Unix/Pledge.pm Running Mkbootstrap for Pledge () chmod 644 "Pledge.bs" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pledge.bs blib/arch/auto/Unix/Pledge/Pledge.bs 644 "/usr/local/bin/perl" "/usr/local/lib/perl5/5.44.0/ExtUtils/xsubpp" -noprototypes -typemap '/usr/local/lib/perl5/5.44.0/ExtUtils/typemap' Pledge.xs > Pledge.xsc mv Pledge.xsc Pledge.c cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.004\" -DXS_VERSION=\"0.004\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" Pledge.c Pledge.xs: In function 'XS_Unix__Pledge_pledge': Pledge.xs:37:13: warning: implicit declaration of function 'pledge' [-Wimplicit-function-declaration] 37 | if (pledge(promises, wpaths) == -1) { | ^~~~~~ rm -f blib/arch/auto/Unix/Pledge/Pledge.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong Pledge.o -o blib/arch/auto/Unix/Pledge/Pledge.so \ \ chmod 755 blib/arch/auto/Unix/Pledge/Pledge.so REF/Unix-Pledge-0.004.tar.gz /usr/bin/make -- OK REF/Unix-Pledge-0.004.tar.gz Skipping test because of notest pragma Running make install for REF/Unix-Pledge-0.004.tar.gz "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pledge.bs blib/arch/auto/Unix/Pledge/Pledge.bs 644 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/auto/Unix/Pledge/Pledge.so Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/Unix/Pledge.pm Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod REF/Unix-Pledge-0.004.tar.gz /usr/bin/make install -- OK Checking coverage of Unix-Pledge-0.004 Error running /usr/local/bin/perl /usr/local/bin/cover --test --report html --outputfile index.html --select_dir blib (exit 2) cover: Deleting database /root/.cpan/build/Unix-Pledge-0.004-0/cover_db cover: running make test "OPTIMIZE=-O0 -fprofile-arcs -ftest-coverage" "OTHERLDFLAGS=-fprofile-arcs -ftest-coverage" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pledge.bs blib/arch/auto/Unix/Pledge/Pledge.bs 644 cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"0.004\" -DXS_VERSION=\"0.004\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" Pledge.c Pledge.xs: In function 'XS_Unix__Pledge_pledge': Pledge.xs:37:13: warning: implicit declaration of function 'pledge' [-Wimplicit-function-declaration] 37 | if (pledge(promises, wpaths) == -1) { | ^~~~~~ rm -f blib/arch/auto/Unix/Pledge/Pledge.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong Pledge.o -fprofile-arcs -ftest-coverage -o blib/arch/auto/Unix/Pledge/Pledge.so \ \ chmod 755 blib/arch/auto/Unix/Pledge/Pledge.so PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Unix::Pledge;' # at t/Unix-Pledge.t line 15. # Tried to use 'Unix::Pledge'. # Error: Can't load '/root/.cpan/build/Unix-Pledge-0.004-0/blib/arch/auto/Unix/Pledge/Pledge.so' for module Unix::Pledge: /root/.cpan/build/Unix-Pledge-0.004-0/blib/arch/auto/Unix/Pledge/Pledge.so: undefined symbol: pledge at /usr/local/lib/perl5/5.44.0/x86_64-linux/DynaLoader.pm line 206. # at t/Unix-Pledge.t line 15. # Compilation failed in require at t/Unix-Pledge.t line 15. # BEGIN failed--compilation aborted at t/Unix-Pledge.t line 15. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 21. # Failed test 'stdio only, ok' # at t/Unix-Pledge.t line 103. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 74. # Failed test 'INET Socket, ok' # at t/Unix-Pledge.t line 103. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 53. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 35. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 60. # Failed test 'File::Temp, ok no flock' # at t/Unix-Pledge.t line 103. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 67. # Failed test 'UNIX Socket, ok' # at t/Unix-Pledge.t line 103. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 28. Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 42. # Failed test 'File::Temp, ok' # at t/Unix-Pledge.t line 103. # Looks like you planned 10 tests but ran 9. # Looks like you failed 6 tests of 9 run. t/Unix-Pledge.t .. Dubious, test returned 6 (wstat 1536, 0x600) Failed 7/10 subtests Test Summary Report ------------------- t/Unix-Pledge.t (Wstat: 1536 (exited 6) Tests: 9 Failed: 6) Failed tests: 1-3, 6-7, 9 Non-zero exit status: 6 Parse errors: Bad plan. You planned 10 tests but ran 9. Files=1, Tests=9, 4 wallclock secs ( 0.03 usr 0.03 sys + 3.18 cusr 0.60 csys = 3.84 CPU) Result: FAIL Failed 1/1 test programs. 6/9 subtests failed. make: *** [Makefile:1036: test_dynamic] Error 6 cover: running gcov -abcr -o . Pledge.xs ./Pledge.gcda:cannot open data file, assuming not executed File 'Pledge.c' Lines executed:0.00% of 12 Branches executed:0.00% of 4 Taken at least once:0.00% of 4 Calls executed:0.00% of 5 Creating 'Pledge.c.gcov' File 'Pledge.xs' Lines executed:0.00% of 14 Branches executed:0.00% of 16 Taken at least once:0.00% of 16 Calls executed:0.00% of 10 Creating 'Pledge.xs.gcov' Lines executed:0.00% of 26 cover: running gcov -abcr -o . Pledge.c ./Pledge.gcda:cannot open data file, assuming not executed File 'Pledge.c' Lines executed:0.00% of 12 Branches executed:0.00% of 4 Taken at least once:0.00% of 4 Calls executed:0.00% of 5 Creating 'Pledge.c.gcov' File 'Pledge.xs' Lines executed:0.00% of 14 Branches executed:0.00% of 16 Taken at least once:0.00% of 16 Calls executed:0.00% of 10 Creating 'Pledge.xs.gcov' Lines executed:0.00% of 26 cover: running /usr/local/bin/perl /usr/local/bin/gcov2perl -db /root/.cpan/build/Unix-Pledge-0.004-0/cover_db Pledge.xs.gcov gcov2perl: Writing coverage database to /root/.cpan/build/Unix-Pledge-0.004-0/cover_db/runs/1784932634.181.34216 cover: Reading database from /root/.cpan/build/Unix-Pledge-0.004-0/cover_db cover: Added 1 file(s) from --select_dir --------------------- ------ ------ ------ ------ ------ ------ ------ ------ File stmt bran cond mcdc sub pod total scar --------------------- ------ ------ ------ ------ ------ ------ ------ ------ Pledge.xs 0.0 0.0 n/a n/a n/a n/a 0.0 n/a ...lib/Unix/Pledge.pm 100.0 n/a n/a n/a 100.0 n/a 100.0 0.0 Total 17.6 0.0 n/a n/a 100.0 n/a 11.7 5.6 --------------------- ------ ------ ------ ------ ------ ------ ------ ------ cover: HTML output written to /root/.cpan/build/Unix-Pledge-0.004-0/cover_db/index.html cover: running gcov -abcr -o . Pledge.xs ./Pledge.gcda:cannot open data file, assuming not executed File 'Pledge.c' Lines executed:0.00% of 12 Branches executed:0.00% of 4 Taken at least once:0.00% of 4 Calls executed:0.00% of 5 Creating 'Pledge.c.gcov' File 'Pledge.xs' Lines executed:0.00% of 14 Branches executed:0.00% of 16 Taken at least once:0.00% of 16 Calls executed:0.00% of 10 Creating 'Pledge.xs.gcov' Lines executed:0.00% of 26 cover: running gcov -abcr -o . Pledge.c ./Pledge.gcda:cannot open data file, assuming not executed File 'Pledge.c' Lines executed:0.00% of 12 Branches executed:0.00% of 4 Taken at least once:0.00% of 4 Calls executed:0.00% of 5 Creating 'Pledge.c.gcov' File 'Pledge.xs' Lines executed:0.00% of 14 Branches executed:0.00% of 16 Taken at least once:0.00% of 16 Calls executed:0.00% of 10 Creating 'Pledge.xs.gcov' Lines executed:0.00% of 26 cover: running /usr/local/bin/perl /usr/local/bin/gcov2perl -db /root/.cpan/build/Unix-Pledge-0.004-0/cover_db Pledge.xs.gcov gcov2perl: Writing coverage database to /root/.cpan/build/Unix-Pledge-0.004-0/cover_db/runs/1784932634.185.01758 cover: Reading database from /root/.cpan/build/Unix-Pledge-0.004-0/cover_db cover: JSON output written to /root/.cpan/build/Unix-Pledge-0.004-0/cover_db/cover.json ================================================================================ **** Checking coverage of Unix-Pledge-0.004 **** Testing Unix-Pledge-0.004 in /root/.cpan/build/Unix-Pledge-0.004-0 dc -> /usr/local/bin/perl /usr/local/bin/cover --test --report html --outputfile index.html --select_dir blib dc -> /usr/local/bin/perl /usr/local/bin/cover -report json_summary -nosummary ================================================================================ Successfully copied 118kB to /remote_staging/pjcj-cpancover_dev-R-RE-REF-Unix-Pledge-0.004.tar.gz--1784932616.061651-1784932616-093371307