Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 953277

Summary: rawhide build of glibc fails due to fatal error from nss3/hasht.h
Product: [Fedora] Fedora Reporter: Patsy Griffin <pfrankli>
Component: nss-utilAssignee: Elio Maldonado Batiz <emaldona>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: emaldona, fweimer, kengert, pfrankli, rrelyea, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nss-util-3.15-0.1.fc20.beta1.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-10 23:58:20 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 Patsy Griffin 2013-04-17 19:57:52 UTC
Description of problem:

rawhide build of glibc fails with this warning:

In file included from conftest.c:12:0:
  /usr/include/nss3/hasht.h:9:21: fatal error: prtypes.h: No such file
or directory
    #include "prtypes.h"    

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

rawhide

How reproducible:

every time

Steps to Reproduce:
1. fedpkg clone glibc
2. cd glibc
3. fedpkg prep
4. fedpkg srpm
5. mock -r fedora-rawhide-x86_64 <srpm from #4>
  
Actual results:

In file included from conftest.c:12:0:
  /usr/include/nss3/hasht.h:9:21: fatal error: prtypes.h: No such file
or directory
    #include "prtypes.h"    

Expected results:

successful build

Additional info:

nss-util-3.14's hasht.h does not include "prtypes.h" and thus doesn't cause any problems.

nss-util-3.15's hasht.h includes "prtypes.h" which lives in /usr/include/nspr4.  Either the include should be "nspr4/prtypes.h" or anything which includes hasht.h will need to have a suitable -I argument so that it can find prtypes.h which seems like a bit of a pain. 

From Elio Maldonado:
I think not including prtypes.h from hast.t, as we had before, is a better a better solution. It compiles without including the header, both via the fedora build system and with also upstream.

Comment 1 Jaroslav Reznik 2013-09-17 07:54:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20