Skip Menu |

This queue is for tickets about the Math-CDF CPAN distribution.

Report information
The Basics
Id: 120432
Status: open
Priority: 0/
Queue: Math-CDF

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

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



Subject: Builds fails with recent EUMM and some make variants
On FreeBSD systems with BSD make and recent ExtUtils::MakeMaker (>=7.16) I see the following error while trying to test the distribution: $ make test "/usr/perl5.25.10p/bin/perl5.25.10" -MExtUtils::Command::MM -e 'cp_nonempty' -- CDF.bs blib/arch/auto/Math/CDF/CDF.bs 644 make[1]: don't know how to make test_dynamic. Stop make[1]: stopped in /home/cpansand/.cpan/build/2017022718/Math-CDF-0.1-0/cdflib *** Error code 2 Other systems are also affected, probably systems without GNU make, see http://matrix.cpantesters.org/?dist=Math-CDF+0.1 The problem is probably caused by a change in ExtUtils::MakeMaker and discussed in this ticket: https://rt.cpan.org/Ticket/Display.html?id=117800
On 2017-02-27 14:10:03, SREZIC wrote: Show quoted text
> On FreeBSD systems with BSD make and recent ExtUtils::MakeMaker > (>=7.16) I see the following error while trying to test the > distribution: > > $ make test > "/usr/perl5.25.10p/bin/perl5.25.10" -MExtUtils::Command::MM -e > 'cp_nonempty' -- CDF.bs blib/arch/auto/Math/CDF/CDF.bs 644 > make[1]: don't know how to make test_dynamic. Stop > > make[1]: stopped in /home/cpansand/.cpan/build/2017022718/Math-CDF- > 0.1-0/cdflib > *** Error code 2 > > > Other systems are also affected, probably systems without GNU make, > see http://matrix.cpantesters.org/?dist=Math-CDF+0.1 > > The problem is probably caused by a change in ExtUtils::MakeMaker and > discussed in this ticket: > https://rt.cpan.org/Ticket/Display.html?id=117800
A possible patch is available at: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Math-CDF-0.1-RT117800.patch
On Mon Feb 27 14:16:27 2017, SREZIC wrote: Show quoted text
> On 2017-02-27 14:10:03, SREZIC wrote:
> > On FreeBSD systems with BSD make and recent ExtUtils::MakeMaker > > (>=7.16) I see the following error while trying to test the > > distribution: > > > > $ make test > > "/usr/perl5.25.10p/bin/perl5.25.10" -MExtUtils::Command::MM -e > > 'cp_nonempty' -- CDF.bs blib/arch/auto/Math/CDF/CDF.bs 644 > > make[1]: don't know how to make test_dynamic. Stop > > > > make[1]: stopped in /home/cpansand/.cpan/build/2017022718/Math-CDF- > > 0.1-0/cdflib > > *** Error code 2 > > > > > > Other systems are also affected, probably systems without GNU make, > > see http://matrix.cpantesters.org/?dist=Math-CDF+0.1 > > > > The problem is probably caused by a change in ExtUtils::MakeMaker and > > discussed in this ticket: > > https://rt.cpan.org/Ticket/Display.html?id=117800
> > A possible patch is available at: > http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Math-CDF- > 0.1-RT117800.patch
More data. Today I attempted to build this CPAN distribution against Perl 5 blead on FreeBSD 11.1-STABLE using cpanm as the installer. The build failed. Excerpts from the cpanm build.log are attached. This problem is also referenced in https://rt.cpan.org/Ticket/Display.html?id=117800; hence the name of the attachment. ##### $ ./bin/perl -Ilib -v |head -2 | tail -1 This is perl 5, version 29, subversion 1 (v5.29.1 (v5.29.0-19-g4c821bdad5)) built for amd64-freebsd $ uname -mrs FreeBSD 11.1-STABLE amd64 ##### Thank you very much. Jim Keenan
Subject: cpan-117800.Math-CDF.build.log
Searching Math::CDF () on cpanmetadb ... --> Working on Math::CDF Fetching http://www.cpan.org/authors/id/C/CA/CALLAHAN/Math-CDF-0.1.tar.gz -> OK Unpacking Math-CDF-0.1.tar.gz Entering Math-CDF-0.1 META.yml/json not found. Creating skeleton for it. Configuring Math-CDF-0.1 Running Makefile.PL Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Math::CDF Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.34) Building and testing Math-CDF-0.1 cp CDF.pm blib/lib/Math/CDF.pm AutoSplitting blib/lib/Math/CDF.pm (blib/lib/auto/Math/CDF) cd cdflib && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O2" PREFIX="/home/jkeenan/testing/blead" PASTHRU_DEFINE=' ' PASTHRU_INC=' ' cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/home/jkeenan/testing/blead/lib/perl5/5.29.1/amd64-freebsd/CORE" dcdflib.c dcdflib.c:1889:36: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!(*s < 0.0e0 || *which != 3 && *s > *xn)) goto S160; ~~ ~~~~~~~~~~~~^~~~~~~~~~~ dcdflib.c:1889:36: note: place parentheses around the '&&' expression to silence this warning if(!(*s < 0.0e0 || *which != 3 && *s > *xn)) goto S160; ^ ( ) dcdflib.c:3551:20: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!(qporq && cum > 1.5e0 || !qporq && ccum > 1.5e0)) goto S280; ~~~~~~^~~~~~~~~~~~~~ ~~ dcdflib.c:3551:20: note: place parentheses around the '&&' expression to silence this warning if(!(qporq && cum > 1.5e0 || !qporq && ccum > 1.5e0)) goto S280; ^ ( ) dcdflib.c:3551:45: warning: '&&' within '||' [-Wlogical-op-parentheses] if(!(qporq && cum > 1.5e0 || !qporq && ccum > 1.5e0)) goto S280; ~~ ~~~~~~~^~~~~~~~~~~~~~~ dcdflib.c:3551:45: note: place parentheses around the '&&' expression to silence this warning if(!(qporq && cum > 1.5e0 || !qporq && ccum > 1.5e0)) goto S280; ^ ( ) dcdflib.c:6410:17: warning: '&&' within '||' [-Wlogical-op-parentheses] qup = qincr && yy < 0.0e0 || !qincr && yy > 0.0e0; ~~~~~~^~~~~~~~~~~~~ ~~ dcdflib.c:6410:17: note: place parentheses around the '&&' expression to silence this warning qup = qincr && yy < 0.0e0 || !qincr && yy > 0.0e0; ^ ( ) dcdflib.c:6410:41: warning: '&&' within '||' [-Wlogical-op-parentheses] qup = qincr && yy < 0.0e0 || !qincr && yy > 0.0e0; ~~ ~~~~~~~^~~~~~~~~~~~~ dcdflib.c:6410:41: note: place parentheses around the '&&' expression to silence this warning qup = qincr && yy < 0.0e0 || !qincr && yy > 0.0e0; ^ ( ) dcdflib.c:6434:18: warning: '&&' within '||' [-Wlogical-op-parentheses] qbdd = qincr && yy >= 0.0e0 || !qincr && yy <= 0.0e0; ~~~~~~^~~~~~~~~~~~~~ ~~ dcdflib.c:6434:18: note: place parentheses around the '&&' expression to silence this warning qbdd = qincr && yy >= 0.0e0 || !qincr && yy <= 0.0e0; ^ ( ) dcdflib.c:6434:43: warning: '&&' within '||' [-Wlogical-op-parentheses] qbdd = qincr && yy >= 0.0e0 || !qincr && yy <= 0.0e0; ~~ ~~~~~~~^~~~~~~~~~~~~~ dcdflib.c:6434:43: note: place parentheses around the '&&' expression to silence this warning qbdd = qincr && yy >= 0.0e0 || !qincr && yy <= 0.0e0; ^ ( ) dcdflib.c:6475:18: warning: '&&' within '||' [-Wlogical-op-parentheses] qbdd = qincr && yy <= 0.0e0 || !qincr && yy >= 0.0e0; ~~~~~~^~~~~~~~~~~~~~ ~~ dcdflib.c:6475:18: note: place parentheses around the '&&' expression to silence this warning qbdd = qincr && yy <= 0.0e0 || !qincr && yy >= 0.0e0; ^ ( ) dcdflib.c:6475:43: warning: '&&' within '||' [-Wlogical-op-parentheses] qbdd = qincr && yy <= 0.0e0 || !qincr && yy >= 0.0e0; ~~ ~~~~~~~^~~~~~~~~~~~~~ dcdflib.c:6475:43: note: place parentheses around the '&&' expression to silence this warning qbdd = qincr && yy <= 0.0e0 || !qincr && yy >= 0.0e0; ^ ( ) dcdflib.c:6877:26: warning: '&&' within '||' [-Wlogical-op-parentheses] qrzero = fc >= 0.0e0 && fb <= 0.0e0 || fc < 0.0e0 && fb >= 0.0e0; ~~~~~~~~~~~~^~~~~~~~~~~~~~ ~~ dcdflib.c:6877:26: note: place parentheses around the '&&' expression to silence this warning qrzero = fc >= 0.0e0 && fb <= 0.0e0 || fc < 0.0e0 && fb >= 0.0e0; ^ ( ) dcdflib.c:6877:55: warning: '&&' within '||' [-Wlogical-op-parentheses] qrzero = fc >= 0.0e0 && fb <= 0.0e0 || fc < 0.0e0 && fb >= 0.0e0; ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~ dcdflib.c:6877:55: note: place parentheses around the '&&' expression to silence this warning qrzero = fc >= 0.0e0 && fb <= 0.0e0 || fc < 0.0e0 && fb >= 0.0e0; ^ ( ) 11 warnings generated. cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC "-I/home/jkeenan/testing/blead/lib/perl5/5.29.1/amd64-freebsd/CORE" ipmpar.c ar cr libcdflib.a dcdflib.o ipmpar.o : libcdflib.a Running Mkbootstrap for CDF () chmod 644 "CDF.bs" "/usr/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CDF.bs blib/arch/auto/Math/CDF/CDF.bs 644 "/usr/home/jkeenan/testing/blead/bin/perl" "/home/jkeenan/testing/blead/lib/perl5/5.29.1/ExtUtils/xsubpp" -typemap '/home/jkeenan/testing/blead/lib/perl5/5.29.1/ExtUtils/typemap' CDF.xs > CDF.xsc mv CDF.xsc CDF.c cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\" -DPIC -fPIC "-I/home/jkeenan/testing/blead/lib/perl5/5.29.1/amd64-freebsd/CORE" CDF.c rm -f blib/arch/auto/Math/CDF/CDF.so cc -shared -L/usr/local/lib -fstack-protector-strong CDF.o -o blib/arch/auto/Math/CDF/CDF.so cdflib/libcdflib.a -lm chmod 755 blib/arch/auto/Math/CDF/CDF.so "/usr/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CDF.bs blib/arch/auto/Math/CDF/CDF.bs 644 make[1]: don't know how to make test_dynamic. Stop make[1]: stopped in /usr/home/jkeenan/.cpanm/work/1531087641.67094/Math-CDF-0.1/cdflib *** Error code 2 Stop. make: stopped in /usr/home/jkeenan/.cpanm/work/1531087641.67094/Math-CDF-0.1 -> FAIL Installing Math::CDF failed. See /home/jkeenan/.cpanm/work/1531087641.67094/build.log for details. Retry with --force to force install it.