Bug 1635706 - Ubuntu requires #include <iniparser/iniparser.h> but on Fedora, this won't work
Summary: Ubuntu requires #include <iniparser/iniparser.h> but on Fedora, this won't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: iniparser
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robin Lee
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/ndevilla/iniparser...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-03 14:14 UTC by ell1e
Modified: 2018-11-18 03:55 UTC (History)
2 users (show)

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:
Clone Of:
Environment:
Last Closed: 2018-11-18 02:56:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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