Bug 1149208

Summary: botan-config-1.10 --cflags doesn't work
Product: [Fedora] Fedora Reporter: Petr Spacek <pspacek>
Component: botanAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: rdieter, thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: botan-1.10.9-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-09 09:43: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:

Description Petr Spacek 2014-10-03 14:02:56 UTC
Description of problem:
$ botan-config-1.10 --cflags
-I//include/botan-1.10

Apparently, this path is not correct and it breaks e.g. SoftHSM build.


Version-Release number of selected component (if applicable):
botan-devel-1.10.8-1.fc20.x86_64

How reproducible:
100 %

Comment 1 Thomas Moschny 2014-10-06 05:23:13 UTC
Unfortunately I cannot reproduce that on my F20 installation:

$ botan-config-1.10 --cflags      
-I/usr/include/botan-1.10

Can you run "sh -x botan-config-1.10 --cflags" and post the output?

Comment 2 Thomas Moschny 2014-10-06 05:25:50 UTC
Hm, seems that this is caused by a different path:

$ PATH=/bin:/usr/bin botan-config-1.10 --cflags 
-I//include/botan-1.10

I will ask upstream about it.

Comment 3 Thomas Moschny 2014-10-06 05:57:13 UTC
See https://github.com/randombit/botan/issues/29

Comment 4 Rex Dieter 2015-01-13 22:40:36 UTC
Fix landed upstream, part of this commit:

https://github.com/randombit/botan/commit/62ff505146cac307ca751109297332035bdc8b73

In short, it takes out the guessing and replaces with 

prefix=%{prefix}

Comment 5 Fedora Update System 2015-02-26 19:08:47 UTC
botan-1.10.9-4.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/botan-1.10.9-4.el7

Comment 6 Fedora Update System 2015-02-26 19:08:54 UTC
botan-1.10.9-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/botan-1.10.9-4.fc20

Comment 7 Fedora Update System 2015-02-26 19:09:03 UTC
botan-1.10.9-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/botan-1.10.9-4.fc21

Comment 8 Fedora Update System 2015-03-09 08:29:40 UTC
botan-1.10.9-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-03-09 08:32:36 UTC
botan-1.10.9-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-03-15 00:58:56 UTC
botan-1.10.9-4.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.