-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
When I try to run fpm for the Inline::CPP software on CPAN, it gets partway through the process and then hangs. If you just look at the output, you will think it is waiting for info about Parse::RecDescent, but I put a bunch of checkpoints in the code and it is actually getting well past that.
$ fpm --no-cpan-test --cpan-verbose --verbose --debug-workspace --workdir /home/wbraswell/rperl_packager_tmp/ -t rpm -s cpan Inline::CPP
...
LOTS OF OUTPUT HERE
...
Installing /home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/cpan/lib/perl5/Test2/Formatter/TAP.pm {:level=>:info}
Appending installation info to /home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/cpan/lib/perl5/x86_64-linux-thread-multi/perllocal.pod {:level=>:info}
OK {:level=>:info}
Successfully installed Test-Simple-1.302136 (upgraded from 0.98) {:level=>:info}
Installing /home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/cpan/lib/perl5/x86_64-linux-thread-multi/.meta/Test-Simple-1.302136/install.json {:level=>:info}
Installing /home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/cpan/lib/perl5/x86_64-linux-thread-multi/.meta/Test-Simple-1.302136/MYMETA.json {:level=>:info}
<== Installed dependencies for /home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/module. Finishing. {:level=>:info}
9 distributions installed {:level=>:info}
Asking metacpan about a module {:module=>"Carp", :level=>:info}
Asking metacpan about a module {:module=>"Inline", :level=>:info}
Asking metacpan about a module {:module=>"Inline::C", :level=>:info}
Asking metacpan about a module {:module=>"Parse::RecDescent", :level=>:info}
This is the line where it actually freezes:
https://github.com/jordansissel/fpm/blob/master/lib/fpm/package/cpan.rb#L242-L246
This is the command which is actually frozen:
$ perl -Mlocal::lib=/home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/cpan Makefile.PL PREFIX=/usr/local INSTALL_BASE=
If we run this command directly, we see it is interactive and is waiting on user input!
$ cd /home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/module
$ perl -Mlocal::lib=/home/wbraswell/rperl_packager_tmp/package-cpan-build-2cb511583273a27fa85f246094e26472cffc43fbd51a5581c969ecf4aa93/cpan Makefile.PL PREFIX=/usr/local INSTALL_BASE=
What C++ compiler would you like to use? [g++ -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++]
What default libraries would you like to include? [-lstdc++]
Detected <iostream> style headers. ('.h' not needed.)
Generating a Unix-style Makefile
Writing Makefile for Inline::CPP
Writing MYMETA.yml and MYMETA.json
I'm not sure how to handle this just yet, let me know if you have any solutions, thanks! :-)
Metadata
Metadata
Assignees
Labels
No labels