Package Details: python-shiboken2 5.15.16-3

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: 11
Popularity: 0.44
First Submitted: 2024-04-16 07:05 (UTC)
Last Updated: 2024-12-23 06:01 (UTC)

Latest Comments

1 2 3 4 Next › Last »

envolution commented on 2024-12-30 06:57 (UTC)

@Zame are you in a country that is possibly blocking you?

https://download.qt.io/official_releases/QtForPython/shiboken2/PySide2-5.15.16-src/pyside-setup-opensource-src-5.15.16.tar.xz.mirrorlist

you can find links from various countries there. clone this repo and put a copy of pyside-setup-opensource-src-5.15.16.tar.xz inside, then makepkg -si

Zame commented on 2024-12-30 06:19 (UTC) (edited on 2024-12-30 06:20 (UTC) by Zame)

Every time:

Failed to connect to download.qt.io port 443 after 133991 ms: Could not connect to server

VPN or not - no matter ( But can ping download.qt.io

Mustard007 commented on 2024-12-26 18:16 (UTC)

Ok thanks ! :D

envolution commented on 2024-12-26 17:15 (UTC) (edited on 2024-12-27 01:26 (UTC) by envolution)

@Mustard007: You are using the old version of this PKGBUILD which does not support python 313

Construction de pyside2...
==> Création du paquet pyside2 5.15.16-1 (jeu 26 déc 2024 10:49:58)
...
    shiboken2-clang-Write-scope-resolution-for-all-parameters.patch ... Réussite
    Modify-sendCommand-signatures.patch ... Réussite
==> Suppression du répertoire $srcdir/ existant…

It should be pyside2 5.15.16-3 and complete patch list ends with (en francais):

  -> Found Modify-sendCommand-signatures.patch
  -> Found fix-for-python-3-13.patch
  -> Found bump-supported-version-3-13.patch
==> Validating source files with sha256sums...

Mustard007 commented on 2024-12-26 16:09 (UTC)

Hi ! Same here, can't compile ! Last update.

Hope pastebin here work: https://pastebin.com/736ggg8A

Thanks ! :D

envolution commented on 2024-12-25 08:48 (UTC)

@leo72 you did not capture the error, just the failure statement. You can always use a Pastebin service; if you can't find the error just provide the full compile log (and link to here).

When you say "I'm still unable to compile" it doesn't give me a frame of reference. When were you able to compile, and when did the failure begin?

leo72 commented on 2024-12-24 14:15 (UTC) (edited on 2024-12-24 14:17 (UTC) by leo72)

I'm still unabkle to compile [ 3%] Building CXX object sources/shiboken2/ApiExtractor/CMakeFiles/apiextractor.dir/qtdocparser.cpp.o /var/tmp/pamac-build-leo/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/ApiExtractor/docparser.cpp: In constructor ‘DocParser::DocParser()’: /var/tmp/pamac-build-leo/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/ApiExtractor/docparser.cpp:50:33: warning: ‘int xmlSubstituteEntitiesDefault(int)’ is deprecated [-Wdeprecated-declarations] 50 | xmlSubstituteEntitiesDefault(1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/libxml2/libxml/tree.h:17, from /usr/include/libxml2/libxml/xpath.h:27, from /usr/include/libxslt/xsltutils.h:16, from /var/tmp/pamac-build-leo/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/ApiExtractor/docparser.cpp:41: /usr/include/libxml2/libxml/parser.h:948:17: note: declared here 948 | xmlSubstituteEntitiesDefault(int val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 3%] Linking CXX static library libapiextractor.a [ 3%] Built target apiextractor make: *** [Makefile:136: all] Error 2 ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta...

envolution commented on 2024-12-23 06:04 (UTC)

@HuaHuaY it is updated now, thank you for the report

envolution commented on 2024-12-23 03:48 (UTC)

@HuaHuaY thanks I have noticed the same - seems as though more patching is required to get this working with the new python 3.13 release. I'll dig deeper into it shortly, I just have a lot on my plate tonight

HuaHuaY commented on 2024-12-23 03:46 (UTC)

In file included from /home/huahua/.cache/yay/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/libshiboken/sbkpython.h:104,
                 from /home/huahua/.cache/yay/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/libshiboken/sbkarrayconverter.h:43,
                 from /home/huahua/.cache/yay/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/libshiboken/sbkarrayconverter.cpp:40:
/home/huahua/.cache/yay/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/libshiboken/sbkarrayconverter.cpp: In function ‘void Shiboken::Conversions::sequenceToCppIntArray(PyObject*, void*)’:
/home/huahua/.cache/yay/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/libshiboken/pep384impl.h:187:24: 错误:‘_PyLong_AsInt’ was not declared in this scope; did you mean ‘PyLong_AsInt’?
  187 | #define _PepLong_AsInt _PyLong_AsInt
      |                        ^~~~~~~~~~~~~
/home/huahua/.cache/yay/pyside2/src/pyside-setup-opensource-src-5.15.16/sources/shiboken2/libshiboken/sbkarrayconverter.cpp:164:29: 附注:in expansion of macro ‘_PepLong_AsInt’
  164 |     convertPySequence(pyIn, _PepLong_AsInt, handle->data());
      |

I got some errors while compiling.