Package Base Details: shiboken2-git

Git Clone URL: https://aur.archlinux.org/shiboken2-git.git (read-only, click to copy)
Submitter: drhooves
Maintainer: None
Last Packager: dviktor
Votes: 1
Popularity: 0.000000
First Submitted: 2017-03-03 08:11 (UTC)
Last Updated: 2020-01-29 11:28 (UTC)

Latest Comments

SGOrava commented on 2020-01-29 10:46 (UTC) (edited on 2020-01-29 21:50 (UTC) by SGOrava)

Thank you.

Original message: PKGBUILD should be updated to require clang 9.0.1 otherwise it will refuse to install.

Cebtenzzre commented on 2018-11-29 21:19 (UTC)

Alright, I've fixed it in a way that builds correctly on my system. I couldn't get bartus's suggestion to work verbatim (makepkg keeps the environment clean), so I put the update code in pkgver() and referenced the pkgver where necessary.

bartus commented on 2018-11-20 13:13 (UTC) (edited on 2018-11-20 13:25 (UTC) by bartus)

Small suggestion for more rebust script > probe _upver in prepare() with: export _upver=$(python sources/shiboken2/shiboken_version.py|cut -d';' -f-3|tr ';' '.')

bartus commented on 2018-10-27 15:13 (UTC) (edited on 2018-11-03 11:49 (UTC) by bartus)

There is a naming scheme issue introduced by the latest commit.

  • cmake path is: /usr/lib/cmake/Shiboken2-5.11.1/

  • package-*() referest to those using _upver=5.11.2: /usr/lib/cmake/Shiboken2-$_upver/

Those resulting in error in package-*() function.

Perhaps you ware to hasty popping up version, as internally shiboken define its version to be 5.11.1, or you could go with dev branch which is already 5.12 ;)

Kunda commented on 2018-10-26 14:20 (UTC)

@xantares can you rename the package version to 5.11.2 please? Thanks

jorges commented on 2018-06-18 12:52 (UTC)

I fixed the problem I metioned in the previous comment by updating _upver to 5.11.1 as suggested by Grawp

commented on 2018-06-17 13:26 (UTC)

@jorges I've just adpoted the package along with pyside2 and I'm going to try fix these problems. Meanwhile edit _upver as mentioned in my post below.

jorges commented on 2018-06-16 17:01 (UTC)

I get an error about removing a file that doesn't exist:

rm: cannot remove '/home/jscandal/.aur_bb/shiboken2-git/pkg/python2-shiboken2-git/usr/lib/cmake/Shiboken2-5.11.0/Shiboken2ConfigVersion.cmake': No such file or directory ==> ERROR: A failure occurred in package_python2-shiboken2-git(). Aborting...

Has anyone else experienced this?

commented on 2018-06-15 16:52 (UTC)

_upver should be 5.11.1 now. Maybe there is a way how to autodetect it?

xantares commented on 2018-05-05 07:03 (UTC)

This is an issue of shiboken, not from my package, you can ask upstream.

AngryNapkin commented on 2018-05-05 00:56 (UTC) (edited on 2018-05-05 16:56 (UTC) by AngryNapkin)

I mean no disrespect, but this package name looks oddly similar to "shitbroken".....which is exactly what I am having an issue with.

When running "makepkg -s" I get the following error:

"""""" PYTHON_ARCH: 64 Traceback (most recent call last): File "<string>", line 5, in <module> ImportError: No module named utils LLVM_CONFIG: <br> CMake Error at CMakeLists.txt:76 (message): Unable to detect CLANG location by checking LLVM_INSTALL_DIR, CLANG_INSTALL_DIR or running llvm-config.</module></string>

-- Configuring incomplete, errors occurred! """""""

Anyone know what I can do to get around this?

EDIT: ok, well it turns out shitbroken wasnt shiboken but rather my shit was broken :). I am fairly new to this stuff, fixing build errors and all. Seems all I needed was to export the "CLANG_INSTALL_DIR" and it all worked. I did export CLANG_INSTALL_DIR=/usr/bin and everything is moving forward.

seany commented on 2018-04-04 15:39 (UTC) (edited on 2018-04-04 15:42 (UTC) by seany)

Hi

I am getting this error :

/usr/bin/clang++: error while loading shared libraries: libLLVM-6.0.so: cannot open shared object file: No such file or director

while trying to install via yaourt.

i ma on manjaro. llvm-libs 6.0.0-4 is installed please help.

commented on 2018-03-06 20:16 (UTC)

_upver and pkgver prefix should be now "5.9.0". There have been some versioning changes recently http://code.qt.io/cgit/pyside/pyside-setup.git/commit/sources/shiboken2/shiboken_version.py?h=5.9&id=f3139399b273fdf405f20cba32a08262cd933d6e

http://code.qt.io/cgit/pyside/pyside-setup.git/log/sources/shiboken2/shiboken_version.py?h=5.9&id=63bcb1ba4a1b211f219b1b47aa4b3ad85a8b7a77

(Also without changing the version installation script fails on trying to remove .cmake filed from non-existent directories.)

Cheers

commented on 2018-02-25 10:15 (UTC)

llvm makedependency is missing. Could you add it please?

xantares commented on 2017-08-25 20:41 (UTC)

Shiboken2 was moved to: https://code.qt.io/pyside/pyside-setup.git, (/sources/shiboken2) see http://code.qt.io/cgit/ please update

croick commented on 2017-08-22 16:13 (UTC)

using clang as compiler solved the issue for me: CC=clang CXX=clang++ cmake ...

drhooves commented on 2017-06-20 05:57 (UTC)

Mhhh very strange... honesty have no idea on how to resolve that. Please let me know if someone else also experiences that error.

reklrekl commented on 2017-06-18 19:28 (UTC) (edited on 2017-06-18 19:31 (UTC) by reklrekl)

obviously I installed base-devel group and I've compiled a ton of other programs successfuly... features.h exists in /usr/include/, I don't know why it's only looking for int in /usr/include/c++/7.1.1/

drhooves commented on 2017-06-18 15:54 (UTC) (edited on 2017-06-18 15:55 (UTC) by drhooves)

Does the file /usr/include/features.h exist on your system? It comes with glibc and should be installed as part of base.

reklrekl commented on 2017-06-18 15:01 (UTC)

I can't compile PySide2 because of an error in Shiboken2 (ApiExtractor) I've turned on tests in build of Shiboken2 and they fail with the same error: [ 64%] Running generator for 'minimal' test binding... clang_parseTranslationUnit2(0x0, cmd[7]=-nostdinc -std=c++14 -fPIC -fno-exceptions -Wno-constant-logical-operand -I/home/leo/builds/shiboken2-git/src/shiboken2-git/tests/libminimal /tmp/global_J19728.hpp) /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal error: 'features.h' file not found Errors in /tmp/global_J19728.hpp: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal: 'features.h' file not found /tmp/global_J19728.hpp:32:10: note: in file included from /tmp/global_J19728.hpp:32: /home/leo/builds/shiboken2-git/src/shiboken2-git/tests/libminimal/listuser.h:32:10: note: in file included from /home/leo/builds/shiboken2-git/src/shiboken2-git/tests/libminimal/listuser.h:32: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/list:60:10: note: in file included from /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/list:60: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/bits/stl_algobase.h:59:10: note: in file included from /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/bits/stl_algobase.h:59: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/c++config.h:533:10: note: in file included from /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/c++config.h:533: Clang: 1 diagnostic messages: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal: 'features.h' file not found /tmp/global_J19728.hpp:32:10: note: in file included from /tmp/global_J19728.hpp:32: /home/leo/builds/shiboken2-git/src/shiboken2-git/tests/libminimal/listuser.h:32:10: note: in file included from /home/leo/builds/shiboken2-git/src/shiboken2-git/tests/libminimal/listuser.h:32: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/list:60:10: note: in file included from /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/list:60: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/bits/stl_algobase.h:59:10: note: in file included from /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/bits/stl_algobase.h:59: /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/c++config.h:533:10: note: in file included from /../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/x86_64-pc-linux-gnu/bits/c++config.h:533: Keeping temporary file: /tmp/global_J19728.hpp shiboken: Error running ApiExtractor. Command line: --project-file=/home/leo/builds/shiboken2-git/src/shiboken2-git/build-py3/tests/minimalbinding/minimal-binding.txt make[2]: *** [tests/minimalbinding/CMakeFiles/minimal.dir/build.make:64: tests/minimalbinding/minimal/minimal_module_wrapper.cpp] Fehler 1 make[1]: *** [CMakeFiles/Makefile2:3290: tests/minimalbinding/CMakeFiles/minimal.dir/all] Fehler 2 make: *** [Makefile:141: all] Fehler 2

drhooves commented on 2017-05-31 14:27 (UTC)

Thanks for the info, I already made the changes you proposed but the build failed somewhere else for me and I wasn't able to resolve that as far as I remember... I'm going to have a look at it again as soon as possible.

sheinz commented on 2017-05-31 09:13 (UTC)

If you encounter error:‘qAsConst’ was not declared in this scope You should switch to "5.6" branch of shiboken. Edit PKGBUILD: source=("$pkgbase::git+https://code.qt.io/pyside/shiboken.git#branch=5.6" "sphinx-build2.patch") If you get error "install: cannot stat 'Shiboken2Config-python2.7.cmake': No such file or directory" Add option -DPYTHON_EXTENSION_SUFFIX="-python2.7" for cmake build for python2