Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550098

Summary: mail-client/thunderbird-31.7.0 error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: [OLD] GCC PortingAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal CC: jackdachef, tdalman
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536984    
Attachments: build log
Resolve build failure with gcc-5.1.0
Patch going into the tree.

Description Mike Gilbert gentoo-dev 2015-05-22 02:30:41 UTC
Created attachment 403738 [details]
build log

I think this is a gcc5-related failure.

/tmp/portage/mail-client/thunderbird-31.7.0/work/comm-esr31/mozilla/js/src/builtin/TypedObject.cpp: In static member function 'static bool js::ArrayMetaTypeDescr::construct(JSContext*, unsigned int, JS::Value*)':
/tmp/portage/mail-client/thunderbird-31.7.0/work/comm-esr31/mozilla/js/src/builtin/TypedObject.cpp:713:16: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]
         return nullptr;
                ^
Comment 1 Mike Gilbert gentoo-dev 2015-05-22 02:33:39 UTC
It's covered here.

https://gcc.gnu.org/gcc-5/porting_to.html
Comment 2 Mike Gilbert gentoo-dev 2015-05-22 17:37:08 UTC
Created attachment 403774 [details, diff]
Resolve build failure with gcc-5.1.0

Here a patch to resolve the build failure.
Comment 3 Matt 2015-06-09 20:44:47 UTC
*** Bug 551598 has been marked as a duplicate of this bug. ***
Comment 4 Jory A. Pratt gentoo-dev 2015-06-09 21:57:15 UTC
Created attachment 404840 [details, diff]
Patch going into the tree.

I will get this added within the next few hours.
Comment 5 Matt 2015-06-09 23:00:13 UTC
(In reply to Jory A. Pratt from comment #4)
> Created attachment 404840 [details, diff] [details, diff]
> Patch going into the tree.
> 
> I will get this added within the next few hours.

Thank you =)
Comment 6 Jory A. Pratt gentoo-dev 2015-06-10 01:32:54 UTC
I have finished committing give servers time to sync and emerge at will. Thanks for the push been sitting on it for a week or so.