pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49156: ruby212-patron install fails on OS X 10.9.4



>Number:         49156
>Category:       pkg
>Synopsis:       ruby212-patron install fails on OS X 10.9.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 27 02:55:00 +0000 2014
>Originator:     Amitai Schlair
>Release:        -current
>Organization:
Schmonz Enterprises
>Environment:
Darwin magnetic-babysitter.attlocal.net 13.3.0 Darwin Kernel Version 13.3.0: 
Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
>Description:
On my "Mavericks" system, with RUBY_VERSION_DEFAULT=21, www/ruby-patron 
installation fails. With RUBY_VERSION_DEFAULT=200, it installs fine.

My goal here is to install and use a gem that requires Ruby 2.1 and depends on 
the patron gem, so I'm hoping www/ruby-patron can work with lang/ruby21-base.
>How-To-Repeat:
:; cd ~/Documents/trees/pkgsrc-current/www/ruby-patron

:; make package RUBYGEM_OPTIONS=--verbose
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for patron-0.4.18.gem
=> Checksum RMD160 OK for patron-0.4.18.gem
===> Installing dependencies for ruby212-patron-0.4.18nb3
==========================================================================
The following variables will affect the build process of this package,
ruby212-patron-0.4.18nb3.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTS = /etc/pkg/openssl/certs
        * SSLDIR = /etc/pkg/openssl
        * SSLKEYS = /etc/pkg/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency ruby212-base>=2.1.2: found ruby212-base-2.1.2
=> Full dependency curl>=7.35.0nb1: found curl-7.37.1
===> Overriding tools for ruby212-patron-0.4.18nb3
===> Extracting for ruby212-patron-0.4.18nb3
Unpacked gem: 
'/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/patron-0.4.18'
===> Patching for ruby212-patron-0.4.18nb3
===> Creating toolchain wrappers for ruby212-patron-0.4.18nb3
===> Configuring for ruby212-patron-0.4.18nb3
=> Checking for portability problems in extracted files
===> Building for ruby212-patron-0.4.18nb3
=> Removing backup files of patch before build
WARNING:  licenses is empty, but is recommended.  Use a license abbreviation 
from:
http://opensource.org/licenses/alphabetical
WARNING:  open-ended dependency on bundler (>= 1.0.0, development) is not 
recommended
  if bundler is semantically versioned, use:
    add_development_dependency 'bundler', '~> 1.0', '>= 1.0.0'
WARNING:  open-ended dependency on rake-compiler (>= 0.7.5, development) is not 
recommended
  if rake-compiler is semantically versioned, use:
    add_development_dependency 'rake-compiler', '~> 0.7', '>= 0.7.5'
WARNING:  open-ended dependency on rspec (>= 2.3.0, development) is not 
recommended
  if rspec is semantically versioned, use:
    add_development_dependency 'rspec', '~> 2.3', '>= 2.3.0'
WARNING:  open-ended dependency on rcov (>= 0.9.9, development) is not 
recommended
  if rcov is semantically versioned, use:
    add_development_dependency 'rcov', '~> 0.9', '>= 0.9.9'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: patron
  Version: 0.4.18
  File: patron-0.4.18.gem
=> Unwrapping files-to-be-installed.
===> Installing for ruby212-patron-0.4.18nb3
=> Generating pre-install file lists
=> Installing gem into installation root
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/.autotest
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/.gitignore
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/.rspec
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/Gemfile
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/Gemfile.lock
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/LICENSE
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/README.txt
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/Rakefile
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron/.gitignore
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron/extconf.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron/membuffer.c
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron/membuffer.h
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron/session_ext.c
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron/sglib.h
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/error.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/proxy_type.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/request.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/response.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/session.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/util.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/lib/patron/version.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/patron.gemspec
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/pic.png
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/script/console
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/script/test_server
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/patron_spec.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/request_spec.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/response_spec.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/session_spec.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/spec_helper.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/support/test_server.rb
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/spec/util_spec.rb
Building native extensions.  This could take a while...
/usr/.pkg-20140314/bin/ruby212 extconf.rb
checking for curl-config... yes
checking for rb_thread_blocking_region()... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling membuffer.c
compiling session_ext.c
session_ext.c:547:20: warning: 'rb_thread_blocking_region' is deprecated 
[-Wdeprecated-declarations]
  ret = (CURLcode) rb_thread_blocking_region(
                   ^
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.buildlink/include/ruby-2.1.2/ruby/intern.h:870:18:
 note: 'rb_thread_blocking_region' declared here
DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void 
*data1,
                 ^
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.buildlink/include/ruby-2.1.2/x86_64-darwin13/ruby/config.h:114:52:
 note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
1 warning generated.
linking shared-object patron/session_ext.bundle
make: exec() failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in 
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18/ext/patron
ERROR:  Error installing 
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/patron-0.4.18/patron-0.4.18.gem:
        ERROR: Failed to build gem native extension.

    Building has failed. See above output for more information on the failure.
make failed, exit code 1

Gem files will remain installed in 
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/gems/patron-0.4.18
 for inspection.
Results logged to 
/Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron/work.magnetic-babysitter/.inst/usr/.pkg-20140314/lib/ruby/gems/2.1.2/extensions/x86_64-darwin-13/2.1.2/patron-0.4.18/gem_make.out
*** Error code 1

Stop.
bmake: stopped in /Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron
*** Error code 1

Stop.
bmake: stopped in /Users/schmonz/Documents/trees/pkgsrc-current/www/ruby-patron

>Fix:
None known. I couldn't figure out how to get the build to show me what was 
being passed to exec().



Home | Main Index | Thread Index | Old Index