Bug 2166815

Summary: cmark-devel requires cmark binary for cmake target `cmark::cmark_exe`
Product: [Fedora] Fedora Reporter: Seth F <getchoo>
Component: cmarkAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cmark-0.30.3-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-03 05:12:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Seth F 2023-02-03 03:50:03 UTC
Description of problem:
cmark-devel provides cmake targets for cmark_exe, while not actually requiring the cmark executable

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


How reproducible:
always

Steps to Reproduce:
1. configure cmake project that requires `cmake::cmark_exe`
2.
3.

Actual results:
configuration fails as cmark executable can't be found

Expected results:
cmark executable is found, since a package specifying a target while not providing the files required for it is a bit counterintuitive

Additional info:
opensuse upstreamed this change: https://build.opensuse.org/request/show/936454

Comment 1 Jens Petersen 2023-02-03 05:02:53 UTC
I see, thanks - I was slightly worrying if this might be the case... hm

(In reply to Seth F from comment #0)
> cmark-devel provides cmake targets for cmark_exe, while not actually
> requiring the cmark executable

> opensuse upstreamed this change:
> https://build.opensuse.org/request/show/936454

Okay I will make the change, even though it feels somewhat wrong to me.
I wish the .cmake could decouple the executable from the library cleanly.

Comment 2 Fedora Update System 2023-02-03 05:11:25 UTC
FEDORA-2023-3ff04a8b31 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3ff04a8b31

Comment 3 Fedora Update System 2023-02-03 05:12:16 UTC
FEDORA-2023-3ff04a8b31 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.