Skip Menu |

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

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

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

Bug Information
Severity: (no value)
Broken in: 2.0305_01080605
Fixed in: (no value)



Subject: Warning: TMPDIR is set (...), but is not a directory.
If the environment variable TMPDIR is set, then Math::Pari-using perl code may emit warnings in the form: PARI: *** Warning: TMPDIR is set (/var/tmp/cpansmoker-1000), but is not a directory. You can see this warning in some test reports for the Crypt-Primes modules, e.g. here: http://www.cpantesters.org/cpan/report/03803921-b19f-3f77-b713-d32bba55d77f http://www.cpantesters.org/cpan/report/c966b36a-0144-11e3-97d9-a83d5e958a09 Looking at the libpari code it seems that HAS_OPENDIR nowadays is not defined (building the normal way without using "perl Makefile.PL Configure"), so pari_is_dir() always returns false. Regards, Slaven
Subject: Re: [rt.cpan.org #87758] Warning: TMPDIR is set (...), but is not a directory.
Date: Fri, 25 Apr 2014 02:34:58 -0700
To: Slaven_Rezic via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Sat, Aug 10, 2013 at 01:38:01AM -0400, Slaven_Rezic via RT wrote: Show quoted text
> If the environment variable TMPDIR is set, then Math::Pari-using perl code may emit warnings in the form: > > PARI: *** Warning: TMPDIR is set (/var/tmp/cpansmoker-1000), but is not a directory. > > You can see this warning in some test reports for the Crypt-Primes modules, e.g. here: > http://www.cpantesters.org/cpan/report/03803921-b19f-3f77-b713-d32bba55d77f > http://www.cpantesters.org/cpan/report/c966b36a-0144-11e3-97d9-a83d5e958a09 > > Looking at the libpari code it seems that HAS_OPENDIR nowadays is not defined (building the normal way without using "perl Makefile.PL Configure"), so pari_is_dir() always returns false.
In my blead version, I’m trying to detect HAS_OPENDIR and HAS_STAT basing on i_dirent and i_sysstat. Hard to test, since system without them should be very rare nowadays… Thanks, Ilya