Description of problem: Installation of the Ipopt-devel package adds a pkg-config file specifying incorrect include directores, i.e. $ pkg-config --cflags ipopt -I/usr/include/coin-or However, the headers are installed into /usr/include/coin/ and no /usr/include/coin-or even exists. Version-Release number of selected component (if applicable): I am using version 3.13.0-1.fc32 How reproducible: Every time Steps to Reproduce: 1. Install the coin-or-Ipopt-devel package 2. Run `pkg-config --cflags ipopt` and observe output is not a directory on the machine 3. Attempt to compile any IPOPT program Actual results: Program will fail to compile as the headers are in /usr/include/coin/ not /usr/include/coin-or/ Expected results: Successful compilation Additional info: Extracting the rpm package locally yields the file tree: usr ├── include │ └── coin │ ├── many.hpp │ ├── many.h │ ├── headers.h │ ├── ... └── lib64 ├── libipoptamplinterface.so -> libipoptamplinterface.so.3.13.0 ├── libipopt.so -> libipopt.so.3.13.0 ├── libsipopt.so -> libsipopt.so.3.13.0 └── pkgconfig ├── ipoptamplinterface.pc └── ipopt.pc And looking into the `ipopt.pc` file, we see prefix=/usr exec_prefix=/usr libdir=/usr/lib64 includedir=/usr/include/coin-or Name: IPOPT Description: Interior Point Optimizer URL: https://github.com/coin-or/Ipopt Version: 3.13.0 Libs: -L${libdir} -lipopt Libs.private: -ldmumps -lopenblas -lm -ldl Cflags: -I${includedir} Requires: Requires.private: Which clearly points to incorrect directory.
Created attachment 1688286 [details] Proposed Patch to IPOPT source Looking at it more, it appears that the IPOPT.pc is defined in the upstream source. Attached is an example patch that could fix this (I think).
FEDORA-2020-00fdec9e3d has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-00fdec9e3d
FEDORA-2020-00fdec9e3d has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-00fdec9e3d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-00fdec9e3d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-00fdec9e3d has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.