cannot recompiule in sandbox

Alec Leamas leamas.alec at gmail.com
Mon Oct 30 22:26:31 UTC 2023


Dear list,

I have  program which I can build without any problems using 
flatpak-builder. However, I need to patch, recompile and test inside the 
sandbox.

So, I do 'flatpak-builder --run app manifest bash' and enters the 
sandbox. I'm then in the cmake build directory, and a plain 'make' 
should rebuild the project. However, I get message below.

This is extremely strange since it just was successfully built using the 
same configuration.Using --debug-trycompile I have inspected the build 
directories without noticing anything strange. In particular, 
CMAKE_C_COMPILER can compile the test file.

Any hints out there?

Message:
------------

is not able to compile a simple test program.

   It fails with the following output:

     Change Dir: 
'/home/mk/src/OpenCPN/build/CMakeFiles/CMakeScratch/TryCompile-zgmo0N'

     Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 
/usr/bin/gmake -f Makefile cmTC_75426/fast
     No such file or directory

-------------


Cheers!
--alec


More information about the Flatpak mailing list