Thrift
  1. Thrift
  2. THRIFT-1382

Bundle install doesnot work because thrift crashes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: Ruby - Library
    • Labels:
      None
    • Environment:

      I'm using ubuntu 11.10 using RVM.

    • Patch Info:
      Patch Available

      Description

      Error running bundle install:

      Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

      /home/developer3/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
      checking for strlcpy() in string.h... no
      creating Makefile

      make
      gcc -I. -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-linux -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -fPIC -g -O2 -Wall -Werror -o thrift_native.o -c thrift_native.c
      gcc -I. -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-linux -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -fPIC -g -O2 -Wall -Werror -o compact_protocol.o -c compact_protocol.c
      gcc -I. -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-linux -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -fPIC -g -O2 -Wall -Werror -o protocol.o -c protocol.c
      gcc -I. -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/x86_64-linux -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/backward -I/home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1 -I. -fPIC -g -O2 -Wall -Werror -o struct.o -c struct.c
      struct.c:28:1: error: static declaration of 'strlcpy' follows non-static declaration
      /home/developer3/.rvm/rubies/ruby-1.9.2-head/include/ruby-1.9.1/ruby/missing.h:157:20: note: previous declaration of 'strlcpy' was here
      make: *** [struct.o] Error 1

      Gem files will remain installed in /home/developer3/.rvm/gems/ruby-1.9.2-head@agg/gems/thrift-0.7.0 for inspection.
      Results logged to /home/developer3/.rvm/gems/ruby-1.9.2-head@agg/gems/thrift-0.7.0/ext/gem_make.out
      An error occured while installing thrift (0.7.0), and Bundler cannot continue.
      Make sure that `gem install thrift -v '0.7.0'` succeeds before bundling.

      1. thrift-1382.patch
        2 kB
        Jake Farrell
      2. thrift-1382.patch
        0.3 kB
        Jake Farrell

        Activity

        Jake Farrell made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Jake Farrell made changes -
        Patch Info Patch Available [ 10042 ]
        Fix Version/s 0.8 [ 12316293 ]
        Jake Farrell made changes -
        Attachment thrift-1382.patch [ 12501771 ]
        Jake Farrell made changes -
        Attachment thrift-1382.patch [ 12501009 ]
        Jake Farrell made changes -
        Fix Version/s 0.6 [ 12315359 ]
        Jake Farrell made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Jake Farrell [ jfarrell ]
        rodrigo dias made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 0.6 [ 12315359 ]
        Resolution Fixed [ 1 ]
        rodrigo dias created issue -

          People

          • Assignee:
            Jake Farrell
            Reporter:
            rodrigo dias
          • Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development