thaljef / Pinto

Curate your own repository of Perl modules
https://metacpan.org/module/Pinto::Manual
66 stars 49 forks source link

Doesn't install under perl 5.22 (w/ perlbrew) #211

Closed akarelas closed 9 years ago

akarelas commented 9 years ago

Under Ubuntu 14.04 Server:

karjala@test-vm:~$ perlbrew switch perl-5.22.0
karjala@test-vm:~$ curl -L http://getpinto.stratopan.com | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   341  100   341    0     0    920      0 --:--:-- --:--:-- --:--:--   919
100  6440  100  6440    0     0    394      0  0:00:16  0:00:16 --:--:--  1875
Installing pinto into /home/karjala/opt/local/pinto
Successfully installed Module-Build-0.4203
! Installing List::MoreUtils failed. See /home/karjala/.cpanm/work/1433793762.19487/build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'List::MoreUtils' is not installed
! Bailing out the installation for Module-Build-CleanInstall-0.05.
! Installing the dependencies failed: Module 'Module::Build::CleanInstall' is not installed
! Bailing out the installation for Pinto-0.09997.
1 distribution installed
karjala@test-vm:~$ 

Looking at the output file:

karjala@test-vm:~$ less /home/karjala/.cpanm/work/1433793762.19487/build.log
Writing Makefile for List::MoreUtils
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.82 ... Yes (1.001014)
Building List-MoreUtils-0.33
cp lib/List/MoreUtils.pm blib/lib/List/MoreUtils.pm
Running Mkbootstrap for List::MoreUtils ()
chmod 644 "MoreUtils.bs"
"/home/karjala/perl5/perlbrew/perls/perl-5.22.0/bin/perl" "/home/karjala/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/ExtUtils/xsubpp"  -typemap "/home/karjala/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/ExtUtils/typemap"  MoreUtils.xs > MoreUtils.xsc && mv MoreUtils.xsc MoreUtils.c
cc -c   -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.33\" -DXS_VERSION=\"0.33\" -fPIC "-I/home/karjala/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/CORE"  -DPERL_EXT MoreUtils.c
MoreUtils.xs: In function ‘XS_List__MoreUtils_uniq’:
MoreUtils.xs:1168:6: error: ‘GIMME’ undeclared (first use in this function)
  if (GIMME == G_SCALAR) {
      ^
MoreUtils.xs:1168:6: note: each undeclared identifier is reported only once for each function it appears in
make: *** [MoreUtils.o] Error 1
-> FAIL Installing List::MoreUtils failed. See /home/karjala/.cpanm/work/1433793762.19487/build.log for details. Retry with --force to force install it.
-> FAIL Installing the dependencies failed: Module 'List::MoreUtils' is not installed
-> FAIL Bailing out the installation for Module-Build-CleanInstall-0.05.
-> FAIL Installing the dependencies failed: Module 'Module::Build::CleanInstall' is not installed
-> FAIL Bailing out the installation for Pinto-0.09997.
1 distribution installed
thaljef commented 9 years ago

So does List::MoreUtils build at all on 5.22?

thaljef commented 9 years ago

It could be that List-MoreUtils-0.33 won't work on 5.22. There aren't any results for it on CPAN Testers yet. It's probably time for me to upgrade that dependency anyway. Thanks for letting me know.

akarelas commented 9 years ago

Yes, List::MoreUtils builds and tests on 5.22

akarelas commented 9 years ago

v0.33 of the module failed to install on 5.22

thaljef commented 9 years ago

v0.33 of the module failed to install on 5.22

Right. I'm smoking Pinto with newer modules now.

thaljef commented 9 years ago

So far so good. Try building now.

akarelas commented 9 years ago

Works, with minor glitches. (I'll open a new bug for those). Thanks.