Return-Path: X-Original-To: apmail-thrift-dev-archive@www.apache.org Delivered-To: apmail-thrift-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 309D171F7 for ; Tue, 1 Nov 2011 13:41:54 +0000 (UTC) Received: (qmail 53604 invoked by uid 500); 1 Nov 2011 13:41:54 -0000 Delivered-To: apmail-thrift-dev-archive@thrift.apache.org Received: (qmail 53578 invoked by uid 500); 1 Nov 2011 13:41:53 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 53570 invoked by uid 99); 1 Nov 2011 13:41:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 13:41:53 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 13:41:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6092F32C262 for ; Tue, 1 Nov 2011 13:41:32 +0000 (UTC) Date: Tue, 1 Nov 2011 13:41:32 +0000 (UTC) From: "Jake Farrell (Updated) (JIRA)" To: dev@thrift.apache.org Message-ID: <573543593.45730.1320154892397.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1420415283.7660.1317991409663.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (THRIFT-1382) Bundle install doesnot work because thrift crashes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/THRIFT-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jake Farrell updated THRIFT-1382: --------------------------------- Attachment: thrift-1382.patch Moves strlcpy from struct.c into its own file and strlcpy.c > Bundle install doesnot work because thrift crashes > -------------------------------------------------- > > Key: THRIFT-1382 > URL: https://issues.apache.org/jira/browse/THRIFT-1382 > Project: Thrift > Issue Type: Bug > Components: Ruby - Library > Affects Versions: 0.7 > Environment: I'm using ubuntu 11.10 using RVM. > Reporter: rodrigo dias > Assignee: Jake Farrell > Priority: Blocker > Attachments: thrift-1382.patch, thrift-1382.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira