[
https://issues.apache.org/jira/browse/THRIFT-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670132#action_12670132
]
Kevin Clark commented on THRIFT-302:
------------------------------------
Looks like it came from krb4, and the headers imply BSD licensed:
{quote}
/*
* Copyright (c) 1995-2002 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
{quote}
> Native extension fails to build
> -------------------------------
>
> Key: THRIFT-302
> URL: https://issues.apache.org/jira/browse/THRIFT-302
> Project: Thrift
> Issue Type: Bug
> Components: Library (Ruby)
> Reporter: Esteve Fernandez
> Assignee: Esteve Fernandez
> Priority: Critical
> Attachments: ruby_ext_errors.log, thrift-302.patch,
> thrift-302_v2.patch
>
>
> The Ruby native extension fails to build in Linux (Ubuntu 8.04) due to:
> - files not ending in a newline (just a warning, but make aborts since
> extconf.rb uses -Werror)
> - strlcpy not being available in Linux. I've replaced it with strncpy,
> although it's not exactly the same. If we want to use the former, strlcpy's
> source code should be included.
> - uint8_t, uint32_t, etc. not found. I just added stdint.h to
> binary_protocol_accelerated.c
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.