FS#59727 - Packages “cmark” and “cmark-gfm” install header files in the same location

Attached to Project: Community Packages
Opened by Adrián Pérez de Castro (aperezdc) - Monday, 20 August 2018, 15:19 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 20 August 2018, 15:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: Trying to install both “cmark” and “cmark-gfm” results
in both packages trying to install their headers in the same location.
Pacman output:

Package (2) Old Version New Version Net Change Download Size

community/cmark 0.28.3-1 0,00 MiB 0,12 MiB
community/cmark-gfm 0.28.3.gfm.14-1 0,43 MiB

Total Download Size: 0,12 MiB
Total Installed Size: 1,07 MiB
Net Upgrade Size: 0,43 MiB

:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring
(2/2) checking package integrity
(2/2) loading package files
(2/2) checking for file conflicts
error: failed to commit transaction (conflicting files)
/usr/include/cmark.h exists in both 'cmark' and 'cmark-gfm'
/usr/include/cmark_export.h exists in both 'cmark' and 'cmark-gfm'
/usr/include/cmark_version.h exists in both 'cmark' and 'cmark-gfm'
Errors occurred, no packages were upgraded.

These two packages install libraries with different names, and it should be possible
to install both in parallel. I would suggest moving the headers from “/usr/include”
into “/usr/include/${pkgname}” and making sure that when building the pkg-config
“.pc” files and the “.cmake” include files include the corresponding “-I…” compiler
flag.


Additional info:
* package version(s): cmark 0.28.3-1, cmark-gfm 0.28.3.gfm.14-1
* config and/or log files etc.


Steps to reproduce:

1. Try to install both packages: pacman -Sy cmark{,-gfm}
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 20 August 2018, 15:21 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#58280 

Loading...