FS#21673 - [ruby-pkgconfig] is broken

Attached to Project: Community Packages
Opened by Giuseppe Borzi (gborzi) - Thursday, 11 November 2010, 17:08 GMT
Last edited by Brad Fanella (cesura) - Thursday, 11 November 2010, 22:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: ruby-pkgconfig is broken. Run pacman -Ql ruby-pkgconfig and the output is

ruby-pkgconfig /cache/
ruby-pkgconfig /cache/pkg-config-1.0.7.gem
ruby-pkgconfig /doc/
ruby-pkgconfig /doc/pkg-config-1.0.7/
ruby-pkgconfig /doc/pkg-config-1.0.7/rdoc/
ruby-pkgconfig /doc/pkg-config-1.0.7/rdoc/PKGConfig.html
....
ruby-pkgconfig /gems/
ruby-pkgconfig /gems/pkg-config-1.0.7/
ruby-pkgconfig /gems/pkg-config-1.0.7/LGPL-2.1
ruby-pkgconfig /gems/pkg-config-1.0.7/NEWS
ruby-pkgconfig /gems/pkg-config-1.0.7/README.rdoc
ruby-pkgconfig /gems/pkg-config-1.0.7/Rakefile
ruby-pkgconfig /gems/pkg-config-1.0.7/extconf.rb
ruby-pkgconfig /gems/pkg-config-1.0.7/lib/
ruby-pkgconfig /gems/pkg-config-1.0.7/lib/pkg-config.rb
ruby-pkgconfig /gems/pkg-config-1.0.7/test/
ruby-pkgconfig /gems/pkg-config-1.0.7/test/run-test.rb
ruby-pkgconfig /gems/pkg-config-1.0.7/test/test_pkg_config.rb
ruby-pkgconfig /specifications/
ruby-pkgconfig /specifications/pkg-config-1.0.7.gemspec

Obviously it doesn't work to build ruby-* packages. The problem lies in the PKGBUILD file. The _gemdir variable is undefined in the package() function.

Additional info:
* package version(s) 1.0.7-2
* config and/or log files etc.


Steps to reproduce: try to rebuild any ruby package that requires ruby-pkgconfig in makedepedends.
This task depends upon

Closed by  Brad Fanella (cesura)
Thursday, 11 November 2010, 22:24 GMT
Reason for closing:  Fixed
Comment by Brad Fanella (cesura) - Thursday, 11 November 2010, 22:24 GMT
Thanks for reporting. :-) I have placed _gemdir outside of the build() function and rebuilt the package as version 1.0.7-3.

Loading...