Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 11098 invoked from network); 4 Oct 2010 20:29:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 20:29:56 -0000 Received: (qmail 31500 invoked by uid 500); 4 Oct 2010 20:29:56 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 31347 invoked by uid 500); 4 Oct 2010 20:29:56 -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 31307 invoked by uid 99); 4 Oct 2010 20:29:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 20:29:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 20:29:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o94KTZBR001380 for ; Mon, 4 Oct 2010 20:29:35 GMT Message-ID: <25624859.536391286224175183.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 16:29:35 -0400 (EDT) From: "Peter Schuller (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1575) suggest avoiding broken openjdk6 on Debian as build-dep In-Reply-To: <22830855.536371286224174413.JavaMail.jira@thor> 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-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Schuller updated CASSANDRA-1575: -------------------------------------- Attachment: trunk-1575.txt > suggest avoiding broken openjdk6 on Debian as build-dep > ------------------------------------------------------- > > Key: CASSANDRA-1575 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1575 > Project: Cassandra > Issue Type: Bug > Components: Packaging > Affects Versions: 0.7 beta 2 > Environment: Debian lenny > Reporter: Peter Schuller > Priority: Minor > Attachments: trunk-1575.txt > > > I ran into this myself and then today someone was reporting having the same problem on IRC; there is a packaging bug in openjdk6 in lenny: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501487 > The effect is that when ant tries to download files over SSL, it fails complaining about: > "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" > It turns out this works fine with the Sun JVM. I'm attaching a patch which makes Cassandra build on both lenny and squeeze; however, I am not sure whether other platforms may be negatively affected. The patch just requires an openjdk sufficiently new that the lenny openjdk won't quality. If there are other platforms where we do want an older openjdk, this patch might break that. > In addition, I removed the "java6-sdk" as a sufficient dependency because that resolved to openjdk-6-jdk on lenny. > I think it's a good idea to consider changing this just to decrease the initial threshold of adoption for those trying to build from source. > So: This does fix the build issue on lenny, and doesn't seem to break squeeze, but I cannot promise anything about e.g. ubuntu. > For the record, I'm also attaching a small self-contained test case which, when run, tries to download one of the offending pom files. It can be used to easily test weather the SSL download with work with a particular JVM. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.