Bug 1635706

Summary: Ubuntu requires #include <iniparser/iniparser.h> but on Fedora, this won't work
Product: [Fedora] Fedora Reporter: ell1e <el>
Component: iniparserAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: jaromir.capik, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/ndevilla/iniparser/issues/98
Whiteboard:
Fixed In Version: iniparser-4.0-8.20160821git.fc28 iniparser-4.0-8.20160821git.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-18 02:56:45 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 ell1e 2018-10-03 14:14:47 UTC
Description of problem:
Ubuntu requires #include <iniparser/iniparser.h> but on Fedora, this won't work because it packages the header to /usr/include/iniparser.h instead of /usr/include/iniparser/iniparser.h as Ubuntu does.

Could you maybe figure out with the Ubuntu maintainer some consistent way of packaging this? Otherwise, people won't be able to use this library without some advanced cmake/autotools detection on both systems, which is a bit annoying.

Version-Release number of selected component (if applicable):
iniparser-devel-4.0-7.20160821git.fc28.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install iniparser on Fedora, libiniparser-dev on Ubuntu
2. Try #include <iniparser.h> and #include <iniparser/iniparser.h> on both

Actual results:
One of those includes works on Fedora, the other on Ubuntu. There is no approach that works for both.

Expected results:
Include path on Fedora and Ubuntu is the same

Additional info:

Comment 1 ell1e 2018-10-03 14:15:37 UTC
Alternatively, an additional packaged symlink /usr/include/iniparser/iniparser.h -> /usr/include/iniparser.h would make a world of a difference here.

Comment 2 Fedora Update System 2018-11-08 08:55:40 UTC
iniparser-4.0-8.20160821git.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f4b75ae56a

Comment 3 Fedora Update System 2018-11-08 08:55:48 UTC
iniparser-4.0-8.20160821git.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a22f6dfe4f

Comment 4 Fedora Update System 2018-11-09 07:44:38 UTC
iniparser-4.0-8.20160821git.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a22f6dfe4f

Comment 5 Fedora Update System 2018-11-09 07:49:48 UTC
iniparser-4.0-8.20160821git.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f4b75ae56a

Comment 6 Fedora Update System 2018-11-18 02:56:45 UTC
iniparser-4.0-8.20160821git.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2018-11-18 03:55:18 UTC
iniparser-4.0-8.20160821git.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.