garu / App-cpanminus-reporter

stand-alone CPAN Testers client (for cpanminus and friends)
13 stars 13 forks source link

Parsing error: Found $SOMETHING without fetching first #17

Closed mlawren closed 8 years ago

mlawren commented 10 years ago

[sorry if the formatting is rubbish - I didn't preview before sending, and can't preview while editing now]

I ran cpanm from an unpacked (source) directory:

  C:\Users\mark\src\sys-cmd>cpanm --installdeps --with-develop .                  
  --> Working on .                                                                
  Configuring C:/Users/mark/src/sys-cmd ... OK                                    
  ==> Found dependencies: Log::Any                                                
  --> Working on Log::Any                                                         
  Fetching http://www.cpan.org/authors/id/J/JS/JSWARTZ/Log-Any-0.15.tar.gz ... OK 
  Configuring Log-Any-0.15 ... OK                                                 
  Building and testing Log-Any-0.15 ... OK                                        
  Successfully installed Log-Any-0.15                                             
  <== Installed dependencies for .. Finishing.                                    
  1 distribution installed                                                        

Running cpanm-reporter afterwards resulting in the following:

  C:\Users\mark\src\sys-cmd>cpanm-reporter
  Parsing error. Found 'C:/Users/mark/src/sys-cmd' without fetching first. at C:\strawberry\perl\site  \bin/cpanm-reporter line 26.

The contents of the build.log file were as follows:

  panm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x86-multithread-64int                                                                         
  Work directory is C:\Users\mark/.cpanm/work/1409924271.1416                     
  You have make C:\strawberry\c\bin\dmake.exe                                     
  You have LWP 6.05                                                               
  You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\b
  in\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"                     
  You have "C:\Program Files (x86)\Git\bin\unzip.exe"                             
  --> Working on .                                                                
  Entering C:/Users/mark/src/sys-cmd                                              
  Configuring C:/Users/mark/src/sys-cmd                                           
  -> OK                                                                           
  Checking if you have Log::Any 0 ... No                                          
  Checking if you have IO::Handle 0 ... Yes (1.34)                                
  Checking if you have POSIX 0 ... Yes (1.32)                                     
  Checking if you have File::Which 0 ... Yes (1.09)                               
  Checking if you have Carp 0 ... Yes (1.3301)                                    
  Checking if you have Test::More 0 ... Yes (1.001003)                            
  Checking if you have File::chdir 0 ... Yes (0.1008)                             
  Checking if you have Data::Dumper 0 ... Yes (2.151)                             
  Checking if you have Exporter::Tidy 0 ... Yes (0.07)                            
  Checking if you have File::Spec 0 ... Yes (3.40)                                
  Checking if you have File::Temp 0 ... Yes (0.2304)                              
  Checking if you have Cwd 0 ... Yes (3.40)                                       
  ==> Found dependencies: Log::Any 

I'm guess that the parsing is expecting everything to be downloaded, instead of running cpanm on something which is already unpacked.

garu commented 8 years ago

It should be fixed in 0.15. Please reopen this is you bump into any issues. Thanks for reporting!