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

Re: build failure while updating pyside2 in raspbian



On 24/05/2020 16:01, peter green wrote:

(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:



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

I found the issue myself, it seems that the issue was caused by having libgcc-10-dev but not libstdc++-10-dev installed in the build environment and this causes clang to use the gcc-10 directories (which contain no c++ stuff because libstdc++-10-dev is not installed) rather than the gcc-9 directories (which do contain the c++ stuff).

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961547 for more details.


Reply to: