Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Feature Request
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Brad Fanella (cesura)
Friday, 05 November 2010, 18:22 GMT
Reason for closing:  Fixed
Comment by Brad Fanella (cesura) - Friday, 05 November 2010, 16:58 GMT
Here's what I did:
* 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? :-)
Comment by Giuseppe Borzi (gborzi) - Friday, 05 November 2010, 17:56 GMT
Thanks!
Comment by Brad Fanella (cesura) - Friday, 05 November 2010, 18:22 GMT
Not a problem! :-) Closing.

Loading...