Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Emmanuel Bourg Newsgroups: linux.debian.maint.java Subject: Re: packaging a java 8 program: javahelper problems Date: Mon, 28 Sep 2015 15:40:03 +0200 Message-ID: References: X-Original-To: Jonathan Dowland , debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Sep 28 13:34:04 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.4 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.198, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=/keEyT1XoBB8kMINYgRdafrqSC7A7A4NE3MffDcwA84=; b=U5UpFrwCSpdqQ6Sqv8gtCGAQ4Zom/QKB3OchMqHQoHJjhLRWYQHFCLtELkBKb0OxMQ GxmsHqfumJWQOPGo10jKt+KKiDGQ1Xk5zyJFFVtWc8brO5iKYPiqh6weWrxGsxOQEhPt vYntP4cgSDUcNIP9lEHWjf7hBj35bJm2z5pHd4V36OQ/C5qcWUwji6rIunNAge+Kp5lS RZg6P/lh+F1UcudYjo6d6ljKrq1A3hh8hGgUxMSN/elBcnA8RKnvVe6YS7JdoyAmBEmd zbu56r0KBqfW8tQU2n74fmvOIT0YbMw1kUA1K9JO6BxVQBpDHg2bykDSeTqFdykCtdm5 HKSA== X-Received: by 10.180.216.36 with SMTP id on4mr19140868wic.65.1443447230370; Mon, 28 Sep 2015 06:33:50 -0700 (PDT) Sender: robomod@news.nic.it X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/18701 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/560941BC.2050303@apache.org Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway X-Original-Date: Mon, 28 Sep 2015 15:33:48 +0200 X-Original-Message-ID: <560941BC.2050303@apache.org> X-Original-References: <20150928083241.GA8533@chew.redmars.org> X-Original-Sender: Emmanuel Bourg Xref: csiph.com linux.debian.maint.java:8387 Hi Jonathan, Le 28/09/2015 10:32, Jonathan Dowland a écrit : > I'm packaging a Java application[1] that requires Java 8. It seems at the > moment this is not possible in a policy-compliant way as javahelper can't yet > generate appropriate ${java:Depends} for 1.8 yet. (IIRC) I see you mavenized the project recently, using maven-debian-helper instead of javahelper would be a good idea. > I guess it's no problem as I can hard-code openjdk-8-* until javahelper is > updated but I suppose that's strictly against policy. We should probably rephrase the policy to allow an application to depend on a higher version of the JRE. In this case you could try depending on default-jre (>= 2:1.8) | java8-runtime, I assume it will pull openjdk-8-jre. > Can I ask what the plans/timeline are/is for javahelper to support Java 8 > apps? We are about to switch openjdk-8 as the default Java runtime. I'd like to solve the current FTBFS on openjfx before doing that. Emmanuel Bourg