← Back to issue list

Don't error out if font cache generation fails. This can cause

View original Github issue

Metadata

Project
snapcraft
Number
#3439
Type
pull request
State
merged
Author
kenvandine
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3439 as commit f5f6ed6fe, allowing desktop installs to continue when fc-cache fails; cache generation is deferred until app launch.

Resolution: closed resolved

Reason: PR #3439 was merged as f5f6ed6fe. It adds a non-fatal fallback to the configure hook's fc-cache command, preserving set -e for other errors while allowing installation to succeed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

installation to fail on some systems. - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3439 as commit f5f6ed6fe, allowing desktop installs to continue when fc-cache fails; cache generation is deferred until app launch.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#3439 via f5f6ed6fe: desktop installs now tolerate fc-cache failures and defer cache generation to app launch.
qwen/qwen3.6-35b-a3b — — Merged a one-line fix preventing installation failures when font cache generation fails. The configure hook now handles errors gracefully, allowing installation to succeed and deferring cache creation to app launch.
qwen3.6-35b-a3b-mtp-q6 — — Merged. The configure hook now gracefully handles font cache generation failures instead of aborting installation. This prevents setup failures on systems without system fonts, like Ubuntu Core, by deferring cache creation to app launch.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.