Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the App-cpanminus-reporter CPAN distribution.

Report information
The Basics
Id: 123666
Status: new
Priority: 0/
Queue: App-cpanminus-reporter

Owner: Nobody in particular
Requestors: jkeenan [...]

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

Subject: cpanm-reporter failing to find recent build.log
Date: Sat, 18 Nov 2017 13:44:04 -0500
To: bug-App-cpanminus-reporter [...]
From: James E Keenan <jkeenan [...]>
Download (untitled) / with headers
text/plain 2.3k
I am having trouble getting cpanm-reporter to work in a somewhat customized situation. It is not finding cpanm build.log that was created within the preceding 30 minutes; hence, it is not reporting anything. The customized situation is that, in order to be able to test CPAN modules against monthly development releases of Perl 5, I have: (a) built and installed perl in a special directory; (b) installed cpanm in the same 'bin' directory as perl; (c) set PERL_CPANM_HOME and PERL_CPAN_REPORTER_DIR environmental variables to non-standard location so that the cpanm build.log(s) I generate by testing against the dev release are distinct from, and not intermingled with, the cpanm build.logs I have under my home directory on the same machine. To clarify: ##### $ ls -al /home/jkeenan/var/bbc/testing total 24 drwxr-xr-x 6 jkeenan jkeenan 4096 Nov 18 12:10 . drwxr-xr-x 6 jkeenan jkeenan 4096 Nov 16 20:47 .. drwxr-xr-x 2 jkeenan jkeenan 4096 Nov 18 12:57 bin drwxr-xr-x 3 jkeenan jkeenan 4096 Nov 18 12:53 .cpanm drwxr-xr-x 2 jkeenan jkeenan 4096 Nov 18 11:19 .cpanreporter drwxr-xr-x 3 jkeenan jkeenan 4096 Nov 18 12:10 lib $ ls -al bin/perl bin/cpanm-reporter bin/cpanm -r-xr-xr-x 1 jkeenan jkeenan 305359 Nov 18 12:10 bin/cpanm -r-xr-xr-x 1 jkeenan jkeenan 6442 Nov 18 12:57 bin/cpanm-reporter -rwxr-xr-x 2 jkeenan jkeenan 2049152 Nov 18 12:10 bin/perl $ echo $PERL_CPANM_HOME /home/jkeenan/var/bbc/testing/.cpanm $ ls -l $PERL_CPANM_HOME total 8 lrwxrwxrwx 1 jkeenan jkeenan 68 Nov 18 12:53 build.log -> /home/jkeenan/var/bbc/testing/.cpanm/work/1511027609.24971/build.log $ echo $PERL_CPAN_REPORTER_DIR /home/jkeenan/var/bbc/testing/.cpanreporter $ ls -l $PERL_CPAN_REPORTER_DIR total 8 -rw-r--r-- 1 jkeenan jkeenan 195 Nov 18 11:09 config.ini -rw------- 1 jkeenan jkeenan 1839 Nov 18 11:19 metabase_id.json ##### So the most recent cpanm build.log -- the log for building App::cpanminus::reporter itself! -- was created at 12:53. I therefore would have expected that when I went to send a report a few minutes later ... ##### $ date Sat Nov 18 13:00:03 EST 2017 ##### ... I would have been successful. Instead, I got: ##### $ ./bin/cpanm-reporter Fatal: build.log was created longer than 30 minutes ago. ... ##### Why is cpanm-reporter not detecting the recently created build.log? (Or what am I doing wrong?) Thank you very much. Jim Keenan

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to