[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wrong dep-wait for ruby-gnome2?

I noticed that ruby-gnome2 has a Dep-Wait on libdrm-dev, which doesn't
look right to me.

I was trying to figure out why libdrm-dev was added as a
build-dependency in ruby-gnome2/0.19.1-1.  It seems that due to
extconf-strict.patch, the package fails to build because pkg-config.rb
invokes pkg-config-list-all, which exits with en arror because:

(On GNU/Linux)
$ pkg-config --list-all 1>/dev/null
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdrm', required by 'dri', not found

$ grep drm /usr/lib/pkgconfig/dri.pc 
Requires.private: libdrm >= 2.4.3

This field should be empty on GNU/Hurd, right?  mesa already
conditionally build-depends on libdrm-dev, so I think it is a serious
bug that mesa-common-dev does not depend on libdrm-dev [!hurd-i386].
Once this is fixed, and libdrm-dev removed entirely from ruby-gnome2's
Build-Depends (should be pulled in by libgtkglext1-dev on other
archs), the package should (in theory) build fine.

Is my analysis correct?

Reply to: