Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550098 - mail-client/thunderbird-31.7.0 error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization
Summary: mail-client/thunderbird-31.7.0 error: converting to 'bool' from 'std::nullptr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 551598 (view as bug list)
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2015-05-22 02:30 UTC by Mike Gilbert
Modified: 2015-06-10 01:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (mail-client:thunderbird-31.7.0:20150522-021400.log.gz,118.40 KB, application/gzip)
2015-05-22 02:30 UTC, Mike Gilbert
Details
Resolve build failure with gcc-5.1.0 (thunderbird-gcc5.patch,6.18 KB, patch)
2015-05-22 17:37 UTC, Mike Gilbert
Details | Diff
Patch going into the tree. (thunderbird-31.7.0-gcc5-1.patch,9.44 KB, patch)
2015-06-09 21:57 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.