Bug 144130 - LibreOffice Base 7204 for Apple Arm - no JDBC support
Summary: LibreOffice Base 7204 for Apple Arm - no JDBC support
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: ARM macOS (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 144129 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-27 15:37 UTC by Alex Thurgood
Modified: 2022-06-22 08:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2021-08-27 15:37:15 UTC
Description:
No access to database engines which use JDBC drivers

Steps to Reproduce:
1. Load an ODB file that uses any JDBC driver to connect to its corresponding backend DB

2. Watch it fail miserably - e.g. with an error message similar to that below :
Impossible d'établir une connexion à la source de données externe. Aucun pilote SDBC n'a été trouvé pour l'URL 'jdbc:postgresql://127.0.0.1:5435/lotest'.

3. No access to JDBC driven database data

Actual Results:
See above

Expected Results:
As with the x86_64 version, database access should continue to be supported unfettered.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Mac OS X 11.5.2; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 Mike Kaganski 2021-08-27 16:20:47 UTC
This and tdf#144129 seem duplicates of tdf#144128 - why file separate bugs for non-working components that depend on Java, when it's known that Java doesn't work? :)
Comment 2 Alex Thurgood 2021-08-28 07:21:42 UTC
(In reply to Mike Kaganski from comment #1)
> This and tdf#144129 seem duplicates of tdf#144128 - why file separate bugs
> for non-working components that depend on Java, when it's known that Java
> doesn't work? :)

Because a tweet about the 7204 Arm build asked for testers and reporting of bugs. I tested and reported.

Collabora seems disinclined to invest in fixing anything related to Java and LO on Mac and I can foresee those bugs being closed as WONTFIX.

I am concerned that the LO project is keen to release for an arch where a significant proportion of functionality is missing just to keep pace with the corresponding commercial provider's offer.
Comment 3 Mike Kaganski 2021-08-28 11:02:31 UTC
(In reply to Alex Thurgood from comment #2)
> I am concerned that the LO project is keen to release for an arch where a
> significant proportion of functionality is missing just to keep pace with
> the corresponding commercial provider's offer.

Do you see "macOS (Arm)" as an option in the "Choose your operating system" drop-down? I guess no - juss as myself. Do you know why? Just because this is not yet "fully supported" - as it was explicitly told when we discussed it with cloph on IRC. The release is not "just to keep pace", but to respond to the demand and *to have testing*, without which you can't have a good quality release at some future stage.
Comment 4 Xisco Faulí 2021-09-02 13:36:08 UTC
*** Bug 144129 has been marked as a duplicate of this bug. ***
Comment 5 Christian Lohmaier 2021-09-28 12:14:06 UTC
How can you blame a java-using component for not supporting an architecture, when there is no Java runtime from Oracle (or anyone else) for those machines?

Ports from openJDK, mostly driven by Microsoft were still in early stages at the point of the 7.2 release phase...

In any case not having feature parity is one of the reasons why the apple silicon port is not flagged as officially supported, so it is not really a bug, but a known limitation.

There is now a GA release available https://github.com/microsoft/openjdk-aarch64 - but it is openJDK 16 based, and not our baseline of JDK 11 (though stated to be coming soon).

I guess with that it is worth giving it a shot again, but it's certainly not seen as a high priority/necessity for providing the apple silicon build for the regular end user...

As such confirming, but setting it to enhancement. The builds just are done without Java support for the moment.
Comment 6 Alex Thurgood 2021-09-28 14:58:43 UTC
FWIW, Oracle JDK 17 is now available :

https://download.oracle.com/java/17/latest/jdk-17_macos-aarch64_bin.dmg
Comment 7 Alex Thurgood 2021-09-28 15:26:43 UTC
FWIW, I requested a backport to 7.2 for Stephan's fix in 

https://bugs.documentfoundation.org/show_bug.cgi?id=144128#c4
Comment 8 Alex Thurgood 2022-06-22 08:11:00 UTC
This is now resolved as WFM in

Version: 7.3.4.2 / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 8; OS: Mac OS X 12.4; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

with

Oracle JDK 17