On Sat Jul 21 19:50:58 2018, nospam-abuse@ilyaz.org wrote:
Show quoted text> On Fri, Jul 20, 2018 at 03:42:53AM -0400, Kang-min Liu via RT wrote:
>
> Sorry, I do not know when I will be able to allocate a time slot for
> this. In the previous years, the PARI/GP team would agree to make
> symlinks to fix such problems…
>
> Yours,
> Ilya
The OLD folder is not longer located in /pub/pari/unix but in /pub/pari
I have made a patch:
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
modified: utils/Math/PariBuild.pm
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
@ PariBuild.pm:197 @ sub ll_ftp () { # All Perl download failures I saw are on Linux and BSD.
open OF, '> ftp-cmd' or die "Can't open `ftp-cmd' for write: $!";
print OF <<'EOF'; # XXXX Hardwired version!
user anonymous auto-download-Math-Pari@cpan.org
cd /pub/pari/unix/
cd /pub/pari/
dir
cd OLD/2.1
dir
@ PariBuild.pm:269 @ sub finish_download_pari ($$$$;$) {
my($base_url, $dir, $_archive, $ftp, $ua) = (shift, shift, shift, shift, shift);
my %archive = %$_archive;
my ($type, %have, %types, $best, %latest_version, %latest_file);
for $type (qw(alpha beta golden)) {
if ($archive{$type}) {
@ PariBuild.pm:389 @ EOP
my $ans = <STDIN>;
if ($ans !~ /y/i) {
if ($ans !~ /[^\n\r]/ and not $ENV{PERL_MATHPARI_TRUST_MANUAL}
and (defined $ENV{PERL5_CPAN_IS_RUNNING}
and (defined $ENV{PERL5_CPAN_IS_RUNNING}
or ($ENV{PERL_EXTUTILS_AUTOINSTALL}||0) =~ /\bdefaultdeps\b/) ) {
print <<'EOP';
Hmm, did not you read the prompt?
Anyway, since $ENV{PERL5_CPAN_IS_RUNNING} is set
Anyway, since $ENV{PERL5_CPAN_IS_RUNNING} is set
(or $ENV{PERL_EXTUTILS_AUTOINSTALL} contains defaultdeps),
I assume unattended build, and consider NO ANSWER as agreement...
(If this is not what you wanted, set PERL_MATHPARI_TRUST_MANUAL to TRUE.)
@ PariBuild.pm:563 @ sub patches_for ($) {
'patches/diff_2.1.7_restart'],
'2.3.5' => [
($^O =~ /^MSWin32\b/ ? 'patches/diff_2.3.5_mingw-w64' : ()),
'patches/diff_2.3.5_stderr_clobber'],
'patches/diff_2.3.5_stderr_clobber'],
);
print "Looking for patches for $v...\n";
my @p = $patches{$v} ? @{$patches{$v}} : ();
¯\_(ツ)_/¯ [jonasbn:~/develop/github-forks/Math-Pari] ftp_directory_change 1h57m50s ±
Ref:
https://github.com/jonasbn/Math-Pari/commit/75f314b09a5da33be3e2e35518f332be88fc2d1a#diff-f344bce65b09a563be1a6bf03e05b3d1L197
jonasbn