[
https://issues.apache.org/jira/browse/PYLUCENE-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815420#comment-17815420
]
Andi Vajda commented on PYLUCENE-65:
------------------------------------
on my rather old debian install and also on ubuntu 22.04, I get these packages
when I search for default-java
apt search default-java
Sorting... Done
Full Text Search... Done
libplexus-container-default-java/jammy 2.1.0-1 all
Plexus Inversion-of-control Container
libplexus-container-default1.5-java/jammy 2.1.0-1 all
Plexus Inversion-of-control Container (transitional package)
which java are you referring to ?
Does the fix you propose apply only to Debian and its derivatives ?
> Support the default java on debian in `setup.py`.
> -------------------------------------------------
>
> Key: PYLUCENE-65
> URL: https://issues.apache.org/jira/browse/PYLUCENE-65
> Project: PyLucene
> Issue Type: Improvement
> Reporter: A. Coady
> Priority: Major
>
> On debian, the `default-java` package does not have `jre/lib/amd64` in its
> path, so it breaks the `linux/x86_64` build. The `temurin` flags have the
> correct paths, so one easy fix would be to change the [temurin
> check|https://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/setup.py?revision=1900087&view=markup#l194]
> to:
> {code:python}
> if 'temurin' in JDK['linux'] or 'default' in JDK['linux']:
> {code}
> That would also support `linux/aarch64` without any further changes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)