Bug 1149208 - botan-config-1.10 --cflags doesn't work
Summary: botan-config-1.10 --cflags doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: botan
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-03 14:02 UTC by Petr Spacek
Modified: 2015-03-15 00:58 UTC (History)
2 users (show)

Fixed In Version: botan-1.10.9-4.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-09 09:43:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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