You are not logged in.

#1 2012-02-14 20:18:50

dgbaley27
Member
Registered: 2011-07-22
Posts: 47

help building ruby package: ruby-gherkin

I need ruby-gherkin[1] so I took over the orphaned package[2]. The build is failing with:

Fetching: trollop-1.16.2.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing gherkin-2.2.7.gem:
	ERROR: Failed to build gem native extension.

        /usr/bin/ruby extconf.rb
checking for main() in -lc... yes
creating Makefile

make
compiling gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors

make: *** [gherkin_lexer_ar.o] Error 1


Gem files will remain installed in /home/matt/ruby-gherkin/pkg/usr/lib/ruby/gems/1.9.1/gems/gherkin-2.2.7 for inspection.
Results logged to /home/matt/ruby-gherkin/pkg/usr/lib/ruby/gems/1.9.1/gems/gherkin-2.2.7/ext/gherkin_lexer_ar/gem_make.out

I've tried building this with and with gem --ignore-dependencies. It fails both ways. However, if I do gem install --user-install gherkin, everything works fine. I would think I need some makedepends for other ruby packages, but removing --ignore-dependencies doesn't fix the issue...

Thanks!

[1] http://rubygems.org/gems/gherkin
[2] https://aur.archlinux.org/packages.php?ID=47491

Offline

#2 2012-02-14 20:33:22

dgbaley27
Member
Registered: 2011-07-22
Posts: 47

Re: help building ruby package: ruby-gherkin

Never mind, I had a typo in the version number for gherkin itself. Move along.

Offline

Board footer

Powered by FluxBB