Skip to main content



Hi,

Can anyone help explain to me why this is failing? I am trying to install Env::C and it seems to me that it is failing because of a leak test. Am I reading that right?

[root@a34 ~]# cat /root/.cpanm/work/1708960597.71560/build.log cpanm (App::cpanminus) 1.7047 on perl 5.026003 built for x86_64-linux-thread-multi Work directory is /root/.cpanm/work/1708960597.71560 You have make /usr/bin/make You have LWP 6.34 You have /usr/bin/tar: tar (GNU tar) 1.30 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Env::C () on cpanmetadb ... --> Working on Env::C Fetching http://www.cpan.org/authors/id/M/MS/MSCHOUT/Env-C-0.15.tar.gz -> OK Unpacking Env-C-0.15.tar.gz Entering Env-C-0.15 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34) Configuring Env-C-0.15 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Env::C Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have warnings 0 ... Yes (1.37) Checking if you have DynaLoader 0 ... Yes (1.42) Checking if you have strict 0 ... Yes (1.11) Checking if you have Test::More 0.88 ... Yes (1.302135) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.34) Building and testing Env-C-0.15 cp lib/Env/C.pm blib/lib/Env/C.pm Running Mkbootstrap for C () chmod 644 "C.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- C.bs blib/arch/auto/Env/C/C.bs 644 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' C.xs > C.xsc Please specify prototyping behavior for C.xs (see perlxs manual) mv C.xsc C.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" -fPIC "-I/usr/lib64/perl5/CORE" C.c rm -f blib/arch/auto/Env/C/C.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong C.o -o blib/arch/auto/Env/C/C.so \ -lperl \ chmod 755 blib/arch/auto/Env/C/C.so Manifying 1 pod document "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- C.bs blib/arch/auto/Env/C/C.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/author-pod-coverage.t .. skipped: these tests are for testing by the author t/author-pod-syntax.t .... skipped: these tests are for testing by the author t/author-signature.t ..... skipped: these tests are for testing by the author # Failed test 'setenv does not leak' # at t/leak.t line 31. # got: 63416 # expected: 63418 # Looks like you failed 1 test of 1. t/leak.t ................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/smoke-multi.t .......... ok t/smoke.t ................ ok Test Summary Report ------------------- t/leak.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=6, Tests=14, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.30 cusr 0.01 csys = 0.33 CPU) Result: FAIL Failed 1/6 test programs. 1/14 subtests failed. make: *** [Makefile:1033: test_dynamic] Error 255 -> FAIL Installing Env::C failed. See /root/.cpanm/work/1708960597.71560/build.log for details. Retry with --force to force install it. [root@a34 ~]# 

submitted by /u/dovi5988
[link] [comments]






Hey Reddit Community, as of 2024, what are the most innovative and practical applications of Perl in today's tech landscape?

submitted by /u/MrLaurieLaurenceJr
[link] [comments]






Open a file for shared reading and/or writing

Changes for 4.05 - 2023-07-02

  • Fix tests with perl-5.38.0.


Fast, safe DBI connection and transaction management

Changes for 0.59

  • Fix for Windows t/load.t failures



Module of basic descriptive statistical functions.

Changes for 3.0801 - 2023-07-02

  • Correct typos


Synthesizer settings librarian

Changes for 0.0033 - 2023-07-02T01:05:42Z

  • Improve the eg/mojo-ui.pl program.
  • Add another bottom and top value to the initial settings.


An Application to interface with rosettacode.org

Changes for 0.1.1

  • Major overhaul for 2023


Synthesizer settings librarian

Changes for 0.0032 - 2023-07-01T18:44:51Z

  • Add mojo-ui tests.





Characters from the sitcom 3rd Rock From The Sun (1996-2001)

Changes for 0.001 - 2023-03-12

  • First release.


Synthesizer settings librarian

Changes for 0.0031 - 2023-07-01T18:12:32Z

  • Fix mojo-ui tests.




Synthesizer settings librarian

Changes for 0.0030 - 2023-07-01T18:04:06Z

  • Add mojo-ui tests.
  • Improve the eg/mojo-ui.pl program.


Sign a Certificate Signing Request in XS.

Changes for 0.06

  • Significant Changes since 0.05
  • Detailed Logs


A collection of bencher scenarios to benchmark Data::Sah

Changes for 0.071 - 2023-01-19

  • Rename module/dist Bencher-Scenarios-{DataSah,Data-Sah}.



Get stock and mutual fund quotes from various exchanges

Changes for 1.57 - 2023-07-01T12:37:07-07:00

  • Correct set exchange in YahooJSON.pm - Issue #306
  • Added close, change and p_change to Tradegate, XETRA and Sinvestor Added optional parameter INST_ID to specify the institute id. Fixed bug in Tradegate, XETRA and Sinvestor for numbers equal or higher than 1.000 - PR #304
  • Added GoogleWeb Module
  • YahooWeb module added - PR #296
  • Added MarketWatch Module
  • Replaced cached file with IO::String object in IndiaMutual.pm
  • Fixed missing date in AEX.pm - Issue #298
  • Fixed Examples in POD Documentation in a few modules - PR #295
  • move use strict to be the first statement in TreasuryDirect.pm and TwelveData.pm #290
  • remove old perl version requirement statements from TreasuryDirect.pm and TwelveData.pm #290
  • removed Data::Dumper that caused another test to fail from TreasuryDirect.pm #290
  • Fixed Fool.pm and fool.t - PR #289
#298 #295 #290 #289 #296 #304 #306


A Perl module for handling webhooks sent by Stripe

Changes for 1.12

  • Modified tests to prevent failure when Test::Warn is not installed Added new author test for VERSION in module and POD


Synthesizer settings librarian

Changes for 0.0029 - 2023-07-01T11:39:38Z

  • Adjust make_setting() logic.
  • Improve the eg/mojo-ui.pl program.


Synthesizer settings librarian

Changes for 0.0028 - 2023-07-01T10:39:18Z

  • Improve the eg/mojo-ui.pl program.




Perl extension for the GNU Readline/History Library

Changes for 1.46 - 2023-07-01

  • Reproduce Term::ReadLine::Stub’s behavior for ornaments (#17)
  • let new() fail on multiple instantiation (#16)
  • suppress warning errors on clang
  • make clean removes `*.dSYM` for macOS
  • INSTALL.md: update content
#17 #16


Synthesizer settings librarian

Changes for 0.0027 - 2023-07-01T01:43:35Z

  • Improve the eg/mojo-ui.pl program.
  • Simplify the remove_model() method.
  • Improve documentation.



Synthesizer settings librarian

Changes for 0.0026 - 2023-06-30T18:27:06Z

  • Fix SQLite single quote escaping.
  • Improve the eg/mojo-ui.pl program.


Takes a series of lines in Sentinel Benefits format and writes them out as QIF files, subject to the symbol mappings specified.


Synthesizer settings librarian

Changes for 0.0025 - 2023-06-30T17:50:07Z

  • Improve the eg/mojo-ui.pl program.


Synthesizer settings librarian

Changes for 0.0024 - 2023-06-30T17:32:42Z

  • Improve the eg/mojo-ui.pl program.


Frequently asked questions about Perl

Changes for 5.20230701 - 2023-07-01T00:23:37Z

  • Fix Unicode code point range in glossary (Felipe Gasper, #98)
  • faq4: recommend fc() for string sorting, rather than lc() (brian d foy, #102)
#98 #102


Perl's system(), readpipe()/qx, IPC::Run's run(), start() (with more options)

Changes for 0.341 - 2023-05-24

  • Log output of system() and run(), in addition to readpipe().


Synthesizer settings librarian

Changes for 0.0023 - 2023-06-30T16:45:31Z

  • SQLite does not like JSON key values with single quotes, apparently. :\
  • Improve the eg/mojo-ui.pl program.


Synthesizer settings librarian

Changes for 0.0022 - 2023-06-30T15:31:35Z

  • Doubleplusugh. Include public/!


Synthesizer settings librarian

Changes for 0.0021 - 2023-06-30T15:27:11Z

  • Ugh. Exclude public/.


Synthesizer settings librarian

Changes for 0.0020 - 2023-06-30T15:08:23Z

  • Work around broken Mojo::SQLite behavior.
  • Add the recall_models() method.
  • Improve the eg/mojo-ui.pl program.


Encapsulate SQL queries and rows in simple perl objects

Changes for 1.77 - 2023-06-30

  • Change how DistinctQueryAndCount builds query to fix sorting


Synthesizer settings librarian

Changes for 0.0019 - 2023-06-30T13:45:17Z

  • Improve documentation.
  • Do not require a model.
  • Improve the eg/mojo-ui.pl program.



Efficient buffered DBI inserter and fast INSERT SQL builder

Changes for 0.02 - 2023-06-30

  • Duplicates handling for hash inserts.