Bug 1433992
Summary: | Broken CFLAGS provided by the dirsrv pkgconfig file | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> | |
Component: | 389-ds-base | Assignee: | wibrown <wibrown> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 26 | CC: | edewata, mreynolds, nhosoi, nkinder, rmeggins | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | 389-ds-base-1.3.6.3-4.f26 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1434967 (view as bug list) | Environment: | ||
Last Closed: | 2017-05-04 14:51:00 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1434967 |
Description
Lukas Slebodnik
2017-03-20 13:57:48 UTC
Assigning to William since he added the pkgconfig files. Upstream ticket: https://pagure.io/389-ds-base/issue/49177 Does this build address the issues with pkgcfg? https://koji.fedoraproject.org/koji/taskinfo?taskID=18512577 It looks like it: wget https://kojipkgs.fedoraproject.org//work/tasks/2578/18512578/389-ds-base-devel-1.3.6.3-2.fc26.x86_64.rpm rpm2cpio ./389-ds-base-devel-1.3.6.3-2.fc26.x86_64.rpm| cpio -idv cat ./usr/lib64/pkgconfig/dirsrv.pc ldaplib=openldap Name: dirsrv Description: 389 Directory Server Version: 1.3.6.3 Libs: -L${libdir}//dirsrv -lslapd Cflags: -DUSE_OPENLDAP -I${includedir}//dirsrv (In reply to wibrown from comment #4) > It looks like it: > > wget > https://kojipkgs.fedoraproject.org//work/tasks/2578/18512578/389-ds-base- > devel-1.3.6.3-2.fc26.x86_64.rpm > rpm2cpio ./389-ds-base-devel-1.3.6.3-2.fc26.x86_64.rpm| cpio -idv > > cat ./usr/lib64/pkgconfig/dirsrv.pc > > ldaplib=openldap > > Name: dirsrv > Description: 389 Directory Server > Version: 1.3.6.3 > Libs: -L${libdir}//dirsrv -lslapd > Cflags: -DUSE_OPENLDAP -I${includedir}//dirsrv Aren't the %{ var } supposed to be filled in? (In reply to mreynolds from comment #5) > (In reply to wibrown from comment #4) > > It looks like it: > > > > wget > > https://kojipkgs.fedoraproject.org//work/tasks/2578/18512578/389-ds-base- > > devel-1.3.6.3-2.fc26.x86_64.rpm > > rpm2cpio ./389-ds-base-devel-1.3.6.3-2.fc26.x86_64.rpm| cpio -idv > > > > cat ./usr/lib64/pkgconfig/dirsrv.pc > > > > ldaplib=openldap > > > > Name: dirsrv > > Description: 389 Directory Server > > Version: 1.3.6.3 > > Libs: -L${libdir}//dirsrv -lslapd > > Cflags: -DUSE_OPENLDAP -I${includedir}//dirsrv > > Aren't the %{ var } supposed to be filled in? No, because pkgconfig can expand them. However they are not defined in dirsrv.pc e.g. prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: ipa_hbac Description: FreeIPA HBAC Evaluator library Version: 1.15.3 Libs: -L${libdir} -lipa_hbac Cflags: I${includedir}/ipa_hbac URL: https://pagure.io/SSSD/sssd/ So there is missing in dirsrv.pc.in (and probably others as well) prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ My fault; I didn't explain it properly in upstream ticket https://pagure.io/389-ds-base/issue/49177#comment-432430 Fixed in 389-ds-base-1.3.6.3-4 I think there is a missing bodhi update for koji build https://koji.fedoraproject.org/koji/buildinfo?buildID=871724 Right, I am going to do the fedpkg update shortly... |