Bug 1307665

Summary: js: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: jsAssignee: Pavel Alexeev <pahan>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: pahan, yselkowi
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: js-1.8.5-24.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-07 21:41:57 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
Fix FTBFS with C++11 (#1307665) none

Description Fedora Release Engineering 2016-02-13 21:39:58 UTC
Your package js failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-13 21:40:00 UTC
Created attachment 1125059 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:40:01 UTC
Created attachment 1125060 [details]
root.log

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

Comment 4 Jan Kurik 2016-02-24 14:49:40 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 Yaakov Selkowitz 2016-02-25 16:26:35 UTC
jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)':
jsapi.cpp:3988:16: error: cannot convert 'bool' to 'JSIdArray*' in return
         return false;
                ^~~~~

See "Cannot convert 'bool' to 'T*'" in https://gcc.gnu.org/gcc-6/porting_to.html

Comment 6 Yaakov Selkowitz 2016-03-01 02:59:41 UTC
Created attachment 1131791 [details]
Fix FTBFS with C++11 (#1307665)

Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13183585