Package Details: ruby-nokogiri 1.6.8-1

Git Clone URL: https://aur.archlinux.org/ruby-nokogiri.git (read-only)
Package Base: ruby-nokogiri
Description: HTML, XML, SAX, and Reader parser
Upstream URL: http://nokogiri.org
Keywords: Gem Ruby
Licenses: MIT
Submitter: None
Maintainer: remy
Last Packager: remy
Votes: 71
Popularity: 2.729033
First Submitted: 2010-03-16 18:47
Last Updated: 2016-08-02 19:12

Latest Comments

JohnRobson commented on 2016-08-22 19:13

==> Validating source files with sha512sums...
nokogiri-1.6.8.gem ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
Building native extensions. This could take a while...
ERROR: Error installing nokogiri-1.6.8.gem:
ERROR: Failed to build gem native extension.

extconf failed, exit code 1

Gem files will remain installed in /tmp/yaourt-tmp-us/aur-ruby-nokogiri/pkg/ruby-nokogiri/usr/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8 for inspection.
Results logged to /tmp/yaourt-tmp-us/aur-ruby-nokogiri/pkg/ruby-nokogiri/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.6.8/gem_make.out
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build ruby-nokogiri.

jmartl109 commented on 2016-08-06 01:21

@ArnaudNux You need to install ruby-pkg-config. It should be a dependency (or build dependency?) of this package.

ArnaudNux commented on 2016-08-03 23:23

==> Continue building ruby-nokogiri ? [Y/n]
==> ---------------------------------------
==> y

==> Building and installing package
==> Making package: ruby-nokogiri 1.6.8-1 (Thu Aug 4 01:23:14 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading nokogiri-1.6.8.gem...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 154 100 154 0 0 154 0 0:00:01 --:--:-- 0:00:01 154
100 8933k 100 8933k 0 0 1283k 0 0:00:06 0:00:06 --:--:-- 1636k
==> Validating source files with sha512sums...
nokogiri-1.6.8.gem ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
Building native extensions. This could take a while...
ERROR: Error installing nokogiri-1.6.8.gem:
ERROR: Failed to build gem native extension.

current directory: /home/arnaud/tempo/yaourt-tmp-arnaud/aur-ruby-nokogiri/pkg/ruby-nokogiri/usr/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8/ext/nokogiri
/usr/bin/ruby -r ./siteconf20160804-26850-qcw9co.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'pkg-config' (~> 1.1.7) among 13 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/arnaud/.gem/ruby/2.3.0:/usr/lib/ruby/gems/2.3.0', execute `gem env` for more information
from /usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
from extconf.rb:112:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in /home/arnaud/tempo/yaourt-tmp-arnaud/aur-ruby-nokogiri/pkg/ruby-nokogiri/usr/lib/ruby/gems/2.3.0/gems/nokogiri-1.6.8 for inspection.
Results logged to /home/arnaud/tempo/yaourt-tmp-arnaud/aur-ruby-nokogiri/pkg/ruby-nokogiri/usr/lib/ruby/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.6.8/gem_make.out
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build ruby-nokogiri.
==> Restart building ruby-nokogiri ? [y/N]
==> --------------------------------------

jmartl109 commented on 2016-08-03 20:53

I'm still getting version incompatibility issues with ruby-mini_portile2. Just running

#!/usr/bin/ruby
require 'rubygems'
gem 'nokogiri'

produces

Could not find 'mini_portile2' (~> 2.1.0) - did find: [mini_portile2-2.2.0.rc1] (Gem::LoadError)

But if I edit /usr/lib/ruby/gems/2.3.0/specifications/nokogiri-1.6.8.gemspec and change the mini_portile2 line from "~> 2.1.0" to ">= 2.1.0", it seems to work OK.

dark-saber commented on 2016-08-03 05:40

Thanks for updating!

But this package now depends on ruby-pkg-config too.

dark-saber commented on 2016-06-16 07:35

1.6.8 is out.
Also, nokogiri now depends on ruby-mini_portile2 >= 2.1.0, so I guess these issues with mini_portile are finally solved.

manzo commented on 2016-04-22 18:25

Is mini_portile still blocking updates here?

CarstenF commented on 2016-01-21 13:26

Please switch the dependency from ruby-mini_portile to ruby-mini_portile0.6.
There is a dependency issue.
Thanks

remy commented on 2015-10-11 10:59

@flying-sheep This is because the maintainer of mini_portile is also updating the Gem to RC's. I'm only updating it with stable releases.
Also see this Github ticket for more info about mini_portile and nokogiri (https://github.com/sparklemotion/nokogiri/issues/1159)

flying-sheep commented on 2015-10-10 18:48

doesn’t work anymore due to the version of mini_portile being too high.

building this package with 1.6.7.rc3 works, but when calling "require 'nokogiri'", i get:

/usr/lib/ruby/2.2.0/rubygems.rb:198:in `rescue in try_activate': undefined method `activate' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/2.2.0/rubygems.rb:195:in `try_activate'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from generate.rb:3:in `<main>'

All comments