Bug 1270572

Summary: Missing BuildRequires in bind.spec
Product: [Fedora] Fedora Reporter: Quentin Armitage <quentin>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: psimerda, thozza, vonsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-12 07:25:18 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 Quentin Armitage 2015-10-11 11:46:04 UTC
Description of problem:
rpmbuild bind.spec failed

Version-Release number of selected component (if applicable):
bind-9.10.3-1

How reproducible:
Always

Steps to Reproduce:
1. Have a system without readline-devel installed
2. rpmbuild -bb SPECS/bind.spec
3.

Actual results:
missing include file readline/readline.h

Expected results:
Sucessful build of rpm packages

Additional info:
It would be helpful if the following were added to the bind.spec file:
BuildRequires:  readline-devel

Comment 1 Tomáš Hozza 2015-10-12 07:25:18 UTC
BIND builds just fine without readline-devel installed when build with mock locally or in brew.

http://koji.fedoraproject.org/koji/buildinfo?buildID=685782

I also tried to rebuild bind SRPM from rawhide locally using rpmbuild on a system without readline-devel installed and it build without errors.

Given the amount of information you provided on the error and that it actually works in the environment described in the report and also in mock and koji, I'm closing this as NOTABUG.