@gardotd426 Fixed. I will be disowning the package since I have not used shiboken in a long time.
Search Criteria
Package Details: shiboken 1.2.4-8
Package Actions
Git Clone URL: | https://aur.archlinux.org/shiboken.git (read-only, click to copy) |
---|---|
Package Base: | shiboken |
Description: | CPython bindings generator for C++ libraries |
Upstream URL: | http://www.pyside.org |
Licenses: | LGPL |
Submitter: | arojas |
Maintainer: | None |
Last Packager: | adsun |
Votes: | 10 |
Popularity: | 0.001072 |
First Submitted: | 2018-08-21 10:44 (UTC) |
Last Updated: | 2023-06-11 13:27 (UTC) |
Dependencies (10)
- libxslt (libxslt-git)
- python (python36, python32, python37, python39, python38, python310, python312)
- qt4 (qt4-bin)
- cmake (cmake-git) (make)
- libxslt (libxslt-git) (make)
- python (python36, python32, python37, python39, python38, python310, python312) (make)
- python2 (python2-bin) (make)
- qt4 (qt4-bin) (make)
- python-shiboken (optional) – for compilation against python
- python2-shiboken (optional) – for compilation against python2
Required by (5)
- pyside-tools-common (make)
- python-pyside-tools (make)
- python-shiboken
- python2-pyside-tools (make)
- python2-shiboken
Sources (2)
adsun commented on 2023-06-11 13:28 (UTC)
gardotd426 commented on 2023-06-10 12:49 (UTC)
Build fails. And no, it's not because I need to first rebuild qt4
, I already did that.
Errors:
[ 93%] Linking CXX executable shiboken
[ 93%] Built target shiboken
In file included from /home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/typeresolver.h:27,
from /home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:29:
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h: In static member function ‘static T Shiboken::ValueTypeConverter<T>::toCpp(PyObject*)’:
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:191:22: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
191 | std::auto_ptr<T> cptr_auto_ptr(cptr);
| ^~~~~~~~
In file included from /usr/include/c++/13.1.1/memory:78,
from /home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/conversions.h:28:
/usr/include/c++/13.1.1/bits/unique_ptr.h:65:28: note: declared here
65 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /usr/include/python3.11/object.h:757,
from /usr/include/python3.11/Python.h:44,
from /home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkpython.h:26,
from /home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.h:26,
from /home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:23:
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp: In function ‘void SbkEnumTypeDealloc(PyObject*)’:
/usr/include/python3.11/cpython/object.h:507:38: warning: ‘UsingDeprecatedTrashcanMacro’ is deprecated [-Wdeprecated-declarations]
507 | UsingDeprecatedTrashcanMacro cond=1; \
| ^~~~
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:365:5: note: in expansion of macro ‘Py_TRASHCAN_SAFE_BEGIN’
365 | Py_TRASHCAN_SAFE_BEGIN(pyObj);
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.11/cpython/object.h:504:33: note: declared here
504 | Py_DEPRECATED(3.11) typedef int UsingDeprecatedTrashcanMacro;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp: In function ‘PyTypeObject* Shiboken::Enum::newTypeWithName(const char*, const char*)’:
/usr/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment
136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:530:5: note: in expansion of macro ‘Py_TYPE’
530 | Py_TYPE(type) = &SbkEnumType_Type;
| ^~~~~~~
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp: At global scope:
/home/matt/tmp/makepkg/shiboken/src/Shiboken-1.2.4/libshiboken/sbkenum.cpp:65:12: warning: ‘int SbkEnumObject_print(PyObject*, FILE*, int)’ defined but not used [-Wunused-function]
65 | static int SbkEnumObject_print(PyObject* self, FILE* fp, int)
| ^~~~~~~~~~~~~~~~~~~
make[2]: *** [libshiboken/CMakeFiles/libshiboken.dir/build.make:146: libshiboken/CMakeFiles/libshiboken.dir/sbkenum.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:268: libshiboken/CMakeFiles/libshiboken.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: shiboken-exit status 4
-> Failed to install the following packages. Manual intervention is required:
shiboken - exit status 4
patlefort commented on 2021-02-09 19:43 (UTC)
Build fails, here's a pull request that fix compiling this package: https://github.com/pyside/Shiboken/pull/90
adsun commented on 2020-08-21 22:22 (UTC)
@JohnRobson please see pinned comment.
JohnRobson commented on 2020-08-21 03:04 (UTC)
[ 95%] Linking CXX executable shiboken
[ 95%] Built target shiboken
[ 96%] Running generator for 'shiboken'...
Detecting inconsistencies in typesystem... [OK]
make[2]: *** [shibokenmodule/CMakeFiles/shibokenmodule.dir/build.make:81: shibokenmodule/shiboken/shiboken_module_wrapper.cpp] Segmentation fault (core dumped)
make[1]: *** [CMakeFiles/Makefile2:382: shibokenmodule/CMakeFiles/shibokenmodule.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error making: %!s(func() string=0x56348c569410)
adsun commented on 2020-07-10 14:02 (UTC)
@tom rebuild qt4
whenever the icu
package is updated in the main repo. Then build shiboken
.
tom commented on 2020-07-10 11:31 (UTC)
[ 96%] Running generator for 'shiboken'... Unable to load library icui18n "Cannot load library icui18n: (icui18n: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden)" Detecting inconsistencies in typesystem... [OK]
make[2]: [shibokenmodule/CMakeFiles/shibokenmodule.dir/build.make:82: shibokenmodule/shiboken/shiboken_module_wrapper.cpp] Speicherzugriffsfehler (Speicherauszug erstellt) make[1]: [CMakeFiles/Makefile2:383: shibokenmodule/CMakeFiles/shibokenmodule.dir/all] Fehler 2 make: *** [Makefile:150: all] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab... Error making: shiboken
adsun commented on 2020-03-30 17:29 (UTC)
@obelix1502 try building in a clean chroot instead of using yay. AUR helpers are not supported.
obelix1502 commented on 2020-03-30 16:01 (UTC) (edited on 2020-03-30 16:09 (UTC) by obelix1502)
Error in build:make [2]: [shibokenmodule/CMakeFiles/shibokenmodule.dir/build.make:79: shibokenmodule/shiboken/shiboken_module_wrapper.cpp] Segmentation error (core dump created)
make[2]: exit the directory " /home/obelix1502/.cache/yay/shiboken/src/Shiboken-1.2.4/build-py2 ".
make [1]: [CMakeFiles/Makefile2:353: shibokenmodule/CMakeFiles/shibokenmodule.dir/all] Error 2
make[1]: exit the directory " /home/obelix1502/.cache/yay/shiboken/src/Shiboken-1.2.4/build-py2 ".
make: ** [Makefile:147: all] Error 2
==> ERROR: An error occurred in build().
I've icu 65.1-3 and qt4 4.8.7-29.1
Pinned Comments
adsun commented on 2020-03-06 19:22 (UTC)
@kunda Rebuild
qt4
from the AUR whenevericu
is updated in the main repo. Then buildshiboken
.qt4
used to be in the main repo but was moved back to the AUR due to being deprecated overqt5
.