[Bug 284003] www/qutebrowser: qutebrowser needs QtWebKit or QtWebEngine, but neither could be imported!

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Jan 2025 16:37:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284003

            Bug ID: 284003
           Summary: www/qutebrowser: qutebrowser needs QtWebKit or
                    QtWebEngine, but neither could be imported!
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: novel@FreeBSD.org
          Reporter: grahamperrin@gmail.com
          Assignee: novel@FreeBSD.org
             Flags: maintainer-feedback?(novel@FreeBSD.org)

Maybe comparable to closed bug 273733. 

At launch time, a dialogue: 

qutebrowser needs QtWebKit or QtWebEngine, but neither could be imported!
The errors encountered were:
QtWebKit: Unavailable with PyQt6
QtWebEngine: /usr/local/lib/qt6/libQt6Positioning.so.6: Undefined symbol
"_ZNK9QtPrivate20QPropertyBindingData21notifyObserver_helperEP20QUntypedPropertyDataP15QBindingStorage24QPropertyObserverPointerR15QVarLengthArrayI19QBindingObserverPtrLx256EE@Qt_6_PRIVATE_API"
Qt wrapper info:
PyQt6: success
PyQt5: not imported
-> selected: PyQt6 (via autoselect)

----

Below, I wondered whether isntallation of py311-qt5-webengine would make a
difference. It did not. 

grahamperrin:~ % pkg info|grep -i weben
falkon-23.08.5                 Web browser based on Webengine and Qt Framework
py311-qt6-webengine-6.7.0_1    Python bindings for the Qt6 toolkit, QtWebEngine
module
py311-webencodings-0.5.1       Character encoding aliases for legacy web
content
qt5-webengine-5.15.18p5_1      Qt 5 library to render web content
qt6-webengine-6.7.3_3          Qt 6 library to render web content
grahamperrin:~ % pkg iinfo qutebrowser PyQt
qutebrowser-3.3.1_1
py311-PyQt5-sip-12.15.0
py311-PyQt6-sip-13.8.0
py311-qt5-pyqt-5.15.11
py311-qt6-pyqt-6.7.1
grahamperrin:~ % uname -aKU
FreeBSD mowa219-gjp4-zbook-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT
main-n274692-6b82130e6c9a GENERIC-NODEBUG amd64 1500030 1500030
grahamperrin:~ % pkg -vv | grep -B 1 -e url -e priority
  FreeBSD-ports: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 2,
--
  FreeBSD-base: { 
    url             :
"pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_latest",
    enabled         : yes,
    priority        : 0,
--
  aninstaller: { 
    url             : "file:////media/aninstaller/packages/FreeBSD:14:amd64",
    enabled         : no,
    priority        : 0
--
  local-poudriere: { 
    url             : "file:///usr/local/poudriere/data/packages/main-default",
    enabled         : yes,
    priority        : 3
grahamperrin:~ % su -
Password:
root@mowa219-gjp4-zbook-freebsd:~ # pkg check -d
Checking all packages: 100%
root@mowa219-gjp4-zbook-freebsd:~ # exit
logout
grahamperrin:~ % qutebrowser
grahamperrin:~ % sudo pkg install -U py311-qt5-webengine
grahamperrin's password:
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        py311-qt5-webengine: 5.15.7 [FreeBSD-ports]

Number of packages to be installed: 1

121 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching py311-qt5-webengine-5.15.7.pkg: 100%  121 KiB 123.8kB/s    00:01 
Checking integrity... done (0 conflicting)
[1/1] Installing py311-qt5-webengine-5.15.7...
[1/1] Extracting py311-qt5-webengine-5.15.7: 100%
grahamperrin:~ % qutebrowser
grahamperrin:~ % sudo pkg autoremove 
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:

Installed packages to be REMOVED:
        webrtc-audio-processing0: 0.3.1_3

Number of packages to be removed: 1

The operation will free 3 MiB.

Proceed with deinstalling packages? [y/N]: n
grahamperrin:~ % sudo pkg delete py311-qt5-webengine
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
        py311-qt5-webengine: 5.15.7

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling py311-qt5-webengine-5.15.7...
[1/1] Deleting files for py311-qt5-webengine-5.15.7: 100%
grahamperrin:~ %

-- 
You are receiving this mail because:
You are the assignee for the bug.