Package Details: python-shiboken2 5.15.16+4-1

Git Clone URL: https://aur.archlinux.org/pyside2.git (read-only, click to copy)
Package Base: pyside2
Description: Python bindings for shiboken2
Upstream URL: https://wiki.qt.io/Qt_for_Python
Licenses: LGPL-3.0-or-later
Submitter: arojas
Maintainer: envolution
Last Packager: envolution
Votes: 15
Popularity: 0.55
First Submitted: 2024-04-16 07:05 (UTC)
Last Updated: 2025-10-04 18:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

envolution commented on 2025-06-30 17:39 (UTC)

@gyscos: could you share the few lines preceeding ==> ERROR: 'pacman' failed to install missing dependencies. ?

gyscos commented on 2025-06-30 15:05 (UTC) (edited on 2025-06-30 15:40 (UTC) by gyscos)

Hi, and thanks for maintaining this package!

It does seem that this PKGBUILD confuses makepkg. In a clean chroot, makepkg -s is not able to install the dependencies. And similarly, paru -B --noconfirm . is not able to install the dependencies by itself. In both cases the only way to build the package seems t be to manually install these qt5 dependencies, which indicates some PKGBUILD issue (the package should build without intervention in a clean chroot).

==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> qt5-multimedia
  -> qt5-tools
  -> qt5-sensors
  -> qt5-charts
  -> qt5-webengine
  -> qt5-datavis3d
  -> qt5-websockets
  -> qt5-speech
  -> qt5-3d
  -> qt5-svg
  -> qt5-script
  -> qt5-scxml
  -> qt5-x11extras
  -> qt5-quickcontrols2
  -> qt5-serialport
  -> qt5-remoteobjects
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

For example, which package needs qt5-multimedia? It's not a make-depend, yet none of the resulting package depend on it.

Conversely, python-numpy is listed as a dependency of shiboken2 but is not included in the top-level depend or makedepend.

The PKGBUILD guideline states:

Note that makepkg does not consider split package depends when checking if dependencies are installed before package building and with --syncdeps. All packages required to make the package are required to be specified in the global depends and makedepends arrays.

Therefore, I think the top-level depend should be the union of the depends of all package (minus the internal packages this is building). If updated this way, this package would build properly with both makepkg and paru in a clean chroot:

diff --git a/PKGBUILD b/PKGBUILD
index 6f1c5e6..af68dff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,7 @@ pkgdesc="CPython bindings generator for C++ libraries - Debian rel ${pkgver#*+}"
 arch=(x86_64)
 url="https://wiki.qt.io/Qt_for_Python"
 license=('LGPL-3.0-or-later')
-depends=(qt5-multimedia qt5-tools qt5-sensors qt5-charts qt5-webengine qt5-datavis3d
-  qt5-websockets qt5-speech qt5-3d qt5-svg qt5-script qt5-scxml qt5-x11extras
-  qt5-quickcontrols2 qt5-serialport qt5-remoteobjects qt5-xmlpatterns)
+depends=(clang llvm libxslt qt5-xmlpatterns python python-numpy qt5-declarative qt5-base gcc-libs glibc)
 makedepends=(cmake python-setuptools python-wheel llvm clang)

 _debver="${pkgver/+/-}"

Alternatively, if these dependencies are actually required, they should be added to the respective package depends .

envolution commented on 2025-04-05 23:59 (UTC)

@echizenryoma try without that flag if you like, let me know if you find it to be faster or slower

echizenryoma commented on 2025-04-05 23:45 (UTC)

cmake --build build --parallel 4

Why is parallel limited to 4 during build?

envolution commented on 2025-03-30 21:54 (UTC)

@19topgun93 Thanks for the report. cmake 4 update removed some methods used in the included cmake files - I've updated them with the new methods and included the patch in rel 2

19topgun93 commented on 2025-03-30 12:41 (UTC)

Hi I have problems with CMake.

=> Erstelle Paket: pyside2 5.15.16+3.1-1 (So 30 Mär 2025 14:32:20 CEST) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> WARNUNG: Verwende bestehenden $srcdir/ Baum ==> Entferne existierendes $pkgdir/ Verzeichnis... ==> Beginne build()... CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred! ==> FEHLER: Ein Fehler geschah in build(). Breche ab... -> Die Installationsschicht ist fehlgeschlagen, es wird zur nächsten Schicht übergegangen.error:Fehler beim Erstellen: pyside2 - exit status 4

GAthan commented on 2025-03-20 06:52 (UTC)

@envolution - thank you the pacman -S qt5-quickcontrols2 python-numpy worked a treat.

envolution commented on 2025-03-18 17:46 (UTC)

@zo0m this is definitely a pebcak issue, I generally don't mind helping new users to arch/Linux, but it seems you just want to throw tantrums and hissy fits. I would appreciate if you avoid leaving comments on my packages.

zo0M commented on 2025-03-18 06:35 (UTC)

I've redownloaded everything several times. It's not working. Why are you afraid to do it the right way? Well, it will recompile for users and then what? There will be a critical CO2 release and everyone will die?

envolution commented on 2025-03-17 17:00 (UTC)

Since you're using a helper, it should have a --redownload option to grab the latest pkgbuild, or use the AUR supported way of cloning and makepkg. The pkgrel was not bumped to avoid forcing all users to recompile.