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 1915860

Summary: FTBFS: kdebase3 (with new openexr)
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: kdebase3Assignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jreznik, kevin, rdieter, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kdebase3-3.5.10-64.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-13 21:51:29 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: 1868278    

Description Mamoru TASAKA 2021-01-13 15:08:02 UTC
Description of problem:
Currently kdebase3 FTBFS:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1668098

Actually this was trying to new openexr: openexr-2.5.4-1.fc34


Version-Release number of selected component (if applicable):
kdebase3-3.5.10-63.fc34
with
openexr-2.5.4-1.fc34

Comment 1 Mamoru TASAKA 2021-01-13 15:15:26 UTC
Just note that (although I've already deleted config.log from my local disk) config.log shows openexr 2.5.4 header complains that -std=gnu++98 is too old:

https://src.fedoraproject.org/rpms/kdebase3/blob/45e982e2d6fc2820a7230ce007854fb2401cc2d8/f/kdebase3.spec#_298

Also, after removing removing -std=gnu++98 , compilation of %{SOURCE7} fails:
https://src.fedoraproject.org/rpms/kdebase3/blob/45e982e2d6fc2820a7230ce007854fb2401cc2d8/f/kdebase3.spec#_340

... because newer C++ is rather strict with types and gnu++11 (perhaps) complains that false cannot implicitly converted to char* :
https://src.fedoraproject.org/rpms/kdebase3/blob/45e982e2d6fc2820a7230ce007854fb2401cc2d8/f/mailsettings.cc#_28

Comment 2 Kevin Kofler 2021-01-13 15:46:49 UTC
I guess I can try to build only %{SOURCE7} with -std=gnu++98? It is built by hand anyway, and it only uses C headers, nothing from OpenEXR or kdebase3.

Comment 3 Kevin Kofler 2021-01-13 15:50:34 UTC
That said, it's actually a bug in the code that should be simple to fix (a missing NULL, there should be 3, not 2, of them), I'll try fixing that first before messing with the C++ standard version.

Comment 4 Kevin Kofler 2021-01-13 21:51:29 UTC
59636092 build (rawhide, /rpms/kdebase3.git:09319090f4f34469a19301d5c679a335806b1501) completed successfully

If there are plans to push the OpenEXR upgrade to F33 (and even F32), I am fine with merging this kdebase3 fix there, but the update would have to be coordinate using a custom build tag and a grouped update. Otherwise, this will remain in Rawhide only, considering that the package builds fine on F33.