[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

build failure while updating pyside2 in raspbian



Hi, I am trying to update pyside2 in raspbian bullseye to bring it back into sync with Debian, we carry a couple of local patches to the packaging to build without qtwebengine (which we don't have in raspbian, but serveral Debian architectures don't have it either) and to allow the documentation packages to be built on 32-bit.

Unfortunately after merging our patches and trying to build I get

(minimal) clang_parseTranslationUnit2(0x0, cmd[6]=-isystem/usr/lib/llvm-9/lib/clang/9/include -fPIC -Wno-constant-logical-operand -std=c++14 -I/pyside2/sources/shiboken2/tests/libminimal /tmp/global_pjsLqX.hpp)
/pyside2/sources/shiboken2/tests/libminimal/listuser.h:32:10: fatal error: 'list' file not found
(minimal) Errors in /tmp/global_pjsLqX.hpp:
/pyside2/sources/shiboken2/tests/libminimal/listuser.h:32:10: fatal: 'list' file not found
   /tmp/global_pjsLqX.hpp:1:10: note: in file included from /tmp/global_pjsLqX.hpp:1:
/pyside2/sources/shiboken2/tests/minimalbinding/global.h:32:10: note: in file included from /pyside2/sources/shiboken2/tests/minimalbinding/global.h:32:


(minimal) Clang: 1 diagnostic messages:
  /pyside2/sources/shiboken2/tests/libminimal/listuser.h:32:10: fatal: 'list' file not found
   /tmp/global_pjsLqX.hpp:1:10: note: in file included from /tmp/global_pjsLqX.hpp:1:
/pyside2/sources/shiboken2/tests/minimalbinding/global.h:32:10: note: in file included from /pyside2/sources/shiboken2/tests/minimalbinding/global.h:32:


Keeping temporary file: /tmp/global_pjsLqX.hpp
shiboken: Error running ApiExtractor.
Command line: --project-file=/pyside2/pyside3_build/py3.8-qt5.12.5-32bit-relwithdebinfo/shiboken2/tests/minimalbinding/minimal-binding.txt
make[4]: *** [tests/minimalbinding/CMakeFiles/minimal_generator.dir/build.make:66: tests/minimalbinding/mjb_rejected_classes.log] Error 1
make[4]: Leaving directory '/pyside2/pyside3_build/py3.8-qt5.12.5-32bit-relwithdebinfo/shiboken2'
make[3]: *** [CMakeFiles/Makefile2:2789: tests/minimalbinding/CMakeFiles/minimal_generator.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....

Any idea what might be going wrong and what can be done about it?


Reply to: