Bug 1240241

Summary: expat-devel does not ship nametab.h
Product: [Fedora] Fedora Reporter: Dmitrij S. Kryzhevich <kryzhev>
Component: expatAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jorton
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-07-06 12:36:50 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:
Bug Depends On:    
Bug Blocks: 1076796    

Description Dmitrij S. Kryzhevich 2015-07-06 10:22:06 UTC
Description of problem:

tDOM require expat. While building, it uses expat.h and nametab.h headers. Both were bundled along with full expat library, what is wrong. expat.h is shipped by expat-devel but nametab.h - not.

How reproducible:
Try to build tDOM without bundled expat library.

Actual results:
In file included from ./generic/xmlsimple.c:69:0:
./generic/dom.h:249:30: fatal error:nametab.h: No such file or directory
compilation terminated.

Expected results:
Building complete.

Comment 1 Joe Orton 2015-07-06 12:36:50 UTC
nametab.h is not part of the expat public API, it's an internal interface.

$ head -1 expat-2.1.0/lib/nametab.h 
static const unsigned namingBitmap[] = {
...
^ note, static.

Comment 2 Dmitrij S. Kryzhevich 2015-07-07 03:38:39 UTC
Yes, static.
S.o tDOM have to use bundled one.