Bug 953277 - rawhide build of glibc fails due to fatal error from nss3/hasht.h
Summary: rawhide build of glibc fails due to fatal error from nss3/hasht.h
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nss-util
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elio Maldonado Batiz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-17 19:57 UTC by Patsy Griffin
Modified: 2017-10-05 09:20 UTC (History)
6 users (show)

Fixed In Version: nss-util-3.15-0.1.fc20.beta1.2
Clone Of:
Environment:
Last Closed: 2014-02-10 23:58:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1489339 0 unspecified CLOSED glibc: don't rely on downstream modification of hasht.h 2021-02-22 00:41:40 UTC

Internal Links: 1489339

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


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