-
Notifications
You must be signed in to change notification settings - Fork 712
Open
Description
I tried to compile linuxdeploy using ci/build.sh, ci/build-in-docker.sh and
manually within my own build directory (mkdir build; cd build; cmake ../" getting the following cmake error
curing configuration:
...:/home/Tools/linuxdeploy/linuxdeploy/build$ cmake ../
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:24 (message):
USE_CCACHE set, but could not find ccache
CMake Error at CMakeLists.txt:51 (include):
include could not find requested file:
/home/Tools/linuxdeploy/linuxdeploy/lib/cmake-scripts/include-or-build-gtest.cmake
CMake Error at lib/CMakeLists.txt:5 (add_subdirectory):
The source directory
/home/Tools/linuxdeploy/linuxdeploy/lib/linuxdeploy-desktopfile
does not contain a CMakeLists.txt file.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'libpng'
-- Found libpng, version 1.6.43
-- Checking for module 'libjpeg'
-- Found libjpeg, version 2.1.5
-- Found CImg: /usr/include (found version "321")
-- Generating excludelist
-- [generate-excludelist.sh] downloading excludelist from GitHub
sha256sum: excludelist.h: Datei oder Verzeichnis nicht gefunden
-- [generate-excludelist.sh] changes detected, updating excludelist.h
-- [linuxdeploy] Adding test test_appdir
-- [linuxdeploy] Adding test test_linuxdeploy
-- [linuxdeploy] Adding test test_elf_file
-- Configuring incomplete, errors occurred!
After commenting out the BUILD_TESTING lines and add_subdirectory(linuxdeploy-desktopfile EXCLUDE_FROM_ALL) in the CMakeLists.txt files, I get the following:
...:/home/Tools/linuxdeploy/linuxdeploy/build$ cmake ../
CMake Warning at CMakeLists.txt:24 (message):
USE_CCACHE set, but could not find ccache
-- Generating excludelist
-- [generate-excludelist.sh] downloading excludelist from GitHub
-- [generate-excludelist.sh] no changes detected, not touching excludelist.h
-- Configuring done (0.4s)
CMake Error at src/CMakeLists.txt:40 (target_link_libraries):
Cannot find source file:
/home/Tools/linuxdeploy/linuxdeploy/lib/args/args.hxx
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
It seems, that not all required files are committed into the repo. The corresponding folders are empty.
.../home/Tools/linuxdeploy/linuxdeploy$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: CMakeLists.txt
modified: lib/CMakeLists.txt
no changes added to commit (use "git add" and/or "git commit -a")
My Distro is Kubuntu 24.04.
Metadata
Metadata
Assignees
Labels
No labels