danoon2/Boxedwine

Another fault of building boxedwine

Closed this issue · 2 comments

-- Checking for C++14 compiler
-- Checking for C++14 compiler - available
-- Could NOT find APR (missing: APR_INCLUDE_DIR APR_LIBRARY)
-- Could NOT find APRUTIL (missing: APRUTIL_INCLUDE_DIR APRUTIL_LIBRARY)
-- Could NOT find Apache2 (missing: APACHE2_INCLUDE_DIR)
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (MYSQL) does
not match the name of the calling package (MySQL). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindMySQL.cmake:107 (find_package_handle_standard_args)
CMakeLists.txt:119 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARY)
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- Could NOT find ODBC (missing: ODBC_LIBRARY ODBC_INCLUDE_DIR)
-- Building without tests & samples
-- Using internal sqlite, zlib, pcre, expat, ...
-- CMake 3.22.1 successfully configured Poco using Unix Makefiles generator
-- Poco package version: 1.10.1
-- Building static libraries
-- [cmake] Installation target path: /usr/local
-- [cmake] Bulid for OS type: Linux
-- [cmake] Build for OS version: 4.14.116
-- [cmake] Build for CPU type: aarch64
-- [cmake] Build type: Release
-- [cmake] Build with cxx flags: -O3 -DNDEBUG
-- [cmake] Build with c flags: -O3 -DNDEBUG
-- Building: Util
-- Building: Net
-- Building: NetSSL_OpenSSL
-- Building: Crypto
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fish4terrisa/Boxedwine/project/linux/linux_build
Consolidate compiler generated dependencies of target Foundation
[ 50%] Built target Foundation
Consolidate compiler generated dependencies of target Util
[ 58%] Built target Util
Consolidate compiler generated dependencies of target Net
[ 86%] Built target Net
Consolidate compiler generated dependencies of target Crypto
[ 92%] Built target Crypto
Consolidate compiler generated dependencies of target NetSSL
[100%] Built target NetSSL
In file included from /usr/include/string.h:535,
from ../../include/platform.h:143,
from ../../include/boxedwine.h:56,
from ../../source/ui/controls/containersView.cpp:1:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘ContainersView::ContainersView(std::string, std::string)::<lambda()>’ at ../../source/ui/controls/containersView.cpp:324:32,
inlined from ‘constexpr _Res std::__invoke_impl(std::__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = ContainersView::ContainersView(std::string, std::string)::<lambda()>&; _Args = {}]’ at /usr/include/c++/11/bits/invoke.h:61:36,
inlined from ‘constexpr std::enable_if_t<is_invocable_r_v<_Res, _Callable, _Args ...>, _Res> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = ContainersView::ContainersView(std::string, std::string)::<lambda()>&; _Args = {}]’ at /usr/include/c++/11/bits/invoke.h:111:28,
inlined from ‘static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = ContainersView::ContainersView(std::string, std::string)::<lambda()>; _ArgTypes = {}]’ at /usr/include/c++/11/bits/std_function.h:290:30:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentApp(BoxedApp*)’ at ../../source/ui/controls/containersView.cpp:496:28:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentApp(BoxedApp*)’ at ../../source/ui/controls/containersView.cpp:497:28:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentApp(BoxedApp*)’ at ../../source/ui/controls/containersView.cpp:503:32:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentApp(BoxedApp*)’ at ../../source/ui/controls/containersView.cpp:501:32:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentApp(BoxedApp*)’ at ../../source/ui/controls/containersView.cpp:530:32:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentApp(BoxedApp*)’ at ../../source/ui/controls/containersView.cpp:531:34:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentContainer(BoxedContainer*)’ at ../../source/ui/controls/containersView.cpp:553:34:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentContainer(BoxedContainer*)’ at ../../source/ui/controls/containersView.cpp:554:38:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void ContainersView::setCurrentContainer(BoxedContainer*)’ at ../../source/ui/controls/containersView.cpp:566:43:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (_dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source/ui/controls/ImGuiLayout.cpp:4:
../../source/ui/controls/../utils/imgui_markdown.h: In function ‘void ImGui::Markdown(const char*, size_t, const ImGui::MarkdownConfig&)’:
../../source/ui/controls/../utils/imgui_markdown.h:476:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
476 | while( ++j < (int)markdownLength
&& bContinueChecking )
| ~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:535,
from ../../include/platform.h:143,
from ../../include/boxedwine.h:56,
from ../../source/ui/controls/ImGuiLayout.cpp:1:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘std::shared_ptr LayoutRow::addTextInput(const string&, bool)’ at ../../source/ui/controls/ImGuiLayout.cpp:321:19:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:535,
from ../../include/platform.h:143,
from ../../include/boxedwine.h:56,
from ../../source/ui/controls/installView.cpp:1:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void InstallView::setContainerName()’ at ../../source/ui/controls/installView.cpp:253:34:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void LayoutTextInputControl::setText(const string&)’ at ../../source/ui/controls/../controls/ImGuiLayout.h:74:49,
inlined from ‘void InstallView::createInstallTab(const string&)’ at ../../source/ui/controls/installView.cpp:189:33:
/usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1024 equals destination size [-Wstringop-truncation]
95 | return __builtin___strncpy_chk (__dest, __src, __len,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
96 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
../../source/ui/data/boxedApp.cpp: In member function ‘void BoxedApp::launch()’:
../../source/ui/data/boxedApp.cpp:145:21: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
145 | if (this->vsync == VSYNC_NOT_SET) {
../../platform/sdl/knativewindow.cpp: In member function ‘virtual unsigned int KNativeWindowSdl::glCreateContext(KThread*, std::shared_ptr, int, int, int, int)’:
../../platform/sdl/knativewindow.cpp:641:44: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
641 | if (windowIsGL && glWindowVersionMajor != major && KSystem::openglType != OPENGL_TYPE_OSMESA) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../../platform/linux/memory64.cpp: In function ‘void freeNativeMemory(Memory*, unsigned int, unsigned int)’:
../../platform/linux/memory64.cpp:108:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
108 | for (int i=0;i<nativePageCount;i++) {
| ~^~~~~~~~~~~~~~~~
../../source/util/crc.cpp: In function ‘unsigned int crc32File(const string&)’:
../../source/util/crc.cpp:41:56: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘__off_t’ {aka ‘long int’} [-Wsign-compare]
41 | if (fread(buffer, 1, (int)buf.st_size, fp) == buf.st_size) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
cc1: warning: command-line option ‘-Wno-delete-incomplete’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-Wno-invalid-offsetof’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-Wno-delete-incomplete’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-Wno-invalid-offsetof’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-Wno-delete-incomplete’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-Wno-invalid-offsetof’ is valid for C++/ObjC++ but not for C
cc1: warning: command-line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C
/bin/ld: not found -ldecor-0: no such file or directory
collect2: error: ld returned 1 exit status

Could you give me your ld version?
Just run ld -v

foune the fault :libdecor-0-dev is needed