Bug 1956246 - ghostscript package has broken DroidSansFallback symlink , font is now DroidSansFallbackFull.ttf
Summary: ghostscript package has broken DroidSansFallback symlink , font is now DroidS...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ghostscript
Version: 34
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Anna Khaitovich
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-03 09:58 UTC by skierpage
Modified: 2021-05-03 09:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description skierpage 2021-05-03 09:58:17 UTC
Description of problem:
After a `dnf system-upgrade` to Fedora 34, I ran `sudo symlinks -r /usr | grep dangling` as recommended by https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/

this reports the dangling (broken) symlink
    dangling: /usr/share/ghostscript/Resource/CIDFSubst/DroidSansFallback.ttf -> /usr/share/fonts/google-droid-sans-fonts/DroidSansFallback.ttf

Version-Release number of selected component (if applicable): 9.53.3

How reproducible:
I only have the one computer running Fedora.

Steps to Reproduce:
1. upgrade to Fedora 34
2. Run `symlinks -r /usr/share/ghostscript | grep dangling` or just `ls -lL /usr/share/ghostscript/Resource/CIDFSubst/`

Actual results:
cannot access '/usr/share/ghostscript/Resource/CIDFSubst/DroidSansFallback.ttf': No such file or directory

Expected results:
The packages should cooperate to avoid broken symlinks.

Additional info:

I think the font is now named /usr/share/fonts/google-droid-sans-fonts/DroidSansFallbackFull.ttf , note "Full" on the end, provided by the package google-droid-sans-fonts-20200215-9.fc34.noarch. I don't know which end of the symlink should be updated. It might be created in the ghostscript.spec file with the line

ln -fs %{google_droid_fontpath}/DroidSansFallback.ttf %{buildroot}%{_datadir}/%{name}/Resource/CIDFSubst/DroidSansFallback.ttf

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