Bug 1307706

Summary: kyotocabinet: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: kyotocabinetAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: anto.trande, casey.dahlin, redhat-bugzilla
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kyotocabinet-1.2.76-11.fc24 kyotocabinet-1.2.76-11.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-27 10:18:40 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: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2016-02-13 21:45:06 UTC
Your package kyotocabinet failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-13 21:45:08 UTC
Created attachment 1125179 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:45:10 UTC
Created attachment 1125180 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 21:45:11 UTC
Created attachment 1125181 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 14:51:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Antonio T. (sagitter) 2016-08-08 17:14:32 UTC
New attempting to reach maintainer.

Comment 6 Robert Scheck 2016-08-08 17:27:34 UTC
Antonio, I am unfortunately lacking a hint how to solve this build failure.

Comment 7 Antonio T. (sagitter) 2016-08-08 18:00:55 UTC
I have tried this patch from OpenSuse folks; it's working with GCC6 but i don't know if it just bypasses the issue:

https://build.opensuse.org/package/view_file/devel:libraries:c_c++/kyotocabinet/gcc6-fix-errors.patch

Scratch build on rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=15177617

Comment 8 Upstream Release Monitoring 2016-08-14 19:28:12 UTC
robert's kyotocabinet-1.2.76-11.fc26 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=791688

Comment 9 Fedora Update System 2016-08-14 21:58:32 UTC
kyotocabinet-1.2.76-11.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-17bddc2e74

Comment 10 Fedora Update System 2016-08-16 05:56:49 UTC
kyotocabinet-1.2.76-11.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-17bddc2e74

Comment 11 Fedora Update System 2016-08-18 03:50:47 UTC
kyotocabinet-1.2.76-11.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-08-20 17:53:08 UTC
kyotocabinet-1.2.76-11.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-aae701b8b0

Comment 13 Fedora Update System 2016-08-21 19:52:30 UTC
kyotocabinet-1.2.76-11.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-aae701b8b0

Comment 14 Fedora Update System 2016-08-27 10:18:35 UTC
kyotocabinet-1.2.76-11.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Robert Scheck 2017-02-12 15:02:23 UTC
Antonio, the patch from openSUSE was not good: It indeed made the package
building with GCC >= 6 at that time, but now breaks with GCC >= 7 again.

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/7OS7EDKLZDY27C6777O6HE2QMF7YU3X7/
says that "This code is invalid in C++11 and GCC doesn't compile it anymore 
(pointer conversions are only allowed for an integral-literal and not a
character literal)."

But the patch at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811627
is working with both, switching with kyotocabinet-1.2.76-13 now.