Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12198
| Path | csiph.com!eternal-september.org!reader02.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Matthias Klose <doko@debian.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: build package with source and target = java15 |
| Date | Thu, 27 May 2021 11:20:02 +0200 |
| Message-ID | <Cjklk-5Zi-7@gated-at.bofh.it> (permalink) |
| References | <CgqQh-6Kk-1@gated-at.bofh.it> |
| X-Original-To | Cyril Richard <Cyril.Richard@u-bourgogne.fr>, debian-java@lists.debian.org |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Thu May 27 09:17:00 2021 |
| Old-Return-Path | <doko@debian.org> |
| X-Amavis-Spam-Status | No, score=-7.701 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 HELO_IP_IN_CL_SUBNET=-1.2 (check from: .debian. - helo: .einhorn-mail-out.in-berlin. - helo-domain: .in-berlin.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -2.7 |
| Old-X-Envelope-From | doko@debian.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Language | en-US |
| Content-Transfer-Encoding | 7bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22826 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/8bc37e0c-81e7-72c8-b899-610a17d5f2e7@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 27 May 2021 11:16:44 +0200 |
| X-Original-Message-ID | <8bc37e0c-81e7-72c8-b899-610a17d5f2e7@debian.org> |
| X-Original-References | <1442321874.2863514.1621415203925.JavaMail.zimbra@u-bourgogne.fr> |
| Xref | csiph.com linux.debian.maint.java:12198 |
Show key headers only | View raw
On 5/19/21 11:06 AM, Cyril Richard wrote: > Hello. > > I'm trying to update my java package with pbuilder before updating it on debian. This one now uses java15. > Then, the control files: > > Build-Depends: debhelper-compat (= 13), > default-jdk, > javahelper > > does not work anymore because default-jdk stands for java11 in the SID build environment. > > I tried to replace default-jdk by openjdk-11-jdk, but I have the following error: > > make[1]: Entering directory '/build/spview-2.0.0~rc1' > jh_build --javacopts="-source 15 -target 15" --no-javadoc spview.jar sources > jh_build: error: Cannot find any JAVA_HOME: aborting > make[1]: *** [debian/rules:8: override_jh_build] Error 25 > make[1]: Leaving directory '/build/spview-2.0.0~rc1' > make: *** [debian/rules:5: binary] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 > I: copying local configuration > E: Failed autobuilding of package > > > Could someone help me to fix the issue? openjdk-15 has been removed from testing, and probably will be removed from unstable soonish. Maybe use openjdk-16, or even -17 which is likely to become the next OpenJDK LTS release. Also Emmanuel is already doing test rebuilds against 17. I don't see any setting (and exporting) of JAVA_HOME in your rules file. Matthias
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
build package with source and target = java15 Cyril Richard <Cyril.Richard@u-bourgogne.fr> - 2021-05-19 11:40 +0200
Re: build package with source and target = java15 Matthias Klose <doko@debian.org> - 2021-05-27 11:20 +0200
Re: build package with source and target = java15 Cyril Richard <Cyril.Richard@u-bourgogne.fr> - 2021-05-27 13:50 +0200
csiph-web