Skip Menu |

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

Report information
The Basics
Id: 94136
Status: open
Priority: 0/
Queue: Math-Pari

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

Bug Information
Severity: Important
Broken in: 2.01080605
Fixed in: (no value)



Subject: Error: Did not find any file matching /((?:.*\/)?pari\W*(?!2\.(?:[3-9]|\d\d+)\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP
Here's the full output: # MATHPARI_USEFTP=1 cpanm -v -n Math::Pari cpanm (App::cpanminus) 1.7001 on perl 5.014004 built for x86_64-linux Work directory is /root/.cpanm/work/1395656729.27886 You have make /usr/bin/make You have LWP 6.05 You have /bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://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. Searching Math::Pari on cpanmetadb ... --> Working on Math::Pari Fetching http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz ... OK Unpacking Math-Pari-2.01080605.tar.gz Math-Pari-2.01080605/ Math-Pari-2.01080605/Changes Math-Pari-2.01080605/func_codes.h Math-Pari-2.01080605/INSTALL Math-Pari-2.01080605/libPARI/ Math-Pari-2.01080605/libPARI/codes_2014 Math-Pari-2.01080605/libPARI/expected_codes Math-Pari-2.01080605/libPARI/extract_codes.pl Math-Pari-2.01080605/libPARI/gphelp Math-Pari-2.01080605/libPARI/Makefile.PL Math-Pari-2.01080605/Makefile.PL Math-Pari-2.01080605/MANIFEST Math-Pari-2.01080605/META.yml Math-Pari-2.01080605/Pari.pm Math-Pari-2.01080605/Pari.xs Math-Pari-2.01080605/PariInit.pm Math-Pari-2.01080605/patches/ Math-Pari-2.01080605/patches/diff_2.1.2_gccism Math-Pari-2.01080605/patches/diff_2.1.3_interface Math-Pari-2.01080605/patches/diff_2.1.4_interface Math-Pari-2.01080605/patches/diff_2.1.6_align_power_of_2 Math-Pari-2.01080605/patches/diff_2.1.6_no-common Math-Pari-2.01080605/patches/diff_2.1.6_ploth64 Math-Pari-2.01080605/patches/diff_2.1.7_-O Math-Pari-2.01080605/patches/diff_2.1.7_div Math-Pari-2.01080605/patches/diff_2.1.7_mingw-w64 Math-Pari-2.01080605/patches/diff_2.1.7_restart Math-Pari-2.01080605/patches/diff_2.2.2_interface Math-Pari-2.01080605/patches/diff_2.3.5_mingw-w64 Math-Pari-2.01080605/patches/diff_pari-2.1.3-ix86-divl Math-Pari-2.01080605/patches/patch-pari-unnormalized-float Math-Pari-2.01080605/README Math-Pari-2.01080605/t/ Math-Pari-2.01080605/t/000_load-problem.t Math-Pari-2.01080605/t/00_Pari.t Math-Pari-2.01080605/t/PlotRect.t Math-Pari-2.01080605/t/zz_leak.t Math-Pari-2.01080605/test_eng/ Math-Pari-2.01080605/test_eng/ex.t Math-Pari-2.01080605/test_eng/Testout.pm Math-Pari-2.01080605/TODO Math-Pari-2.01080605/typemap Math-Pari-2.01080605/utils/ Math-Pari-2.01080605/utils/chap3_to_pod Math-Pari-2.01080605/utils/comp_funcs.pl Math-Pari-2.01080605/utils/foncpari.pl Math-Pari-2.01080605/utils/inc.h Math-Pari-2.01080605/utils/inc_h.diff Math-Pari-2.01080605/utils/Math/ Math-Pari-2.01080605/utils/Math/PariBuild.pm Math-Pari-2.01080605/utils/notes Math-Pari-2.01080605/utils/paridoc_to_pod Math-Pari-2.01080605/utils/README Entering Math-Pari-2.01080605 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.92) Running Makefile.PL Configuring Math-Pari-2.01080605 ... Did not find GP/PARI build directory around. Non-interactive session, autofetching... Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/ Not in this directory, now chdir('OLD')... Did not find any file matching /((?:.*\/)?pari\W*(?!2\.(?:[3-9]|\d\d+)\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP One can rerun Makefile.PL after fetching GP/PARI archive (e.g., pari-2.1.7.tgz, or pari-2.3.4.tar.gz) manually to the current directory, or a (grand)parent directory of the current directory. [Keep in mind that the numbers "inside version" of Math::Pari module correspond to the last versions of GP/PARI it was tested with (additionally, 2.0108* works best with the last 2.1.* version, 2.1.7). As an alternative to having archive in CWD or its (grand)parent, specify pari_tgz=PATH_TO_TAR_GZ option to Makefile.PL. There is no need to extract the archive, or build GP/PARI; but if you have it extracted [and patched, if needed], you may specify paridir=PATH_TO_DIST_DIR option to Makefile.PL instead of `pari_tgz'. However, in this case the files WON'T be auto-patched. As a last-resort solution, there is also a possibility to use an already compiled PARI library. See the documentation in README and INSTALL files.] Can't fetch file with Net::FTP, now trying with LWP::UserAgent... Not in this directory, trying `ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/'... Did not find any file matching /((?:.*\/)?pari\W*(?!2\.(?:[3-9]|\d\d+)\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP. ============================================== ftp -pinegv megrez.math.u-bordeaux.fr < ftp-cmd Connected to pari.math.u-bordeaux1.fr. 220 Welcome to PARI/GP FTP service. 331 Please specify the password. 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. 250 Directory successfully changed. 227 Entering Passive Mode (147,210,16,88,219,28) 150 Here comes the directory listing. drwxrwsr-x 7 1000 2000 4096 Mar 24 08:57 OLD -rw-rw-r-- 1 1000 2000 147 Mar 24 08:53 README -rw-r--r-- 1 1000 1000 8388 Sep 07 2013 pari-2.5.5.changelog -rw-r--r-- 1 1000 2000 2727321 Sep 07 2013 pari-2.5.5.tar.gz -rw-r--r-- 1 1000 2000 198 Sep 07 2013 pari-2.5.5.tar.gz.asc -rw-rw-r-- 1 1001 2000 3142306 Mar 24 08:51 pari-2.7.0.tar.gz -rw-rw-r-- 1 1001 2000 190 Mar 24 08:52 pari-2.7.0.tar.gz.asc lrwxrwxrwx 1 1001 2000 17 Mar 24 08:53 pari.tgz -> pari-2.7.0.tar.gz 226 Directory send OK. 250 Directory successfully changed. 227 Entering Passive Mode (147,210,16,88,242,209) 150 Here comes the directory listing. drwxrwsr-x 2 1001 2000 4096 Mar 24 08:56 1.0 drwxrwsr-x 2 1001 2000 4096 Mar 24 08:55 2.0 drwxrwsr-x 2 1001 2000 4096 Mar 24 08:55 2.1 drwxrwsr-x 2 1001 2000 4096 Mar 24 08:55 2.3 drwxrwsr-x 2 1001 2000 4096 Mar 24 08:57 2.5 226 Directory send OK. 200 Switching to Binary mode. 227 Entering Passive Mode (147,210,16,88,76,121) 550 Failed to open file. 221 Goodbye. ============================================== ========================================================================== === === If the output from FTP session above successfully lists === directories, your installs of Net::FTP and, possibly, LWP === is completely broken. How comes??? === ========================================================================== Non-interactive session, autofetching...
From: cpietsch+bitcard [...] uni-bielefeld.de
This should be easy to fix for the module maintainers. It seems that pari-2.1.7.tgz was moved to the 2.1 sub-directory of the FTP server. So the old URL ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-2.1.7.tgz must be changed to ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/2.1/pari-2.1.7.tgz That is all. On Mon 24 Mar 2014, 06:30:28, TARYK wrote: Show quoted text
> Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/ > Not in this directory, now chdir('OLD')... > Did not find any file matching /((?:.*\/)?pari\W*(?!2\.(?:[3- > 9]|\d\d+)\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP
RT-Send-CC: cpietsch+bitcard [...] uni-bielefeld.de
Is there a plan for supporting 2.7.0 ?
as a temporary workaround, try these commands: cpan look Math::Pari wget 'ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/2.1/pari-2.1.7.tgz' perl Makefile.PL pari_tgz=`pwd`/pari-2.1.7.tgz && make && make test && make install
Better to just apply this patch, as the source has moved: --- utils/Math/PariBuild.pm.org 2014-04-22 09:49:53.340937857 +0200 +++ utils/Math/PariBuild.pm 2014-04-22 09:44:36.026048399 +0200 @@ -193,7 +193,7 @@ sub ll_ftp () { # All Perl download fail user anonymous auto-download-Math-Pari@cpan.org cd /pub/pari/unix/ dir -cd OLD +cd OLD/2.1 dir binary get pari-2.1.7.tgz
Subject: Re: [rt.cpan.org #94136] Error: Did not find any file matching /((?:.*\/)?pari\W*(?!2\.(?:[3-9]|\d\d+)\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP
Date: Fri, 25 Apr 2014 01:22:42 -0700
To: "H.Merijn Brand via RT" <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Tue, Apr 22, 2014 at 03:51:22AM -0400, H.Merijn Brand via RT wrote: Show quoted text
> Queue: Math-Pari > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94136 > > > Better to just apply this patch, as the source has moved:
Thanks for everybody for their patience; I could not address this before. As of today, the issue should be fixed on CPAN. Best regards, Ilya