[DRE-maint] Bug#685239: ruby-pkg-config: /usr/lib/ruby/vendor_ruby/pkg-config.rb:91:in `search_pkg_config_by_dln_find_exe': undefined method `size' for nil:NilClass (NoMethodError)

shawn shawn at jengr.tk
Sat Aug 18 17:36:51 UTC 2012


Package: ruby-pkg-config
Version: 1.1.2-1
Severity: serious
Tags: patch upstream
Justification: renders package unusable

I converted my ruby binding to use ruby-pkg-config, because I take it that
when ruby is converted to multi-arch, ruby-pkg-config might bring multi-arch
cross-building support, which pkg-config-cross is currently broken, and requires
calling by FQN. This problem didn't happen on a full Precise system, only a cowbuilder
debian sid chroot.

It also appears to be fixed upstream

https://github.com/rcairo/pkg-config/commit/fe7d4ce2974b7727989951cc198019df04503658

/usr/lib/ruby/vendor_ruby/pkg-config.rb:91:in `search_pkg_config_by_dln_find_exe': undefined method `size' for nil:NilClass (NoMethodError)
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:52:in `guess_native_pkg_config'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:30:in `native_pkg_config'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:287:in `guess_default_path'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:105:in `initialize'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:338:in `new'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:338:in `package_config'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:353:in `libs_only_l'
	from extconf.rb:5
	from /usr/lib/ruby/vendor_ruby/1.8/rubygems/ext/ext_conf_builder.rb:16:in `build'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:62:in `build_and_install'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:61:in `chdir'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:61:in `build_and_install'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:75:in `build_all_extensions'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:72:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:72:in `build_all_extensions'
	from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:88
/usr/lib/ruby/vendor_ruby/gem2deb.rb:29:in `run': [/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb ruby-kyotocabinet failed!] (Gem2Deb::CommandFailed)
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:144:in `block in install_files_and_build_extensions'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:142:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:142:in `install_files_and_build_extensions'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:97:in `install'
	from /usr/bin/dh_ruby:63:in `block (2 levels) in <main>'
	from /usr/lib/ruby/1.9.1/optparse.rb:1360:in `call'
	from /usr/lib/ruby/1.9.1/optparse.rb:1360:in `block in parse_in_order'
	from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `catch'
	from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `parse_in_order'
	from /usr/lib/ruby/1.9.1/optparse.rb:1341:in `order!'
	from /usr/lib/ruby/1.9.1/optparse.rb:1432:in `permute!'
	from /usr/lib/ruby/1.9.1/optparse.rb:1453:in `parse!'
	from /usr/bin/dh_ruby:67:in `<main>'


-- System Information:
Debian Release: wheezy
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: armel (armv5tel)

Kernel: Linux 3.4.0-tomoyo-00006-gfd64aac (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-pkg-config depends on:
ii  ruby                          4.9
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-1

ruby-pkg-config recommends no packages.

ruby-pkg-config suggests no packages.



More information about the Pkg-ruby-extras-maintainers mailing list