Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946503 - dev-python/pyqt6-webengine-6.8.0 - [texlive] [meson] Wheel build failed
Summary: dev-python/pyqt6-webengine-6.8.0 - [texlive] [meson] Wheel build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-15 14:29 UTC by Toralf Förster
Modified: 2024-12-15 18:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.41 KB, text/plain)
2024-12-15 14:29 UTC, Toralf Förster
Details
dev-python:pyqt6-webengine-6.8.0:20241215-140916.log (dev-python:pyqt6-webengine-6.8.0:20241215-140916.log,5.09 KB, text/plain)
2024-12-15 14:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,135.64 KB, text/plain)
2024-12-15 14:29 UTC, Toralf Förster
Details
environment (environment,170.44 KB, text/plain)
2024-12-15 14:29 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-15 14:29 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.87 KB, application/x-xz)
2024-12-15 14:29 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,42.63 KB, application/x-xz)
2024-12-15 14:29 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.49 KB, application/x-xz)
2024-12-15 14:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-12-15 14:29:36 UTC
Querying qmake about your Qt installation...
/usr/lib64/qt6/bin/qmake -query
These bindings will be built: QtWebEngineCore, QtWebEngineQuick.
Generating the QtWebEngineCore bindings...
__main__.py: /var/tmp/portage/dev-python/pyqt6-webengine-6.8.0/work/PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/QtWebEngineCoremod.sip: line 28: column 9: 'QtWebChannel/QtWebChannelmod.sip' could not be found
 * ERROR: dev-python/pyqt6-webengine-6.8.0::gentoo failed (compile phase):
 *   Wheel build failed
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241211-101504

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
  >=app-text/dvisvgm-2024
  >=app-text/ps2pkm-1.8_p20240311
  >=app-text/texlive-2024
  >=app-text/texlive-core-2024
  >=dev-libs/kpathsea-6.4.0
  >=dev-libs/ptexenc-1.4.6
  dev-python/latexrestricted
  >=dev-tex/biber-2.20
  >=dev-tex/biblatex-3.20
  >=dev-tex/bibtexu-3.72_p20240311
  >=dev-tex/glossaries-4.55
  dev-tex/latex2pydata
  >=dev-tex/latexmk-4.85
  >=dev-tex/minted-3.4.0
  >=dev-tex/tex4ht-20240311
  >=dev-texlive/texlive-basic-2024
  >=dev-texlive/texlive-bibtexextra-2024
  >=dev-texlive/texlive-binextra-2024
  >=dev-texlive/texlive-context-2024
  >=dev-texlive/texlive-fontsextra-2024
  >=dev-texlive/texlive-fontsrecommended-2024
  >=dev-texlive/texlive-fontutils-2024
  >=dev-texlive/texlive-formatsextra-2024
  >=dev-texlive/texlive-games-2024
  >=dev-texlive/texlive-humanities-2024
  >=dev-texlive/texlive-langarabic-2024
  >=dev-texlive/texlive-langchinese-2024
  >=dev-texlive/texlive-langcjk-2024
  >=dev-texlive/texlive-langcyrillic-2024
  >=dev-texlive/texlive-langczechslovak-2024
  >=dev-texlive/texlive-langenglish-2024
  >=dev-texlive/texlive-langeuropean-2024
  >=dev-texlive/texlive-langfrench-2024
  >=dev-texlive/texlive-langgerman-2024
  >=dev-texlive/texlive-langgreek-2024
  >=dev-texlive/texlive-langitalian-2024
  >=dev-texlive/texlive-langjapanese-2024
  >=dev-texlive/texlive-langkorean-2024
  >=dev-texlive/texlive-langother-2024
  >=dev-texlive/texlive-langpolish-2024
  >=dev-texlive/texlive-langportuguese-2024
  >=dev-texlive/texlive-langspanish-2024
  >=dev-texlive/texlive-latex-2024
  >=dev-texlive/texlive-latexextra-2024
  >=dev-texlive/texlive-latexrecommended-2024
  >=dev-texlive/texlive-luatex-2024
  >=dev-texlive/texlive-mathscience-2024
  >=dev-texlive/texlive-metapost-2024
  >=dev-texlive/texlive-music-2024
  >=dev-texlive/texlive-pictures-2024
  >=dev-texlive/texlive-plaingeneric-2024
  >=dev-texlive/texlive-pstricks-2024
  >=dev-texlive/texlive-publishers-2024
  >=dev-texlive/texlive-xetex-2024

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.5
llvm-config: 19.1.5
Python 3.12.8
go version go1.23.4 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.83.0
  [2]   rust-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 3cc6a99b54659edeff51d3e462e52fba2849a21a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 15 13:05:17 2024 +0000

    2024-12-15 13:05:16 UTC

emerge -qpvO =dev-python/pyqt6-webengine-6.8.0
[ebuild  N    ] dev-python/pyqt6-webengine-6.8.0  USE="quick -debug -widgets" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-12-15 14:29:37 UTC
Created attachment 914095 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-15 14:29:38 UTC
Created attachment 914096 [details]
dev-python:pyqt6-webengine-6.8.0:20241215-140916.log
Comment 3 Toralf Förster gentoo-dev 2024-12-15 14:29:39 UTC
Created attachment 914097 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-12-15 14:29:41 UTC
Created attachment 914098 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-12-15 14:29:42 UTC
Created attachment 914099 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-15 14:29:43 UTC
Created attachment 914100 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-15 14:29:44 UTC
Created attachment 914101 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-15 14:29:45 UTC
Created attachment 914102 [details]
temp.tar.xz
Comment 9 Ionen Wolkens gentoo-dev 2024-12-15 17:02:18 UTC
Can't reproduce so far, thought it may be broken with USE="quick -widgets" which is the reverse of the defaults, but "seems" fine.

Unless I'm missing something, it's probably a edge case, so I'll look more only later.
Comment 10 Ionen Wolkens gentoo-dev 2024-12-15 18:05:15 UTC
For a guess, PyQt_WebChannel feature probably got turned off for some reason, despite QtWebEngine hard depends on it. Could be a side of effect of qtwebengine[-widgets] or something (not tried), or maybe qtwebchannel got broken for some reason.

It normally wouldn't fail to build given most imports are guarded behind a PyQt_WebChannel conditional, but that one is not.
Comment 11 Ionen Wolkens gentoo-dev 2024-12-15 18:43:16 UTC
Ah wait, I forgot PyQt6 has its own USE=webchannel, always had that enabled because qutebrowser depends on it.

And then pyqt6-webengine only depends on pyqt6[webchannel] if USE=widgets, this makes sense now.
Comment 12 Larry the Git Cow gentoo-dev 2024-12-15 18:52:59 UTC
The bug has been closed via the following commit(s):

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

commit 70a79dac0b5b7f6295bb04660a38a520158af2bc
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-12-15 18:46:03 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-12-15 18:51:05 +0000

    dev-python/pyqt6-webengine: always depend on pyqt6[webchannel]
    
    Technically it could be made optional by controlling the feature,
    but the code path appears barely tested and it wouldn't skip a
    dependency given qtwebengine also hard depends on qtwebchannel
    currently.
    
    At best it could be interesting to not have to set USE=webchannel
    on PyQt6, but well.
    
    Skip revbump given about all users will have USE=widgets because
    calibre and qutebrowser both requests it set.
    
    Closes: https://bugs.gentoo.org/946503
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-python/pyqt6-webengine/pyqt6-webengine-6.7.0.ebuild               | 4 ++--
 dev-python/pyqt6-webengine/pyqt6-webengine-6.8.0.ebuild               | 4 ++--
 dev-python/pyqt6-webengine/pyqt6-webengine-6.8.0_pre2411020930.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)