Summary: | dev-qt/qtwebengine-5.7.1-r1 with GCC 7: error: ‘mojo::ScopedMessagePipeHandle {aka class mojo::ScopedHandleBase<mojo::MessagePipeHandle>}’ has no member named ‘Pass’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fhede <fhede71> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fturco, hendrik, jrmalaq, mitaspiotr, orodruinlair, regboxemg |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugreports.qt.io/browse/QTBUG-59776 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 617524 | ||
Attachments: |
qtwebengine-5.7.1-gcc-7-p1.patch
qtwebengine-5.7.1-gcc-7-p2.patch |
Description
fhede
2017-05-08 21:20:07 UTC
error: ‘mojo::ScopedMessagePipeHandle {aka class mojo::ScopedHandleBase<mojo::MessagePipeHandle>}’ has no member named ‘Pass’ handle_ = other.handle_.Pass(); Looks more like this https://bugreports.qt.io/browse/QTBUG-59776 *** Bug 618082 has been marked as a duplicate of this bug. *** Created attachment 472498 [details, diff]
qtwebengine-5.7.1-gcc-7-p1.patch
Workaround is to save the 2 patches obtained by hacking the patched applied by upstream to the directory:
/etc/portage/patches/dev-qt/qtwebengine-5.7.1-r1/
Created attachment 472500 [details, diff]
qtwebengine-5.7.1-gcc-7-p2.patch
Second patch (both patches are required).
Patches proposed by Mark Wright above do work for me. emerge --info Portage 2.3.5 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-7.1.0, glibc-2.24-r1, 4.4.67 x86_64) ================================================================= System uname: Linux-4.4.67-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.3 KiB Mem: 16358284 total, 5276984 free KiB Swap: 0 total, 0 free sh bash 4.4_p12 ld GNU ld (Gentoo 2.27 p1.0) 2.27 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.1-r1::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo dev-util/cmake: 3.8.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.26.1::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r3::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.27::gentoo sys-devel/gcc: 5.4.0-r3::gentoo, 6.3.0::gentoo, 7.1.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r1::gentoo *** Bug 618212 has been marked as a duplicate of this bug. *** The attached patches work for me. Thanks. In overlay: https://gitweb.gentoo.org/proj/qt.git/commit/?id=8a778f2b0396c2f4415d92bc688ec8fc55d83991 |