Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.2.4
-
None
-
-
d28fdab1fc (pyside/pyside-setup/dev) 7d6498cc05 (pyside/pyside-setup/6.2)
Description
Building pyside form the top-level cmake file fails due to a missing include path:
FAILED: sources/pyside6/libpyside/CMakeFiles/pyside6.dir/feature_select.cpp.o
/usr/bin/c++ -DBUILD_LIBPYSIDE -DPYSIDE_QML_PRIVATE_API_SUPPORT=1 -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -I/buil
d/pyside6/src/pyside-setup-opensource-src-6.2.4/sources/pyside6/libpyside -I/build/pyside6/src/pyside-setup-opensource-src-6.2.4/sources/shiboken6/libshib
oken -I/build/pyside6/src/build/sources/shiboken6/libshiboken -I/usr/include/python3.10 -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isyste
m /usr/lib/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtCore/6.2.3 -isystem /usr/include/qt6/QtCore/6.2.3/QtCore -isystem /usr/include/qt6/QtQml -isy
stem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtQml/6.2.3 -isystem /usr/include/qt6/QtQml/6.2.3/QtQml -march=x86-64 -mtune=generic -O2 -pipe -
fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSE
RTIONS -g -ffile-prefix-map=/build/pyside6/src=/usr/src/debug -flto=auto -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_
CAST_TO_ASCII -fPIC -fPIC -fPIC -std=gnu++17 -MD -MT sources/pyside6/libpyside/CMakeFiles/pyside6.dir/feature_select.cpp.o -MF sources/pyside6/libpyside
/CMakeFiles/pyside6.dir/feature_select.cpp.o.d -o sources/pyside6/libpyside/CMakeFiles/pyside6.dir/feature_select.cpp.o -c /build/pyside6/src/pyside-setup
-opensource-src-6.2.4/sources/pyside6/libpyside/feature_select.cpp
/build/pyside6/src/pyside-setup-opensource-src-6.2.4/sources/pyside6/libpyside/feature_select.cpp:47:10: fatal error: signature_p.h: No such file or directory
47 | #include <signature_p.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
Building only pyside6 against an already installed shiboken6 works fine. Also builds fine after applying this patch:
diff --git a/sources/pyside6/libpyside/feature_select.cpp b/sources/pyside6/libpyside/feature_select.cpp index 9459e1ca9..c9f166107 100644 --- a/sources/pyside6/libpyside/feature_select.cpp +++ b/sources/pyside6/libpyside/feature_select.cpp @@ -44,7 +44,7 @@ #include <shiboken.h> #include <sbkfeature_base.h> -#include <signature_p.h> +#include <signature/signature_p.h> ////////////////////////////////////////////////////////////////////////////// //
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2001 Fails to compile with CMake
- Closed