Bug 1197286

Summary: gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory
Product: [Fedora] Fedora Reporter: T.C. Hollingsworth <tchollingsworth>
Component: gccxmlAssignee: Mattias Ellert <mattias.ellert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: fatkasuvayu, mattias.ellert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gccxml-0.9.0-0.27.20150423.git3afa8ba.fc22 gccxml-0.9.0-0.27.20150423.git3afa8ba.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-03 17:41:30 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:
Attachments:
Description Flags
Minimal example demonstrating the bug none

Description T.C. Hollingsworth 2015-02-28 02:13:26 UTC
Something seems to be wrong with gccxml in Rawhide.

Trying to convert a simple "Hello, world!" application to XML results in:

$ gccxml hello.c -fxml=hello.xml
gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory
In file included from /usr/include/stdio.h:936,
                 from hello.c:1:
/usr/include/bits/stdio2.h: In function 'int sprintf(char*, const char*, ...)':
/usr/include/bits/stdio2.h:34: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int snprintf(char*, size_t, const char*, ...)':
/usr/include/bits/stdio2.h:65: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int fprintf(FILE*, const char*, ...)':
/usr/include/bits/stdio2.h:98: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int printf(const char*, ...)':
/usr/include/bits/stdio2.h:104: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int dprintf(int, const char*, ...)':
/usr/include/bits/stdio2.h:142: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int asprintf(char**, const char*, ...)':
/usr/include/bits/stdio2.h:179: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int __asprintf(char**, const char*, ...)':
/usr/include/bits/stdio2.h:187: error: '__builtin_va_arg_pack' was not declared in this scope
/usr/include/bits/stdio2.h: In function 'int obstack_printf(obstack*, const char*, ...)':
/usr/include/bits/stdio2.h:195: error: '__builtin_va_arg_pack' was not declared in this scope

I'd blame GCC5, but it seems to work just fine on F22?

Comment 1 Suvayu 2015-07-13 12:51:59 UTC
Created attachment 1051399 [details]
Minimal example demonstrating the bug

gccxml fails in a similar manner for me on F22, however on a rather complicated use case.  I'm using genreflex provided by root-reflex to generate my output.

$ /usr/bin/genreflex  B2DXFittersDict.h -s B2DXFittersDict.xml \
    -o B2DXFittersRflx.cxx --gccxmlpath=/usr/bin --quiet \
    -I/usr/include/root
gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory

B2DXFittersDict.h and B2DXFittersDict.xml are similar to the usual files needed to create reflex dictionaries for the ROOT framework.  I compiled a minimal example and attached it as a tarball.

Comment 2 Jan Kurik 2015-07-15 14:28:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

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

Comment 3 Fedora Admin XMLRPC Client 2015-09-25 09:22:33 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Update System 2015-09-25 11:20:10 UTC
castxml-0.1-0.6.20150924git552dd69.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-6eddeb8faf

Comment 5 Fedora Update System 2015-09-25 11:25:53 UTC
gccxml-0.9.0-0.27.20150423.git3afa8ba.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-359e17aba2

Comment 6 Fedora Update System 2015-09-27 00:37:48 UTC
gccxml-0.9.0-0.27.20150423.git3afa8ba.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gccxml'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-359e17aba2

Comment 7 Fedora Update System 2015-09-27 00:55:31 UTC
castxml-0.1-0.6.20150924git552dd69.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update castxml'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-6eddeb8faf

Comment 8 Fedora Update System 2015-09-27 02:21:58 UTC
gccxml-0.9.0-0.27.20150423.git3afa8ba.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gccxml'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-34ec608bd3

Comment 9 Fedora Update System 2015-10-03 17:41:14 UTC
castxml-0.1-0.6.20150924git552dd69.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-10-04 22:51:18 UTC
gccxml-0.9.0-0.27.20150423.git3afa8ba.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-10-04 23:20:21 UTC
gccxml-0.9.0-0.27.20150423.git3afa8ba.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.