Failing to build O2: #include <filesystem> in testCompStream.cxx

I have updated my O2 and alidist and now the build failed on my ubuntu 18.04 (alibuild installation). The message is:
/home/manso/alice/sw/SOURCES/O2/dev/0/Common/Utils/test/testCompStream.cxx:22:10: fatal error: filesystem: No such file or directory
The file testCompStream.cxx is there, it’s the include which is not working.
Any idea wellcome.

Hello Franck,

there is a JIRA ticket providing a workaround until the problem is fixed.


Thanks for the information. After the modification of to force gcc10, the compilation still failed in DebugGUI@v0.5.2:
several messages like that /home/manso/alice/sw/ubuntu1804_x86-64/GCC-Toolchain/v10.2.0-alice2-local1/include/c++/10.2.0/pstl/parallel_backend_tbb.h:28:6: error: #error Intel(R) Threading Building Blocks 2018 is required; older versions are not supported.
And also “Package capstone was not found”…

Hi @manso
I had this problem on Ubuntu 20.04 and solved it by

sudo apt remove libtbb-dev


Hello Ruben, thanks a lot for the help!
Now it fully works.
Thanks to Thomas also.