[SRU] zemberek-ooo: FTBFS: /usr/lib/libreoffice/ure-link/share/java does not exist

Bug #1508290 reported by Logan Rosen
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zemberek-ooo (Debian)
Fix Released
Unknown
zemberek-ooo (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Committed
Medium
Dan Bungert

Bug Description

[ Impact ]

zemberek-ooo fails to build in Jammy.

[ Test Plan ]

Confirm that zemberek-ooo builds.
A simple test plan of the package:
1. Install the built zemberek-ooo in Jammy
2. Run "LibreOffice Writer"
3. Open Tools->Spelling menu and confirm "Turkish" is in the dropdown menu of "Text language".
4. Write something in Turkish, and intentionally make a spelling mistake.
5. Confirm that LibreOffice Writer suggests the correct spelling.

For Step 4, we can write "Merhba", the correct spelling is "Merhaba". and LibreOffice Write should be able to correct that.

[ Where problems could occur ]

The patch is backported from Debian and the patch is not modifying any source code of the package.
It is only modifying the build files apart from bumping the debheler compat level.
So, it should not change the behaviour and has little chance of regressing the user behaviour.

[ Other Info ]

The problem exists in 1.0~rc2-10.4 and has been fixed by Debian with the version 1.0~rc2-10.5.
It has been updated on Ubuntu Lunar, Mantic and Noble. But Jammy still has the problem and the ftbfs can be seen.

[ Original Bug Description ]

Imported from Debian bug http://bugs.debian.org/802416:

Source: zemberek-ooo
Version: 1.0~rc2-10.4
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: <email address hidden>
Usertags: ftbfs
X-Debbugs-CC: <email address hidden>

Dear Maintainer,

The package fails to build:

compile-java:
    [javac] /zemberek-ooo-1.0~rc2/build.xml:60: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 11 source files to /zemberek-ooo-1.0~rc2/build/classes

BUILD FAILED
/zemberek-ooo-1.0~rc2/build.xml:167: The following error occurred while executing this line:
/zemberek-ooo-1.0~rc2/build.xml:60: /usr/lib/libreoffice/ure-link/share/java does not exist.

Total time: 0 seconds

Possibly related to https://bugs.debian.org/802402

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/zemberek-ooo.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Logan Rosen (logan)
Changed in zemberek-ooo (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
Changed in zemberek-ooo (Debian):
importance: Undecided → Unknown
Logan Rosen (logan)
Changed in zemberek-ooo (Ubuntu Wily):
importance: Undecided → High
Changed in zemberek-ooo (Debian):
status: New → Fix Released
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

The FTBFS can be seen on the package with version 1.0~rc2-10.4 which is in Jammy. It has been fixed in Debian package version 1.0~rc2-10.5, and so Lunar and Mantic are not affected.

summary: - zemberek-ooo: FTBFS: /usr/lib/libreoffice/ure-link/share/java does not
- exist
+ [SRU] zemberek-ooo: FTBFS: /usr/lib/libreoffice/ure-link/share/java does
+ not exist
description: updated
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Jammy attached.

Dan Bungert (dbungert)
no longer affects: zemberek-ooo (Ubuntu Wily)
no longer affects: zemberek-ooo (Ubuntu Xenial)
Dan Bungert (dbungert)
tags: added: block-proposed-jammy
Changed in zemberek-ooo (Ubuntu Jammy):
assignee: nobody → Dan Bungert (dbungert)
importance: Undecided → Medium
Revision history for this message
Dan Bungert (dbungert) wrote :

Uploaded, albeit with the tag "block-proposed-jammy". The wiki notes that "Usually [FTBFS] bugs should only be SRUed in conjunction with another bug fix."

https://wiki.ubuntu.com/StableReleaseUpdates

Changed in zemberek-ooo (Ubuntu Jammy):
status: New → Fix Committed
Timo Aaltonen (tjaalton)
Changed in zemberek-ooo (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

debhelper bump is unnecessary here

Revision history for this message
Steve Langasek (vorlon) wrote :

> debhelper bump is unnecessary here

It is necessary; debhelper compat level 5 is obsolete in jammy.

dh_clean: error: Compatibility levels before 7 are no longer supported (level 5 requested)

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Logan, or anyone else affected,

Accepted zemberek-ooo into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zemberek-ooo/1.0~rc2-10.4ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-jammy
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

I can confirm that the zemberek-ooo package in jammy-proposed has fixed the bug for me.

Test done:
1. confirm that the new package of libreoffice-zemberek is available in jammy-proposed which shows the FTBFS is fixed.

Tests done for functionality:
1. Enable jammy-proposed in apt sources list.
2. Install libreoffice-zemberek
3. Run "LibreOffice Writer"
4. Open Tools->Spelling menu and confirm "Turkish" is in the dropdown menu of "Text language".
5. Enable Turkish as default language in settings
6. Write "Merhba" and LibreOffice Writer suggested the correction as "Merhaba" - which is the correct spelling.

Test result: zemberek-ooo FTBFS is fixed and is also working.

Package tested:
# dpkg -l | grep libreoffice-zemberek
ii libreoffice-zemberek 1.0~rc2-10.4ubuntu1 all Turkish spell checker extension for LibreOffice

Robie Basak (racb)
tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.