Skip to content

Instantly share code, notes, and snippets.

@snobear
Last active December 19, 2015 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snobear/5936060 to your computer and use it in GitHub Desktop.
Save snobear/5936060 to your computer and use it in GitHub Desktop.
fpm --debug output of perl module
me@myhost:/usr/local> fpm --debug --prefix /usr/local/perl-5.16.2 --cpan-perl-lib-path /usr/local/perl-5.16.2/lib --cpan-cpanm-bin /usr/local/perl-5.16.2/bin/cpanm --no-cpan-test -s cpan -t rpm Net::SNMP
Setting attribute {:output_type=>"rpm", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:input_type=>"cpan", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:chdir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:prefix=>"/usr/local/perl-5.16.2", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:package=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:force?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:name=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:verbose?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:debug?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:version=>1.0, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:iteration=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:epoch=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:license=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:vendor=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:category=>"none", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:dependencies=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:no_depends?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:no_auto_depends?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:provides=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:conflicts=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:replaces=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:config_files=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:directories=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:architecture=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:maintainer=>"<me@myhost>", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:package_name_suffix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:edit?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:excludes=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:description=>"no description", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:url=>"http://example.com/no-uri-given", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:inputs=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:post_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pre_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:post_uninstall=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pre_uninstall=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:after_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:before_install=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:after_remove=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:before_remove=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:template_scripts?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:template_value_list=>[], :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:workdir=>"/tmp", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_bin_path=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_package_prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_package_name_prefix=>"rubygem", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_gem=>"gem", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_fix_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_fix_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_env_shebang?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:gem_prerelease?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_ignore_iteration_in_dependencies?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_build_depends=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_pre_depends=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_compression=>"gzip", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_custom_control=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_config=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_templates=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_installed_size=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_priority=>"extra", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_user=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_group=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_changelog=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_recommends=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_suggests=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_field=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_shlibs=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_init=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_default=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:deb_upstart=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:npm_bin=>"npm", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:npm_package_name_prefix=>"node", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_use_file_permissions?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_user=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_group=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_defattrfile=>"-", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_defattrdir=>"-", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_rpmbuild_define=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_digest=>"md5", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_compression=>"gzip", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_os=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_changelog=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_sign?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_auto_add_directories?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_autoreqprov?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_autoreq?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_autoprov?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_filter_from_provides=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:rpm_filter_from_requires=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:cpan_perl_bin=>"perl", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:cpan_cpanm_bin=>"/usr/local/perl-5.16.2/bin/cpanm", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:cpan_package_name_prefix=>"perl", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:cpan_test?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:cpan_perl_lib_path=>"/usr/local/perl-5.16.2/lib", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_package_name_prefix=>"php-pear", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_channel=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_channel_update?=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_bin_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_php_bin=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_php_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:pear_data_dir=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_bin=>"python", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_easyinstall=>"easy_install", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_pip=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_pypi=>"http://pypi.python.org/simple", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_package_prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_package_name_prefix=>"python", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_fix_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_fix_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_downcase_name?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_downcase_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_install_bin=>"/usr/bin", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_install_lib=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_install_data=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_dependencies?=>true, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:python_obey_requirements_txt?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:osxpkg_identifier_prefix=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:osxpkg_payload_free?=>false, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:osxpkg_ownership=>"recommended", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:osxpkg_postinstall_action=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:osxpkg_dont_obsolete=>nil, :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:solaris_user=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Setting attribute {:solaris_group=>"root", :level=>:debug, :file=>"fpm/command.rb", :line=>"285"}
Asking metacpan about a module {:module=>"Net::SNMP", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"240"}
Downloading perl module {:distribution=>"Net-SNMP", :version=>nil, :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"212"}
Fetching perl module {:url=>"http://www.cpan.org/CPAN/authors/id/D/DT/DTOWN/Net-SNMP-v6.0.1.tar.gz", :level=>:debug, :file=>"fpm/package/cpan.rb", :line=>"221"}
Running command {:args=>["tar", "-C", "/tmp/package-cpan-build20130705-3041-erxlbw/module", "-zxf", "/tmp/package-cpan-build20130705-3041-erxlbw/Net-SNMP-v6.0.1.tar.gz", "--strip-components", "1"], :level=>:debug, :file=>"fpm/util.rb", :line=>"35"}
Process is running {:pid=>3056, :level=>:debug, :file=>"fpm/util.rb", :line=>"48"}
Setting package name from 'name' {:name=>"Net-SNMP", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"58"}
Installing any build or configure dependencies {:level=>:info, :file=>"fpm/package/cpan.rb", :line=>"73"}
Running command {:args=>["/usr/local/perl-5.16.2/bin/cpanm", "-nL", "/tmp/package-cpan-build20130705-3041-erxlbw/cpan", "/tmp/package-cpan-build20130705-3041-erxlbw/module"], :level=>:debug, :file=>"fpm/util.rb", :line=>"35"}
Process is running {:pid=>3060, :level=>:debug, :file=>"fpm/util.rb", :line=>"48"}
--> Working on /tmp/package-cpan-build20130705-3041-erxlbw/module {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
Configuring Net-SNMP-v6.0.1 ... OK {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
Building Net-SNMP-v6.0.1 ... OK {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
Successfully installed Net-SNMP-v6.0.1 {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
1 distribution installed {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
Asking metacpan about a module {:module=>"Carp", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"240"}
Asking metacpan about a module {:module=>"Errno", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"240"}
Asking metacpan about a module {:module=>"Exporter", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"240"}
Asking metacpan about a module {:module=>"IO::Socket", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"240"}
Asking metacpan about a module {:module=>"Math::BigInt", :level=>:info, :file=>"fpm/package/cpan.rb", :line=>"240"}
Running command {:args=>["perl", "-Mlocal::lib=/tmp/package-cpan-build20130705-3041-erxlbw/cpan", "Makefile.PL", "PREFIX=/usr/local/perl-5.16.2", "LIB=/usr/local/perl-5.16.2/lib", "INSTALL_BASE="], :level=>:debug, :file=>"fpm/util.rb", :line=>"35"}
Process is running {:pid=>3113, :level=>:debug, :file=>"fpm/util.rb", :line=>"48"}
Can't locate local/lib.pm in @INC (@INC contains: /usr/local/perl-5.16.2/lib/site_perl/5.16.2/x86_64-linux-thread-multi /usr/local/perl-5.16.2/lib/site_perl/5.16.2 /usr/local/perl-5.16.2/lib/5.16.2/x86_64-linux-thread-multi /usr/local/perl-5.16.2/lib/5.16.2 .). {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
BEGIN failed--compilation aborted. {:level=>:error, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
Process failed: perl failed (exit code 2). Full command was:["perl", "-Mlocal::lib=/tmp/package-cpan-build20130705-3041-erxlbw/cpan", "Makefile.PL", "PREFIX=/usr/local/perl-5.16.2", "LIB=/usr/local/perl-5.16.2/lib", "INSTALL_BASE="] {:level=>:error, :file=>"fpm/command.rb", :line=>"411"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment