Skip to content

Conversation

@nim65s
Copy link
Contributor

@nim65s nim65s commented Aug 27, 2025

webengine is optional:

extensions/PythonQt_QtAll/PythonQt_QtAll.pro
24:  qtHaveModule(webenginewidgets):CONFIG += PythonQtWebEngineWidgets

So disable it by default to fix build
following #435067

edit: while here, let's get a Qt6 version, where qtwebengine is still maintained.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Aug 27, 2025
@nim65s
Copy link
Contributor Author

nim65s commented Aug 27, 2025

While here, add Qt6 support, where qtwebengine is available

@nixpkgs-ci nixpkgs-ci bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Aug 27, 2025
@ofborg ofborg bot added the ofborg-internal-error Ofborg encountered an error label Aug 27, 2025
@nim65s nim65s force-pushed the pythonqt branch 2 times, most recently from 92bbb2f to 095c6f8 Compare August 27, 2025 21:12
@ofborg ofborg bot removed the ofborg-internal-error Ofborg encountered an error label Aug 27, 2025
@nim65s nim65s changed the title python-qt: disable vulnerable qtwebengine by default python-qt: disable vulnerable qtwebengine by default, add Qt6 support Aug 28, 2025
@nim65s
Copy link
Contributor Author

nim65s commented Aug 28, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 437521
Commit: d720239cc3c630e3c1fbcae2df046b551d845f5f


x86_64-linux

⏩ 1 package marked as broken and skipped:
  • csound-qt
✅ 18 packages built:
  • gepetto-viewer (python313Packages.gepetto-viewer)
  • gepetto-viewer-corba (python313Packages.gepetto-viewer-corba)
  • gepetto-viewer-corba.doc (python313Packages.gepetto-viewer-corba.doc)
  • gepetto-viewer.bin (python313Packages.gepetto-viewer.bin)
  • gepetto-viewer.dev (python313Packages.gepetto-viewer.dev)
  • gepetto-viewer.doc (python313Packages.gepetto-viewer.doc)
  • kdePackages.python-qt (python313Packages.python-qt-qt6, qt6Packages.python-qt)
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.gepetto-gui
  • python312Packages.gepetto-viewer
  • python312Packages.gepetto-viewer-corba
  • python312Packages.gepetto-viewer-corba.doc
  • python312Packages.gepetto-viewer.bin
  • python312Packages.gepetto-viewer.dev
  • python312Packages.gepetto-viewer.doc
  • python312Packages.python-qt
  • python312Packages.python-qt-qt6
  • python313Packages.gepetto-gui

aarch64-darwin

✅ 16 packages built:
  • gepetto-viewer (python313Packages.gepetto-viewer)
  • gepetto-viewer-corba (python313Packages.gepetto-viewer-corba)
  • gepetto-viewer-corba.doc (python313Packages.gepetto-viewer-corba.doc)
  • gepetto-viewer.bin (python313Packages.gepetto-viewer.bin)
  • gepetto-viewer.dev (python313Packages.gepetto-viewer.dev)
  • gepetto-viewer.doc (python313Packages.gepetto-viewer.doc)
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.gepetto-gui
  • python312Packages.gepetto-viewer
  • python312Packages.gepetto-viewer-corba
  • python312Packages.gepetto-viewer-corba.doc
  • python312Packages.gepetto-viewer.bin
  • python312Packages.gepetto-viewer.dev
  • python312Packages.gepetto-viewer.doc
  • python312Packages.python-qt
  • python313Packages.gepetto-gui

@nim65s nim65s marked this pull request as ready for review August 28, 2025 08:41
@nix-owners nix-owners bot requested review from hlolli and natsukium August 28, 2025 08:43
@nim65s
Copy link
Contributor Author

nim65s commented Aug 28, 2025

cc @hlolli @LordGrimmauld

@LordGrimmauld
Copy link
Contributor

I wonder if we should default to the qt6 version instead...

@LordGrimmauld
Copy link
Contributor

Ah wait its broken on darwin on qt6, fair enough to keep it on qt5 for now then. I don't particularly like staying on qt5, but so be it.

@nim65s
Copy link
Contributor Author

nim65s commented Aug 28, 2025

I am considering to do this in several steps:

  1. add Qt6 opt-in here
  2. add Qt6 opt-in in all its reverse dependencies (eg. osgqt: add Qt6 support #437594, which is a dependency of one reverse-dependency…), or document when it is not feasible
  3. switch default to Qt6
  4. drop Qt5 where possible

@nim65s nim65s mentioned this pull request Sep 1, 2025
13 tasks
@nim65s nim65s changed the title python-qt: disable vulnerable qtwebengine by default, add Qt6 support python-qt: disable vulnerable Qt5 webengine by default, add Qt6 support Sep 4, 2025
@nim65s nim65s changed the title python-qt: disable vulnerable Qt5 webengine by default, add Qt6 support python-qt: disable vulnerable Qt5 webengine by default, add Qt6 support, clean, adopt Sep 8, 2025
Copy link
Contributor

@SigmaSquadron SigmaSquadron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commits and diff looks good. Also builds properly on Linux.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 8, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 23, 2025
@SuperSandroBot
Copy link

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 437521
Commit: 7fdf0e1fe64ee3e6c4a47a2198431a30b5f9fa9e (subsequent changes)
Merge: b2c5bea168c20f7890f2757ea5f22a09dc47b192

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/18750165433


x86_64-linux

⏩ 1 package marked as broken and skipped:
  • csound-qt
❌ 16 packages failed to build:
  • gepetto-viewer (python313Packages.gepetto-viewer)
  • gepetto-viewer-corba (python313Packages.gepetto-viewer-corba)
  • gepetto-viewer-corba.doc (python313Packages.gepetto-viewer-corba.doc)
  • gepetto-viewer.bin (python313Packages.gepetto-viewer.bin)
  • gepetto-viewer.dev (python313Packages.gepetto-viewer.dev)
  • gepetto-viewer.doc (python313Packages.gepetto-viewer.doc)
  • kdePackages.python-qt (python313Packages.python-qt-qt6, qt6Packages.python-qt)
  • python312Packages.gepetto-gui
  • python312Packages.gepetto-viewer
  • python312Packages.gepetto-viewer-corba
  • python312Packages.gepetto-viewer-corba.doc
  • python312Packages.gepetto-viewer.bin
  • python312Packages.gepetto-viewer.dev
  • python312Packages.gepetto-viewer.doc
  • python312Packages.python-qt-qt6
  • python313Packages.gepetto-gui
✅ 2 packages built:
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.python-qt

Error logs: `x86_64-linux`
gepetto-viewer
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/65pcx2hvpma1ca0jkiilpnj6cx8dnc4g-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/la8rvvyaj5ygkc2h5inaw7jlfl8m0n60-gepetto-viewer-6.0.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/la8rvvyaj5ygkc2h5inaw7jlfl8m0n60-gepetto-viewer-6.0.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/la8rvvyaj5ygkc2h5inaw7jlfl8m0n60-gepetto-viewer-6.0.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/qwgs45s7672hsva5a881z88iz0d4n3h6-gepetto-viewer-6.0.0-doc/share/doc/gepetto-viewer -DCMAKE_INSTALL_INFODIR=/nix/store/6rlyv9svx2zkx9182rzfvbfd9w4rxig0-gepetto-viewer-6.0.0-bin/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/6rlyv9svx2zkx9182rzfvbfd9w4rxig0-gepetto-viewer-6.0.0-bin/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/9wky85qrg2ji61xq1fyqfy1jdsmixw8h-gepetto-viewer-6.0.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/6rlyv9svx2zkx9182rzfvbfd9w4rxig0-gepetto-viewer-6.0.0-bin/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/6rlyv9svx2zkx9182rzfvbfd9w4rxig0-gepetto-viewer-6.0.0-bin/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/la8rvvyaj5ygkc2h5inaw7jlfl8m0n60-gepetto-viewer-6.0.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/x8mydcgbry214s802nzvy7fdljx404ym-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/x8mydcgbry214s802nzvy7fdljx404ym-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/x8mydcgbry214s802nzvy7fdljx404ym-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/la8rvvyaj5ygkc2h5inaw7jlfl8m0n60-gepetto-viewer-6.0.0 -DBUILD_PY_QCUSTOM_PLOT:BOOL=TRUE -DBUILD_PY_QGV:BOOL=TRUE
-- JRL cmakemodules found on system at /nix/store/hx3jj62avhc45s8njqbij2ydy8xak52j-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules
CMake Error at /nix/store/hx3jj62avhc45s8njqbij2ydy8xak52j-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules/base.cmake:145 (message):
  JRL-CMakemodules require CMake >= 3.22.  Please update your main
  'cmake_minimum_required'
Call Stack (most recent call first):
  CMakeLists.txt:59 (include)

-- Configuring incomplete, errors occurred!

kdePackages.python-qt
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |                ^~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:508:1: error: return type specified for 'operator std::string_view {aka std::basic_string_view<char>}'
  508 | QByteArray  PythonQtWrapper_QByteArray::operator std :: string_view(QByteArray* theWrappedObject) const
      | ^~~~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:508:13: error: 'PythonQtWrapper_QByteArray::operator std::string_view(QByteArray*) const' must have no arguments
  508 | QByteArray  PythonQtWrapper_QByteArray::operator std :: string_view(QByteArray* theWrappedObject) const
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp:3:
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:154:4: error: return type specified for 'operator std::string_view {aka std::basic_string_view<char>}'
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |    ^~~~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:154:16: error: 'PythonQtWrapper_QByteArray::operator std::string_view(QByteArray*) const' must have no arguments
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |                ^~~~~~~~
make[1]: *** [Makefile:1347: com_trolltech_qt_core_builtin0.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1364: com_trolltech_qt_core_builtin_init.o] Error 1
make[1]: Leaving directory '/build/source/src'
make: *** [Makefile:76: sub-src-make_first] Error 2
python312Packages.gepetto-viewer
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/65pcx2hvpma1ca0jkiilpnj6cx8dnc4g-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/0j7z0q55ij6r6rpx6arsa61ci3hsv1z2-gepetto-viewer-6.0.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/0j7z0q55ij6r6rpx6arsa61ci3hsv1z2-gepetto-viewer-6.0.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/0j7z0q55ij6r6rpx6arsa61ci3hsv1z2-gepetto-viewer-6.0.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/9rp8niwxr2yp8qdq2l148n9irmx2bswq-gepetto-viewer-6.0.0-doc/share/doc/gepetto-viewer -DCMAKE_INSTALL_INFODIR=/nix/store/a0ahaq7rz2bsrd73ypwa6yqbd1lhkhpb-gepetto-viewer-6.0.0-bin/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/a0ahaq7rz2bsrd73ypwa6yqbd1lhkhpb-gepetto-viewer-6.0.0-bin/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/06wk4i519bl6x7i0hd8iab9hdkjwy2s4-gepetto-viewer-6.0.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/a0ahaq7rz2bsrd73ypwa6yqbd1lhkhpb-gepetto-viewer-6.0.0-bin/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/a0ahaq7rz2bsrd73ypwa6yqbd1lhkhpb-gepetto-viewer-6.0.0-bin/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/0j7z0q55ij6r6rpx6arsa61ci3hsv1z2-gepetto-viewer-6.0.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/x8mydcgbry214s802nzvy7fdljx404ym-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/x8mydcgbry214s802nzvy7fdljx404ym-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/x8mydcgbry214s802nzvy7fdljx404ym-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/0j7z0q55ij6r6rpx6arsa61ci3hsv1z2-gepetto-viewer-6.0.0 -DBUILD_PY_QCUSTOM_PLOT:BOOL=TRUE -DBUILD_PY_QGV:BOOL=TRUE
-- JRL cmakemodules found on system at /nix/store/hx3jj62avhc45s8njqbij2ydy8xak52j-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules
CMake Error at /nix/store/hx3jj62avhc45s8njqbij2ydy8xak52j-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules/base.cmake:145 (message):
  JRL-CMakemodules require CMake >= 3.22.  Please update your main
  'cmake_minimum_required'
Call Stack (most recent call first):
  CMakeLists.txt:59 (include)

-- Configuring incomplete, errors occurred!


aarch64-linux

⏩ 1 package marked as broken and skipped:
  • csound-qt
❌ 16 packages failed to build:
  • gepetto-viewer (python313Packages.gepetto-viewer)
  • gepetto-viewer-corba (python313Packages.gepetto-viewer-corba)
  • gepetto-viewer-corba.doc (python313Packages.gepetto-viewer-corba.doc)
  • gepetto-viewer.bin (python313Packages.gepetto-viewer.bin)
  • gepetto-viewer.dev (python313Packages.gepetto-viewer.dev)
  • gepetto-viewer.doc (python313Packages.gepetto-viewer.doc)
  • kdePackages.python-qt (python313Packages.python-qt-qt6, qt6Packages.python-qt)
  • python312Packages.gepetto-gui
  • python312Packages.gepetto-viewer
  • python312Packages.gepetto-viewer-corba
  • python312Packages.gepetto-viewer-corba.doc
  • python312Packages.gepetto-viewer.bin
  • python312Packages.gepetto-viewer.dev
  • python312Packages.gepetto-viewer.doc
  • python312Packages.python-qt-qt6
  • python313Packages.gepetto-gui
✅ 2 packages built:
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.python-qt

Error logs: `aarch64-linux`
gepetto-viewer
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/65pcx2hvpma1ca0jkiilpnj6cx8dnc4g-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/bsbycrlr8iwi8sc5fz1dh8sp3ay2n8k9-gepetto-viewer-6.0.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/bsbycrlr8iwi8sc5fz1dh8sp3ay2n8k9-gepetto-viewer-6.0.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/bsbycrlr8iwi8sc5fz1dh8sp3ay2n8k9-gepetto-viewer-6.0.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/14vlwjxl5yvj6sjj8p1ipaazf4j7h5lr-gepetto-viewer-6.0.0-doc/share/doc/gepetto-viewer -DCMAKE_INSTALL_INFODIR=/nix/store/82g571pb33cv8yckv2k6s3gxlbs4fyni-gepetto-viewer-6.0.0-bin/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/82g571pb33cv8yckv2k6s3gxlbs4fyni-gepetto-viewer-6.0.0-bin/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/dnaqjzld0ihyg6d2sr179dh58rfh9685-gepetto-viewer-6.0.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/82g571pb33cv8yckv2k6s3gxlbs4fyni-gepetto-viewer-6.0.0-bin/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/82g571pb33cv8yckv2k6s3gxlbs4fyni-gepetto-viewer-6.0.0-bin/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/bsbycrlr8iwi8sc5fz1dh8sp3ay2n8k9-gepetto-viewer-6.0.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/hl19vrjrc54fvmwzp6391252j3ygnhja-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/hl19vrjrc54fvmwzp6391252j3ygnhja-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/hl19vrjrc54fvmwzp6391252j3ygnhja-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/bsbycrlr8iwi8sc5fz1dh8sp3ay2n8k9-gepetto-viewer-6.0.0 -DBUILD_PY_QCUSTOM_PLOT:BOOL=TRUE -DBUILD_PY_QGV:BOOL=TRUE
-- JRL cmakemodules found on system at /nix/store/0s1drj3knyh68jv91gcbkrmh0ljkaxkp-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules
CMake Error at /nix/store/0s1drj3knyh68jv91gcbkrmh0ljkaxkp-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules/base.cmake:145 (message):
  JRL-CMakemodules require CMake >= 3.22.  Please update your main
  'cmake_minimum_required'
Call Stack (most recent call first):
  CMakeLists.txt:59 (include)

-- Configuring incomplete, errors occurred!

kdePackages.python-qt
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |                ^~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:508:1: error: return type specified for 'operator std::string_view {aka std::basic_string_view<char>}'
  508 | QByteArray  PythonQtWrapper_QByteArray::operator std :: string_view(QByteArray* theWrappedObject) const
      | ^~~~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:508:13: error: 'PythonQtWrapper_QByteArray::operator std::string_view(QByteArray*) const' must have no arguments
  508 | QByteArray  PythonQtWrapper_QByteArray::operator std :: string_view(QByteArray* theWrappedObject) const
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1347: com_trolltech_qt_core_builtin0.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp:3:
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:154:4: error: return type specified for 'operator std::string_view {aka std::basic_string_view<char>}'
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |    ^~~~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:154:16: error: 'PythonQtWrapper_QByteArray::operator std::string_view(QByteArray*) const' must have no arguments
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |                ^~~~~~~~
make[1]: *** [Makefile:1364: com_trolltech_qt_core_builtin_init.o] Error 1
make[1]: Leaving directory '/build/source/src'
make: *** [Makefile:76: sub-src-make_first] Error 2
python312Packages.gepetto-viewer
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/65pcx2hvpma1ca0jkiilpnj6cx8dnc4g-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/n8a4q2gh3q5cnbcq95293k1v3klaxgh7-gepetto-viewer-6.0.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/n8a4q2gh3q5cnbcq95293k1v3klaxgh7-gepetto-viewer-6.0.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/n8a4q2gh3q5cnbcq95293k1v3klaxgh7-gepetto-viewer-6.0.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/cbsqin4mzvv8n0djqn69k79gadxjggka-gepetto-viewer-6.0.0-doc/share/doc/gepetto-viewer -DCMAKE_INSTALL_INFODIR=/nix/store/ipw9rr7il6bgwcnaj9jagvs8w97z5lv7-gepetto-viewer-6.0.0-bin/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ipw9rr7il6bgwcnaj9jagvs8w97z5lv7-gepetto-viewer-6.0.0-bin/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/xgjjl4kacb9hjglzbg0277nr5s0xkfyf-gepetto-viewer-6.0.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ipw9rr7il6bgwcnaj9jagvs8w97z5lv7-gepetto-viewer-6.0.0-bin/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ipw9rr7il6bgwcnaj9jagvs8w97z5lv7-gepetto-viewer-6.0.0-bin/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/n8a4q2gh3q5cnbcq95293k1v3klaxgh7-gepetto-viewer-6.0.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/hl19vrjrc54fvmwzp6391252j3ygnhja-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/hl19vrjrc54fvmwzp6391252j3ygnhja-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/hl19vrjrc54fvmwzp6391252j3ygnhja-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/n8a4q2gh3q5cnbcq95293k1v3klaxgh7-gepetto-viewer-6.0.0 -DBUILD_PY_QCUSTOM_PLOT:BOOL=TRUE -DBUILD_PY_QGV:BOOL=TRUE
-- JRL cmakemodules found on system at /nix/store/0s1drj3knyh68jv91gcbkrmh0ljkaxkp-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules
CMake Error at /nix/store/0s1drj3knyh68jv91gcbkrmh0ljkaxkp-jrl-cmakemodules-1.1.0/share/jrl-cmakemodules/base.cmake:145 (message):
  JRL-CMakemodules require CMake >= 3.22.  Please update your main
  'cmake_minimum_required'
Call Stack (most recent call first):
  CMakeLists.txt:59 (include)

-- Configuring incomplete, errors occurred!

python312Packages.python-qt-qt6
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |                ^~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:508:1: error: return type specified for 'operator std::string_view {aka std::basic_string_view<char>}'
  508 | QByteArray  PythonQtWrapper_QByteArray::operator std :: string_view(QByteArray* theWrappedObject) const
      | ^~~~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.cpp:508:13: error: 'PythonQtWrapper_QByteArray::operator std::string_view(QByteArray*) const' must have no arguments
  508 | QByteArray  PythonQtWrapper_QByteArray::operator std :: string_view(QByteArray* theWrappedObject) const
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin_init.cpp:3:
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:154:4: error: return type specified for 'operator std::string_view {aka std::basic_string_view<char>}'
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |    ^~~~~~~~~~
../generated_cpp/com_trolltech_qt_core_builtin/com_trolltech_qt_core_builtin0.h:154:16: error: 'PythonQtWrapper_QByteArray::operator std::string_view(QByteArray*) const' must have no arguments
  154 |    QByteArray  operator std :: string_view(QByteArray* theWrappedObject) const;
      |                ^~~~~~~~
make[1]: *** [Makefile:1347: com_trolltech_qt_core_builtin0.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1364: com_trolltech_qt_core_builtin_init.o] Error 1
make[1]: Leaving directory '/build/source/src'
make: *** [Makefile:76: sub-src-make_first] Error 2

x86_64-darwin (sandbox = true)

❌ 16 packages failed to build:
  • gepetto-viewer (python313Packages.gepetto-viewer)
  • gepetto-viewer-corba (python313Packages.gepetto-viewer-corba)
  • gepetto-viewer-corba.doc (python313Packages.gepetto-viewer-corba.doc)
  • gepetto-viewer.bin (python313Packages.gepetto-viewer.bin)
  • gepetto-viewer.dev (python313Packages.gepetto-viewer.dev)
  • gepetto-viewer.doc (python313Packages.gepetto-viewer.doc)
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.gepetto-gui
  • python312Packages.gepetto-viewer
  • python312Packages.gepetto-viewer-corba
  • python312Packages.gepetto-viewer-corba.doc
  • python312Packages.gepetto-viewer.bin
  • python312Packages.gepetto-viewer.dev
  • python312Packages.gepetto-viewer.doc
  • python312Packages.python-qt
  • python313Packages.gepetto-gui

aarch64-darwin (sandbox = true)

❌ 16 packages failed to build:
  • gepetto-viewer (python313Packages.gepetto-viewer)
  • gepetto-viewer-corba (python313Packages.gepetto-viewer-corba)
  • gepetto-viewer-corba.doc (python313Packages.gepetto-viewer-corba.doc)
  • gepetto-viewer.bin (python313Packages.gepetto-viewer.bin)
  • gepetto-viewer.dev (python313Packages.gepetto-viewer.dev)
  • gepetto-viewer.doc (python313Packages.gepetto-viewer.doc)
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.gepetto-gui
  • python312Packages.gepetto-viewer
  • python312Packages.gepetto-viewer-corba
  • python312Packages.gepetto-viewer-corba.doc
  • python312Packages.gepetto-viewer.bin
  • python312Packages.gepetto-viewer.dev
  • python312Packages.gepetto-viewer.doc
  • python312Packages.python-qt
  • python313Packages.gepetto-gui

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. and removed 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Oct 23, 2025
@nim65s
Copy link
Contributor Author

nim65s commented Nov 28, 2025

rebased for Qt6.10.1

@nim65s nim65s marked this pull request as draft November 28, 2025 11:03
@nim65s nim65s force-pushed the pythonqt branch 6 times, most recently from 1ca6578 to c27fe4f Compare November 30, 2025 10:36
@nim65s nim65s marked this pull request as ready for review November 30, 2025 11:31
webengine is optional:

```
extensions/PythonQt_QtAll/PythonQt_QtAll.pro
24:  qtHaveModule(webenginewidgets):CONFIG += PythonQtWebEngineWidgets
```

So disable it by default to fix build
following NixOS#435067
It now need way more fixes than what should be done in this python-qt PR
@nim65s
Copy link
Contributor Author

nim65s commented Dec 11, 2025

rebased after #443046

@nim65s
Copy link
Contributor Author

nim65s commented Dec 18, 2025

nixpkgs-review result for #437521

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 437521
Commit: 86fa124b5b7051e1e8cd274d17f47479c2344411 (subsequent changes)
Merge: bd7bb4bf56e187bc83348e6117af5ee673438135

Logs: https://github.com/nim65s/nixpkgs-review-gha/actions/runs/20127267590


x86_64-linux

⏩ 1 package marked as broken and skipped:
  • csound-qt
✅ 4 packages built:
  • kdePackages.python-qt (python313Packages.python-qt-qt6, qt6Packages.python-qt)
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.python-qt
  • python312Packages.python-qt-qt6

aarch64-linux

⏩ 1 package marked as broken and skipped:
  • csound-qt
✅ 4 packages built:
  • kdePackages.python-qt (python313Packages.python-qt-qt6, qt6Packages.python-qt)
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.python-qt
  • python312Packages.python-qt-qt6

x86_64-darwin (sandbox = relaxed)

✅ 2 packages built:
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.python-qt

aarch64-darwin (sandbox = relaxed)

✅ 2 packages built:
  • python-qt (libsForQt5.python-qt, python313Packages.python-qt)
  • python312Packages.python-qt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants