Closed amano-kenji closed 1 year ago
CMake Warning at CMakeLists.txt:53 (message): lrelease program not found, translation files not built -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/translations [23/250] cd /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/translations && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/generate_translations_header-prefix/src/generate_translations_header-stamp/generate_translations_header-build FAILED: generate_translations_header-prefix/src/generate_translations_header-stamp/generate_translations_header-build /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/generate_translations_header-prefix/src/generate_translations_header-stamp/generate_translations_header-build cd /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/translations && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/generate_translations_header-prefix/src/generate_translations_header-stamp/generate_translations_header-build [1/2] Building C object CMakeFiles/generate_translations_header.dir/generate_translations_header.c.o [2/2] Linking C executable generate_translations_header FAILED: generate_translations_header : && /usr/bin/cc -O2 -pipe -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/generate_translations_header.dir/generate_translations_header.c.o -o generate_translations_header && cd /var/tmp/portage/net-p2p/haven-main-3.0.2/work/haven-main-3.0.2_build/translations && ./generate_translations_header /bin/sh: 1: ./generate_translations_header: Permission denied ninja: build stopped: subcommand failed.
Can you be more precise ? which os ? gcc ?
OS // Gentoo Linux. GCC-11.3.1
This was caused by building haven-main with ebuild inside firejail sandbox. After removing firejail sandbox, the error was gone.