Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727948 - dev-python/PyQtWebEngine-5.15.0 - sipQtWebEngineWidgetsQWebEngineCertificateError.cpp:372:99: error: ‘CertificateKnownInterceptionBlocked’ is not a member of ‘QWebEngineCertificateError’
Summary: dev-python/PyQtWebEngine-5.15.0 - sipQtWebEngineWidgetsQWebEngineCertificateE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 734372
  Show dependency tree
 
Reported: 2020-06-11 15:47 UTC by Francesco Turco
Modified: 2020-07-31 04:58 UTC (History)
2 users (show)

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


Attachments
info.txt (info.txt,5.69 KB, text/plain)
2020-06-11 15:49 UTC, Francesco Turco
Details
build.log (build.log,45.90 KB, text/plain)
2020-06-11 15:49 UTC, Francesco Turco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2020-06-11 15:47:56 UTC
I cannot build dev-python/PyQtWebEngine-5.15.0 on my ~amd64 Gentoo system due to the following error:

> /var/tmp/portage/dev-python/PyQtWebEngine-5.15.0/work/PyQtWebEngine-5.15.0-python2_7/QtWebEngineWidgets/sipQtWebEngineWidgetsQWebEngineCertificateError.cpp:372:99: error: ‘CertificateKnownInterceptionBlocked’ is not a member of ‘QWebEngineCertificateError’
>   372 |     {sipName_CertificateKnownInterceptionBlocked, static_cast<int>( ::QWebEngineCertificateError::CertificateKnownInterceptionBlocked), 3},
>       |                                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I currently have the following packages installed:
- dev-python/PyQt5-sip-4.19.23
- dev-python/sip-4.19.23

This problem seems to be similar to bug #727752.
Comment 1 Francesco Turco 2020-06-11 15:49:13 UTC
Created attachment 644392 [details]
info.txt

emerge --info
Comment 2 Francesco Turco 2020-06-11 15:49:32 UTC
Created attachment 644394 [details]
build.log
Comment 3 Nick 2020-06-15 04:30:09 UTC
I had the same error with dev-qt/qtcore and dev-qt/qtwebengine at 5.14.*, but =dev-python/PyQtWebEngine-5.15.0 builds successfully for me when I bump dev-qt/* to 5.15.0.

Right now RDEPEND is:

RDEPEND="
        ${PYTHON_DEPS}
        >=dev-python/PyQt5-5.14[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}]
        >=dev-python/PyQt5-sip-4.19.22:=[${PYTHON_USEDEP}]
        dev-qt/qtcore:5
        dev-qt/qtwebengine:5[widgets]
"

I suspect that this should instead specify >=dev-qt/qtcore-5.15.0, >=dev-qt/qtwebengine-5.15.0, >=dev-python/PyQt5-5.15.0
Comment 4 Francesco Turco 2020-07-30 08:33:45 UTC
I still have:
- dev-python/PyQt5-5.15.0
- dev-python/PyQt5-sip-4.19.23
- dev-python/PyQtWebEngine-5.15.0
- dev-python/sip-4.19.23

But I cannot reproduce this bug anymore.
Now dev-python/PyQtWebEngine-5.15.0 builds fine.
Comment 5 Davide Pesavento gentoo-dev 2020-07-30 16:40:04 UTC
(In reply to Francesco Turco from comment #4)
> But I cannot reproduce this bug anymore.
> Now dev-python/PyQtWebEngine-5.15.0 builds fine.
Did you upgrade dev-qt/qtwebengine from 5.14.x to 5.15.0?
Comment 6 Francesco Turco 2020-07-30 18:46:52 UTC
(In reply to Davide Pesavento from comment #5)
> Did you upgrade dev-qt/qtwebengine from 5.14.x to 5.15.0?

Yes, I know have dev-qt/qtwebengine-5.15.0 installed on my system.
Comment 7 Francesco Turco 2020-07-30 18:49:56 UTC
s/know/now/
Comment 8 Larry the Git Cow gentoo-dev 2020-07-31 04:58:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b38d009ccd5186e6608bd0dee4078a2c9258e5

commit c2b38d009ccd5186e6608bd0dee4078a2c9258e5
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2020-07-31 04:57:42 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2020-07-31 04:58:05 +0000

    dev-python/PyQtWebEngine: bump to 5.15.1 snapshot
    
    Closes: https://bugs.gentoo.org/727948
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-python/PyQtWebEngine/Manifest                                       | 2 +-
 ...ebEngine-5.15.0.ebuild => PyQtWebEngine-5.15.1_pre2006110847.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)