FS#21607 - ruby-* packages may not build correctly
Attached to Project:
Community Packages
Opened by Giuseppe Borzi (gborzi) - Friday, 05 November 2010, 01:38 GMT
Last edited by Brad Fanella (cesura) - Friday, 05 November 2010, 18:22 GMT
Opened by Giuseppe Borzi (gborzi) - Friday, 05 November 2010, 01:38 GMT
Last edited by Brad Fanella (cesura) - Friday, 05 November 2010, 18:22 GMT
|
Details
Description: The various ruby-* packages built from
ruby-gtk2 don't compile unless one runs "gem install
pkg-config" as root before building them. Or, one need to
install ruby-pkgconfig from AUR before building. In case the
build fails, makepkg doesn't detect the failure and will
make an empty package.
There are two alternative solutions to this problem: 1) put ruby-pkgconfig in Community and add it to makedepends; 2) check that the required binary has been built and in case of failure return 1, like this (from my AUR package ruby-gconf): if [ ! -e gconf/src/gconf2.so ]; then msg 'Build failed, perhaps you need to run gem install pkg-config as root' return 1 fi Also, it would be nice if you could build ruby-gtk2 and ruby-pango while ruby-rcairo is installed in the building system. This avoids problems ruby scripts that use cairo and pango code. Additional info: * package version(s) 0.90.5-1 * config and/or log files etc. Steps to reproduce: |
This task depends upon
* Uploaded ruby-cairo and ruby-pkgconfig to [community]
* Added ruby-pkgconfig as a dep for all ruby-* packages
* Rebuilt all packages with ruby-cairo installed and made it a makedep for ruby-gtk2 and ruby-pango
Is that sufficient? :-)