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 1239520

Summary: gccxml: FTBFS in rawhide: redefinition of 'floor_log2'
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
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: mattias.ellert, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/gccxml/gccxml/issues/11
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:37 UTC Type: ---
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: 1239338, 1263206    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Fix none

Description Dennis Gilmore 2015-07-05 20:57:33 UTC
Your package gccxml failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=10090075

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Comment 1 Dennis Gilmore 2015-07-05 20:57:39 UTC
Created attachment 1046878 [details]
build.log

Comment 2 Dennis Gilmore 2015-07-05 20:57:40 UTC
Created attachment 1046879 [details]
root.log

Comment 3 Dennis Gilmore 2015-07-05 20:57:40 UTC
Created attachment 1046880 [details]
state.log

Comment 4 Jan Kurik 2015-07-15 13:42:48 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 5 Petr Pisar 2015-09-15 08:12:37 UTC
It fails whhile building:

/builddir/build/BUILD/gccxml-0.9.0-20140718/GCC/gcc/toplev.c:546:1: error: redefinition of 'floor_log2'
 floor_log2 (unsigned HOST_WIDE_INT x)
 ^
In file included from /builddir/build/BUILD/gccxml-0.9.0-20140718/GCC/gcc/toplev.c:59:0:
/builddir/build/BUILD/gccxml-0.9.0-20140718/GCC/gcc/toplev.h:174:1: note: previous definition of 'floor_log2' was here
 floor_log2 (unsigned HOST_WIDE_INT x)
 ^
/builddir/build/BUILD/gccxml-0.9.0-20140718/GCC/gcc/toplev.c:581:1: error: redefinition of 'exact_log2'
 exact_log2 (unsigned HOST_WIDE_INT x)
 ^
In file included from /builddir/build/BUILD/gccxml-0.9.0-20140718/GCC/gcc/toplev.c:59:0:
/builddir/build/BUILD/gccxml-0.9.0-20140718/GCC/gcc/toplev.h:180:1: note: previous definition of 'exact_log2' was here
 exact_log2 (unsigned HOST_WIDE_INT x)
 ^
GCC/gcc/CMakeFiles/backend.dir/build.make:4167: recipe for target 'GCC/gcc/CMakeFiles/backend.dir/toplev.c.o' failed
make[2]: *** [GCC/gcc/CMakeFiles/backend.dir/toplev.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/builddir/build/BUILD/gccxml-0.9.0-20140718'

Comment 6 Petr Pisar 2015-09-15 10:25:07 UTC
Created attachment 1073563 [details]
Fix

This patch allows to build gccxml with GCC 5.1.

However, tests do not pass because gccxml does not provide configuration for GCC 5.1 (./GCC_XML/Support/GCC). Upstream stopped developing gccxml <https://github.com/gccxml/gccxml/issues/11#issuecomment-108042431>.

I think this package should be retired.

Comment 7 Mattias Ellert 2015-09-16 09:04:05 UTC
Yes, I agree this should be retired.

However, the replacement package castxml has not been reviewed yet.

https://bugzilla.redhat.com/show_bug.cgi?id=1212835

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

Comment 9 Fedora Update System 2015-09-25 11:20:14 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 10 Fedora Update System 2015-09-25 11:25:51 UTC
gccxml-0.9.0-0.27.20150423.git3afa8ba.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-34ec608bd3

Comment 11 Fedora Update System 2015-09-27 00:37:46 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 12 Fedora Update System 2015-09-27 00:55:32 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 13 Fedora Update System 2015-09-27 02:21:56 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 14 Fedora Update System 2015-10-03 17:41:19 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 15 Fedora Update System 2015-10-04 22:51:17 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 16 Fedora Update System 2015-10-04 23:20:19 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.