Skip to content

Instantly share code, notes, and snippets.

api http://127.0.0.1:5000
api_external http://127.0.0.1:5000
api_secure http://127.0.0.1:5000
api_external_secure http://127.0.0.1:5000
Attempt to reload Sub/Name.pm aborted.
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP/Mixin/HasMethods.pm line 17.
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP/Mixin/HasMethods.pm line 17.
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP.pm line 25.
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Class/MOP.pm line 25.
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose/Exporter.pm line 13.
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose/Exporter.pm line 13.
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose.pm line 18.
BEGIN failed--compilation aborted at /home/vagrant/carton/metacpan-api/lib/perl5/i686-linux/Moose.pm line 18.
Compilation failed in require at /home/vagrant/carton
Class::XSAccessor exists but failed to load with error: Perl API version v5.18.0 of Class::XSAccessor does not match v5.16.0 at /usr/local/perlbrew/perls/perl-5.16.2/lib/5.16.2/XSLoader.pm line 92.
Compilation failed in require at /home/vagrant/carton/metacpan-api/lib/perl5/Module/Runtime.pm line 317.
Installing modules using /home/vagrant/metacpan-api/cpanfile
Successfully installed version-0.9909 (upgraded from 0.99)
Successfully installed Pod-Simple-3.28 (upgraded from 3.20)
Successfully installed Safe-2.35 (upgraded from 2.31_01)
3 distributions installed
Complete! Modules were installed into /home/vagrant/carton/metacpan-api
/usr/local/perlbrew/perls/perl-5.16.2/bin/perl
export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/home/metacpan/perl5";
export PERL_MB_OPT="--install_base /home/metacpan/perl5";
export PERL_MM_OPT="INSTALL_BASE=/home/metacpan/perl5";
export PERL5LIB="/home/metacpan/perl5/lib/perl5:$PERL5LIB";
export PATH="/home/metacpan/perl5/bin:/usr/local/perlbrew/perls/perl-5.16.2/bin:$PATH";
vagrant@metacpan-dev:~/metacpan-api$ ./bin/run bin/metacpan release $MINICPAN/authors/id/
2014/12/18 13:49:04 I release: Looking for tarballs in /home/vagrant/CPAN/authors/id/
2014/12/18 13:49:04 I release: 5343 tarballs found
2014/12/18 13:49:07 I release: Processing /home/vagrant/CPAN/authors/id/A/AM/AMOSS/SGI-GL-0.2.tar.gz
2014/12/18 13:49:07 I release: Processing /home/vagrant/CPAN/authors/id/A/AM/AMOSS/SGI-FM-0.1.tar.gz
2014/12/18 13:49:08 I release: Processing /home/vagrant/CPAN/authors/id/A/AM/AMOSS/SGI-SysCalls-0.1.tar.gz
2014/12/18 13:49:08 I release: Processing /home/vagrant/CPAN/authors/id/B/BE/BENLI/DBD-QBase-0.03.tgz
2014/12/18 13:49:09 I release: Processing /home/vagrant/CPAN/authors/id/B/BJ/BJEPS/iodbc-wwwtools-0.20b.zip
2014/12/18 13:49:09 E release: /home/vagrant/CPAN/authors/id/B/BJ/BJEPS/iodbc-wwwtools-0.20b.zip is being impolite
2014/12/18 13:49:09 I release: Processing /home/vagrant/CPAN/authors/id/A/AL/ALSCH/Tk-SelFile-0.02.tar.gz
2015/01/09 12:04:07 I release: Processing /home/metacpan/CPAN/authors/id/A/AN/ANDK/Symdump-1.20.tar.gz
No handler available for type 'application/x-compress' at /home/metacpan/carton/metacpan-api/lib/perl5/Archive/Any.pm line 52.
2015/01/09 12:04:07 F release: Can't call method "is_impolite" on an undefined value
at MetaCPAN::Script::Release::import_tarball(/home/metacpan/metacpan-api/bin/../lib/MetaCPAN/Script/Release.pm:208)
at MetaCPAN::Script::Release::try {...} (/home/metacpan/metacpan-api/bin/../lib/MetaCPAN/Script/Release.pm:180)
at <eval>(/home/metacpan/carton/metacpan-api/lib/perl5/Try/Tiny.pm:81)
at Try::Tiny::try(/home/metacpan/carton/metacpan-api/lib/perl5/Try/Tiny.pm:72)
at MetaCPAN::Script::Release::run(/home/metacpan/metacpan-api/bin/../lib/MetaCPAN/Script/Release.pm:183)
at Class::MOP::Method::Wrapped::__ANON__(/home/metacpan/carton/metacpan-api/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm:50)
at MetaCPAN::Script::Release::run(/home/metacpan/carton/metacpan-api/lib/perl5/x86_64-li
andreea@bm-mc-03:/home/metacpan/metacpan-api$ sudo -u metacpan sh /home/metacpan/bin/metacpan-api-carton-exec /home/metacpan/metacpan-api/bin/metacpan release http://cpan.metacpan.org/authors/id/C/CJ/CJM/Pod-Loom-0.07.tar.gz --level debug
2015/01/30 17:06:39 D release: Connected to "127.0.0.1:9200"
2015/01/30 17:06:39 I release: Downloading http://cpan.metacpan.org/authors/id/C/CJ/CJM/Pod-Loom-0.07.tar.gz
2015/01/30 17:06:41 D release: parsing /home/metacpan/CPAN/modules/06perms.txt
2015/01/30 17:06:42 D release: parsing /home/metacpan/CPAN/modules/02packages.details.txt.gz
2015/01/30 17:06:43 I release: Processing /home/metacpan/metacpan-api/bin/../var/tmp/http/authors/id/C/CJ/CJM/Pod-Loom-0.07.tar.gz
2015/01/30 17:06:43 D release: Extracting archive to filesystem
2015/01/30 17:06:43 D release: Gathering dependencies
2015/01/30 17:06:43 D release: Found 15 dependencies
2015/01/30 17:06:43 D release: Indexing 27 files
[root@lw-mc-03 /home/metacpan/metacpan-api]# sudo -u metacpan sh /home/metacpan/bin/metacpan-api-carton-exec /home/metacpan/metacpan-api/bin/metacpan release $MINICPAN/authors/id/A/AA/AADLER
2015/03/03 15:06:12 I release: Looking for archives in /home/metacpan/CPAN/authors/id/A/AA/AADLER
2015/03/03 15:06:12 I release: 14 archives found
2015/03/03 15:06:15 I release: Processing /home/metacpan/CPAN/authors/id/A/AA/AADLER/Inline-Octave-0.10.tar.gz
2015/03/03 15:06:15 I release: Processing /home/metacpan/CPAN/authors/id/A/AA/AADLER/Inline-Octave-0.14.tar.gz
(in cleanup) [ERROR] ** ElasticSearch::Error::NoServers at /home/metacpan/carton/metacpan-api/lib/perl5/ElasticSearch/Transport.pm line 268 :
Could not retrieve a list of active servers:
[ERROR] ** ElasticSearch::Error::Connection at /home/metacpan/carton/metacpan-api/lib/perl5/ElasticSearch/Transport/HTTPTiny.pm line 75 :
Could not connect to '127.0.0.1:9200': IO::Socket::INET: connect: Connection refused
(599)
$git remote -v
origin git@github.com:CPAN-API/cpan-api.git (fetch)
origin git@github.com:CPAN-API/cpan-api.git (push)
This is to see that I connect with ssh and also I can push to my other repositories without requiring a password.
$ssh -vT git@github.com
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to github.com [192.30.252.131] port 22.