[DRE-maint] Bug#632323: ruby-cairo: FTBFS: /usr/lib/ruby/vendor_ruby/pkg-config.rb:233:in `parse_pc': .pc for fontconfig doesn't exist. (RuntimeError)

Christoph Egger christoph at debian.org
Fri Jul 1 12:56:29 UTC 2011


Package: src:ruby-cairo
Version: 1.10.0-2
Severity: serious
Tags: sid wheezy
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the buildds:

Building extension for ruby1.8 ...
/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb ruby-cairo
/usr/lib/ruby/vendor_ruby/1.8/rubygems/ext/builder.rb:51:in `run': extconf failed: (Gem::InstallError)

/usr/bin/ruby1.8 extconf.rb
checking for GCC... yes
checking for Win32 OS... no
checking for Mac OS X... no
checking for cairo version (>= 1.2.0)... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/bin/ruby1.8
	--with-pkg-config
	--without-pkg-config
	--with-override-variables
	--without-override-variables
/usr/lib/ruby/vendor_ruby/pkg-config.rb:233:in `parse_pc': .pc for fontconfig doesn't exist. (RuntimeError)
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:175:in `declaration'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:124:in `requires_private'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:300:in `all_required_packages'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:189:in `collect_cflags'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:128:in `cflags'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:190:in `collect_cflags'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:189:in `collect'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:189:in `collect_cflags'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:128:in `cflags'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:349:in `cflags'
	from /usr/lib/ruby/vendor_ruby/pkg-config.rb:400:in `have_package'
	from extconf.rb:69
	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/bin/ruby1.8 extconf.rb
checking for GCC... yes
checking for Win32 OS... no
checking for Mac OS X... no
checking for cairo version (>= 1.2.0)... yes
*** extconf.rb failed ***

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=ruby-cairo&arch=kfreebsd-amd64&ver=1.10.0-2&stamp=1309470296

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer

A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?





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