cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Schuller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1575) suggest avoiding broken openjdk6 on Debian as build-dep
Date Wed, 06 Oct 2010 22:34:32 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918712#action_12918712
] 

Peter Schuller commented on CASSANDRA-1575:
-------------------------------------------

Sounds reasonable.

That said, maybe the set of people who would try 'ant build' on lenny is significantly larger
than those building Debian packages with debuild. For those, a note in README might be helpful.

But again I realize this is catering to a very specific problem. Maybe it's just not worth
it.


> 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
>         Environment: Debian lenny
>            Reporter: Peter Schuller
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 0.6.6, 0.7.0
>
>         Attachments: trunk-1575.txt, Trunk1575Test.java
>
>
> 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.


Mime
View raw message