Bug 1423317

Summary: cuneiform: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: cuneiformAssignee: Dmitrij S. Kryzhevich <kryzhev>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: barsnick, kryzhev, mike, nerijus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cuneiform-1.1.0-25.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 11:19:20 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, 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
patch for abs errors none

Description Fedora Release Engineering 2017-02-17 03:36:18 UTC
Your package cuneiform failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17712875

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

Comment 1 Fedora Release Engineering 2017-02-17 03:36:35 UTC
Created attachment 1251699 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 03:36:38 UTC
Created attachment 1251700 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 03:36:41 UTC
Created attachment 1251701 [details]
state.log

Comment 4 Fedora End Of Life 2017-02-28 11:26:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Dmitrij S. Kryzhevich 2017-03-22 10:19:06 UTC
*** Bug 1307413 has been marked as a duplicate of this bug. ***

Comment 6 Michael Cronenworth 2017-08-25 22:01:09 UTC
Have you attempted to solve this? This package has been FTBFS for 4 Fedora releases now. It should probably be retired if you no longer wish to maintain it.

Comment 7 Michael Cronenworth 2017-08-29 15:20:38 UTC
Dmitrij, are you still involved in Fedora? Please respond.

Comment 8 Nerijus Baliƫnas 2017-08-29 20:54:10 UTC
With cuneiform-abs.patch abs errors are gone; then there is another, which disappears with -Wno-narrowing. But then:

In file included from /usr/include/c++/7/vector:60:0,
                 from /home/nerijus/rpmbuild/BUILD/cuneiform-linux-1.1.0/cuneiform_src/Kern/rfrmt/sources/main/stdafx.h:77,
                 from /home/nerijus/rpmbuild/BUILD/cuneiform-linux-1.1.0/cuneiform_src/Kern/rfrmt/sources/main/frmt.cpp:75:
/usr/include/c++/7/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)

There are min and max definitions in cuneiform_src/Kern/include/minmax.h which conflict with stl_algobase.h.

Comment 9 Nerijus Baliƫnas 2017-08-29 20:55:01 UTC
Created attachment 1319787 [details]
patch for abs errors

Comment 10 Dmitrij S. Kryzhevich 2017-08-30 02:40:55 UTC
I'm trying to dig into those build errors. Sometimes it's too not obvious for me :(

Sorry for the silence I had (and have) nothing to say specific.

Comment 11 barsnick 2017-10-02 22:44:22 UTC
Do try harder, this package hasn't built for four (four!) complete Fedora release cycles. ;-)

Do have a look at the patches Debian has created:
https://packages.debian.org/sid/cuneiform
contained in e.g.
http://http.debian.net/debian/pool/non-free/c/cuneiform/cuneiform_1.1.0+dfsg-6.debian.tar.xz

gcc-6.patch should fix this issue, but the others patches also look interesting.

Comment 12 Dmitrij S. Kryzhevich 2017-11-30 08:04:49 UTC
gcc-6 does not fix all gcc-related issues. Anyway: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c7a7eb8c51

Comment 13 Michael Cronenworth 2017-11-30 20:52:40 UTC
Thanks for looking into it.

Comment 14 Fedora Update System 2017-12-02 19:53:28 UTC
cuneiform-1.1.0-25.fc27 has been pushed to the Fedora 27 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-2017-c7a7eb8c51

Comment 15 Fedora Update System 2017-12-12 11:19:20 UTC
cuneiform-1.1.0-25.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.