Bug 2296502 - No error even if missing files
Summary: No error even if missing files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fonts-rpm-macros
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-09 09:03 UTC by Akira TAGOH
Modified: 2025-01-15 14:04 UTC (History)
3 users (show)

Fixed In Version: fonts-rpm-macros-2.0.5-19.fc42
Clone Of:
Environment:
Last Closed: 2025-01-15 14:04:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2024-07-09 09:03:42 UTC
Due to a typo, even if fontconfs macro points to different location, the build doesn't fail and unexpected rpm is generated.

Reproducible: Always

Actual Results:  
the build finish without any errors.

Expected Results:  
If macro is in use and points to the wrong location, build should fail.

One example for this issue: https://koji.fedoraproject.org/koji/buildinfo?buildID=2483259

spec file use %fontconfs but it points to wrong location. rpm doesn't contain any fontconfig config file due to that.

Comment 1 Akira TAGOH 2024-07-11 05:41:47 UTC
https://src.fedoraproject.org/rpms/fonts-rpm-macros/pull-request/3 will fixes this issue.

Comment 2 Fedora Update System 2025-01-15 08:38:50 UTC
FEDORA-2025-47bc596615 (fonts-rpm-macros-2.0.5-19.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-47bc596615

Comment 3 Fedora Update System 2025-01-15 14:04:58 UTC
FEDORA-2025-47bc596615 (fonts-rpm-macros-2.0.5-19.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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