Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6276A18BAB for ; Thu, 21 Jan 2016 10:43:40 +0000 (UTC) Received: (qmail 25335 invoked by uid 500); 21 Jan 2016 10:43:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 25298 invoked by uid 500); 21 Jan 2016 10:43:40 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 25287 invoked by uid 99); 21 Jan 2016 10:43:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2016 10:43:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0AD722C1F5B for ; Thu, 21 Jan 2016 10:43:40 +0000 (UTC) Date: Thu, 21 Jan 2016 10:43:40 +0000 (UTC) From: "Malte Pickhan (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8927) Mark libjna-java + libjna-jni as incompatible in debian package 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/CASSANDRA-8927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15110408#comment-15110408 ] Malte Pickhan commented on CASSANDRA-8927: ------------------------------------------ I'm not really sure if it's a good idea to override kernel libraries? > Mark libjna-java + libjna-jni as incompatible in debian package > --------------------------------------------------------------- > > Key: CASSANDRA-8927 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8927 > Project: Cassandra > Issue Type: Bug > Components: Packaging > Environment: Debian > Reporter: Robert Stupp > Assignee: Michael Shuler > Priority: Minor > Fix For: 3.0.x > > > Current Debian (Wheezy) might bring {{libjna-java}} in version 3.2.7-4, which has incompatible {{libjnadispatch.so}} because since C* 2.1 we use JNA 4.0.0 (the native stuff changed): > jna.jar includes all binaries for all supported platforms - so there's no need for libjna installed separately. > Since CASSANDRA-8714 has been committed, the incompatibility manifests in {{java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native}} (which is caused by outdated libjna-java installed via apt). > Note: Debian jessie adds new package {{libjna-jni}} (4.1.0-1) in addition to {{libjna-java}} (4.1.0-1) - both contain the {{libjnidispatch.so}}. Although these seem to work, we might hit the same issue when there's a need to upgrade JNA to 4.2.x sometime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)