Bug 1922792 - font file update breaks arduino distribution
Summary: font file update breaks arduino distribution
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: abattis-cantarell-fonts
Version: 33
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-31 16:04 UTC by Mark Spencer
Modified: 2021-11-30 17:52 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-30 17:52:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mark Spencer 2021-01-31 16:04:08 UTC
Description of problem:
Version 0.301-1.fc33 of abattis-cantarell-fonts breaks the operation of the arduino official distribution (not the fedora packaged version).  Unfortunately the official version is required for teensyduino to be installed.  The package works fine on version 0.201

Version-Release number of selected component (if applicable):
abattis-cantarell-fonts      noarch      0.301-1.fc33

How reproducible:
100%

Steps to Reproduce:
1. Download arduino-1.8.13-linux64.tar.xz from arduino.cc with 0.201 installed
2. Verify operation
3. update to abattis-cantarell-fonts 0.301 
4. Verify menus in arduino lack any text

Actual results:
Menus lack any text making them unusuable

Expected results:
Menus would retain text as normal

Additional info:

Comment 1 Kalev Lember 2021-01-31 16:48:02 UTC
Sorry, I have no clue how it breaks Arduino. Any chance you could investigate it yourself? The font works just fine in GNOME where it's the default UI font.

Comment 2 Mark Spencer 2021-02-01 13:30:36 UTC
Is there a way to see the changelog for the package itself? It is clear something substantive happens with this font update since updating the package causes the font rendering in your running gnome session to go haywire (terminal, vs code for example). Restarting the gnome session fixed the rendering in gnome but the arduino application absolutely won't work with the font update.

Comment 3 Kalev Lember 2021-02-01 13:39:09 UTC
See https://gitlab.gnome.org/GNOME/cantarell-fonts for upstream commit log

Comment 4 Kalev Lember 2021-02-01 13:41:42 UTC
Just a random guess: Maybe arduino distribution is somehow missing regenerating fontconfig cache files on update ("/usr/bin/fc-cache -f")?

Comment 5 vishalvvr 2021-02-01 14:47:31 UTC
Same issue was reported in upstream[1] and i feel this is not a font issue.

Workaround[2] was just to rename/delete the java dir(from source tarball), This will force IDE to use system Java instead of bundled one(java version "1.8.0_191").

I was able to reproduce this issue on my f33 machine with openjdk version "11.0.9.1" installed, just deleted java dir and now it works :)

Seems like some regression in Java versions.


[1] https://github.com/arduino/Arduino/issues/11150
[2] https://github.com/arduino/Arduino/issues/11150#issuecomment-770366146

Comment 6 Ben Cotton 2021-11-04 16:10:16 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2021-11-30 17:52:51 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.