Package Details: pyside2-git r6554.6eb583d7-1

Git Clone URL: https://aur.archlinux.org/pyside2-git.git (read-only, click to copy)
Package Base: pyside2-git
Description: Enables the use of Qt5 APIs in Python applications (git version)
Upstream URL: https://www.qt.io
Licenses: LGPL
Conflicts: pyside2, python-pyside2
Provides: pyside2, python-pyside2
Submitter: drhooves
Maintainer: None
Last Packager: dviktor
Votes: 2
Popularity: 0.000000
First Submitted: 2017-03-03 08:15
Last Updated: 2019-11-26 20:02

Dependencies (32)

Required by (54)

Sources (1)

Latest Comments

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

xantares commented on 2017-11-17 18:40

Seems ok if I disable WebKitWidgets

xantares commented on 2017-11-16 22:39

More on this tomorrow :)

xantares commented on 2017-11-16 22:34

Cool thanks, the build goes way further now.

sakf commented on 2017-11-16 22:16

Hi xantares,
I set the compiler to clang in the environment before invoking makepkg:
$ export CC=/usr/bin/clang
$ export CXX=/usr/bin/clang++

Using gcc, I get the same error as you

xantares commented on 2017-11-16 22:11

hi @sakf,

what do you mean set the compiler to clang ?
for me it fails even earlier at "[ 4%] Running generator for QtCore..."
with _64-pc-linux-gnu/7.2.0/../../../../include/c++/7.2.0/cstddef:50:10: fatal error: 'stddef.h' file not found

maye there's some kind of way to disable the webkit module,
I'll see if I can help but for now I'm stuck at 4%

xan.

sakf commented on 2017-11-16 20:38

Does this build for anyone, atm?
Even building in a clean chroot I still have to manually set the compiler to clang. But it still fails to build at

[ 97%] Running generator for QtWebKitWidgets...
qt.shiboken: (webkitwidgets) Can't find typesystem_printsupport.xml, current path: /build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/QtWebKitWidgets, typesystem paths: /build/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2, /build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2, /build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/QtWebKitWidgets
Cannot parse file: /build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/QtWebKitWidgets/typesystem_webkitwidgets.xmlshiboken: Error running ApiExtractor.
Command line: --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero /build/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/QtWebKitWidgets_global.h --include-paths=/build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2:/usr/include/qt/ --typesystem-paths=/build/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2:/build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2:/build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/QtWebKitWidgets --output-directory=/build/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/PySide2/QtWebKitWidgets --license-file=/build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/QtWebKitWidgets/../licensecomment.txt /build/pyside2-git/src/pyside2-git/sources/pyside2/PySide2/QtWebKitWidgets/typesystem_webkitwidgets.xml --api-version=5.9 --drop-type-entries=
make[2]: *** [PySide2/QtWebKitWidgets/CMakeFiles/QtWebKitWidgets.dir/build.make:68: PySide2/QtWebKitWidgets/PySide2/QtWebKitWidgets/qgraphicswebview_wrapper.cpp] Error 1

KorvinSilver commented on 2017-11-03 04:12

llvm should be among the dependencies:

CMake Error at CMakeLists.txt:62 (message):
LLVM version 3.9 is required (llvm-config detected /bin/sh: llvm-config:
command not found at /bin/sh: llvm-config: command not found).

xantares commented on 2017-11-02 12:34

yes, shiboken2 is not up to date, I asked it to be orphaned

mriyah commented on 2017-11-02 12:33

same for me.

zoidberg commented on 2017-11-02 01:45

Build fails as follows (I am posting this as I couldn't find the same error in any of the previous posts).

==> Making package: pyside2-git 2.0.0.r5308.25f899e2-1 (Thu Nov 2 07:03:25 IST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating pyside2-git git repo...
Fetching origin
-> Found fix-module-name.patch
-> Found sphinx-build2.patch
==> Validating source files with md5sums...
pyside2-git ... Skipped
fix-module-name.patch ... Passed
sphinx-build2.patch ... Passed
==> Extracting sources...
-> Creating working copy of pyside-setup git repo...
Cloning into 'pyside2-git'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Starting build()...
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.14", minimum required is "2")
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.14", minimum required is "2")
-- PYTHON_EXTENSION_SUFFIX: -python2.7
-- PYTHON_CONFIG_SUFFIX: -python2.7-python2.7
-- PYTHON_SHARED_LIBRARY_SUFFIX: -python2.7-python2.7
-- libshiboken built for Release
result:/usr/include/GL/gl.h
-- *** Qt5Core_INCLUDE_DIRS = /usr/include/qt/;/usr/include/qt/QtCore;/usr/lib/qt//mkspecs/linux-g++
-- *** computed QT_INCLUDE_DIR as /usr/include/qt/
-- Found Git: /usr/bin/git (found version "2.15.0")
-- module Qt5Core found ()
-- module Qt5Gui found (essential)
-- module Qt5Widgets found (essential)
-- module Qt5PrintSupport found (essential)
-- module Qt5Sql found (essential)
-- module Qt5Network found (essential)
-- module Qt5Test found (essential)
-- module Qt5Concurrent found (essential)
-- module Qt5X11Extras found (essential)
-- module Qt5Xml found ()
-- module Qt5XmlPatterns found (opt)
-- module Qt5Help found (opt)
-- module Qt5Multimedia found (opt)
-- module Qt5MultimediaWidgets found (opt)
-- module Qt5OpenGL found (opt)
-- module Qt5Qml found (opt)
-- module Qt5Quick found (opt)
-- module Qt5QuickWidgets found (opt)
-- module Qt5Script found (opt)
-- module Qt5ScriptTools found (opt)
-- module Qt5TextToSpeech found (opt)
CMake Warning at CMakeLists.txt:228 (find_package):
By not providing "FindQt5Charts.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Charts", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Charts" with
any of the following names:

Qt5ChartsConfig.cmake
qt5charts-config.cmake

Add the installation prefix of "Qt5Charts" to CMAKE_PREFIX_PATH or set
"Qt5Charts_DIR" to a directory containing one of the above files. If
"Qt5Charts" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:291 (COLLECT_MODULE_IF_FOUND)


-- optional module Qt5Charts skipped
-- module Qt5Svg found (opt)
CMake Warning at CMakeLists.txt:228 (find_package):
By not providing "FindQt5DataVisualization.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5DataVisualization", but CMake did not find one.

Could not find a package configuration file provided by
"Qt5DataVisualization" with any of the following names:

Qt5DataVisualizationConfig.cmake
qt5datavisualization-config.cmake

Add the installation prefix of "Qt5DataVisualization" to CMAKE_PREFIX_PATH
or set "Qt5DataVisualization_DIR" to a directory containing one of the
above files. If "Qt5DataVisualization" provides a separate development
package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:293 (COLLECT_MODULE_IF_FOUND)


-- optional module Qt5DataVisualization skipped
-- module Qt5UiTools found (opt)
-- module Qt5WebChannel found (opt)
-- module Qt5WebEngineWidgets found (opt)
-- module Qt5WebKit found (opt)
-- module Qt5WebKitWidgets found (opt)
-- module Qt5WebSockets found (opt)
-- Detected OS: x11
-- PySide will be generated using the protected hack!
-- Checking for QGtkStyle in QtWidgets -- not found
-- Checking for QMacStyle in QtWidgets -- not found
-- Checking for QSslCertificate in QtNetwork -- not found
-- Checking for QSslCipher in QtNetwork -- not found
-- Checking for QSslConfiguration in QtNetwork -- not found
-- Checking for QSslError in QtNetwork -- not found
-- Checking for QSslKey in QtNetwork -- not found
-- Checking for QSslSocket in QtNetwork -- not found
-- QT_SRC_DIR variable not set, apidoc generation targets disabled.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/build-py2
[ 0%] Generating moc_customwidgets.cpp
[ 0%] Generating moc_destroylistener.cpp
[ 0%] Generating moc_customwidget.cpp
Scanning dependencies of target pyside2
[ 0%] Building CXX object libpyside/CMakeFiles/pyside2.dir/dynamicqmetaobject.cpp.o
[ 0%] Building CXX object libpyside/CMakeFiles/pyside2.dir/destroylistener.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/signalmanager.cpp.o
Scanning dependencies of target uiplugin
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/globalreceiver.cpp.o
[ 1%] Building CXX object plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/globalreceiverv2.cpp.o
[ 1%] Building CXX object plugins/CMakeFiles/uiplugin.dir/customwidget.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysideclassinfo.cpp.o
/home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/libpyside/signalmanager.cpp: In member function ‘void PySide::SignalManager::addGlobalSlot(const char*, PyObject*)’:
/home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/libpyside/signalmanager.cpp:348:41: warning: ‘int PySide::SignalManager::addGlobalSlotGetIndex(const char*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
addGlobalSlotGetIndex(slot, callback);
^
In file included from /home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/signalmanager.h:43:0,
from /home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/build-py2/libpyside/signalmanager.cpp:41:
/home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/signalmanager.h:101:27: note: declared here
PYSIDE_DEPRECATED(int addGlobalSlotGetIndex(const char* slot, PyObject* callback));
^
/home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/pysidemacros.h:57:41: note: in definition of macro ‘PYSIDE_DEPRECATED’
#define PYSIDE_DEPRECATED(func) func __attribute__ ((deprecated))
^~~~
[ 1%] Building CXX object plugins/CMakeFiles/uiplugin.dir/moc_customwidget.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysidemetafunction.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysidesignal.cpp.o
[ 1%] Building CXX object plugins/CMakeFiles/uiplugin.dir/moc_customwidgets.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysideslot.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysideproperty.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysideqflags.cpp.o
[ 1%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pysideweakref.cpp.o
[ 2%] Building CXX object libpyside/CMakeFiles/pyside2.dir/pyside.cpp.o
/home/kishore/.cache/pacaur/pyside2-git/src/pyside2-git/sources/pyside2/libpyside/pyside.cpp:53:10: fatal error: qapp_macro.h: No such file or directory
#include <qapp_macro.h>
^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [libpyside/CMakeFiles/pyside2.dir/build.make:355: libpyside/CMakeFiles/pyside2.dir/pyside.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 3%] Linking CXX static library libuiplugin.a
[ 3%] Built target uiplugin
make[1]: *** [CMakeFiles/Makefile2:150: libpyside/CMakeFiles/pyside2.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...