Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade runtime to 6.8 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

j8r
Copy link
Contributor

@j8r j8r commented Oct 31, 2024

The recently merged 2119 version adds Qt 6.8 support: azahar-emu/azahar#441

@flathubbot
Copy link
Contributor

Started test build 158135

@flathubbot
Copy link
Contributor

Build 158135 failed

@OpenSauce04
Copy link
Collaborator

I'm unsure of how the bump in Qt version is causing this build error 🤔
I'll have to investigate this after the new project is ready.

@j8r
Copy link
Contributor Author

j8r commented Nov 3, 2024

Errors are:

FAILED: src/common/CMakeFiles/lime_common.dir/cmake_pch.hxx.pch 
/usr/lib/sdk/llvm18/bin/clang++ -DBOOST_ALL_NO_LIB -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DENABLE_QT -DENABLE_QT_TRANSLATION -DENABLE_SOFTWARE_RENDERER -DENABLE_VULKAN -DNDEBUG -D_FILE_OFFSET_BITS=64 -I/run/build/lime/src/. -I/run/build/lime/externals/gamemode/include -I/run/build/lime/externals/fmt/include -I/run/build/lime/externals/zstd/build/cmake/../../lib -I/run/build/lime/externals/zstd/lib -I/run/build/lime/externals/oaknut/include -isystem /run/build/lime/externals/./library-headers/ffmpeg/include -isystem /run/build/lime/externals/./microprofile -isystem /run/build/lime/externals/boost -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -Wno-unused-command-line-argument -O3 -DNDEBUG -std=gnu++20 -flto=thin -fvisibility=default -Wall -Wno-unused-command-line-argument -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -D_FORTIFY_SOURCE=2 -Werror -fsized-deallocation -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /run/build/lime/_flatpak_build/src/common/CMakeFiles/lime_common.dir/cmake_pch.hxx -x c++-header -Xclang -fno-pch-timestamp -MD -MT src/common/CMakeFiles/lime_common.dir/cmake_pch.hxx.pch -MF src/common/CMakeFiles/lime_common.dir/cmake_pch.hxx.pch.d -o src/common/CMakeFiles/lime_common.dir/cmake_pch.hxx.pch -c /run/build/lime/_flatpak_build/src/common/CMakeFiles/lime_common.dir/cmake_pch.hxx.cxx
In file included from <built-in>:478:
<command line>:16:9: error: '_FORTIFY_SOURCE' macro redefined [-Werror,-Wmacro-redefined]
   16 | #define _FORTIFY_SOURCE 3
      |         ^
<command line>:15:9: note: previous definition is here
   15 | #define _FORTIFY_SOURCE 2
      |         ^
1 error generated.
[1036/1899] Building CXX object externals/openal-soft/CMakeFiles/OpenAL.dir/common/dynload.cpp.o
[1037/1899] Building CXX object externals/openal-soft/CMakeFiles/OpenAL.dir/common/althrd_setname.cpp.o
[1038/1899] Building CXX object externals/teakra/src/CMakeFiles/teakra.dir/dma.cpp.o
[1039/1899] Building CXX object src/network/CMakeFiles/network.dir/cmake_pch.hxx.pch
FAILED: src/network/CMakeFiles/network.dir/cmake_pch.hxx.pch 
/usr/lib/sdk/llvm18/bin/clang++ -DBOOST_ALL_NO_LIB -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DENABLE_QT -DENABLE_QT_TRANSLATION -DENABLE_SOFTWARE_RENDERER -DENABLE_VULKAN -DENABLE_WEB_SERVICE -DNDEBUG -D_FILE_OFFSET_BITS=64 -I/run/build/lime/src/. -I/run/build/lime/externals/fmt/include -I/run/build/lime/externals/./enet/include -isystem /run/build/lime/externals/./library-headers/ffmpeg/include -isystem /run/build/lime/externals/./microprofile -isystem /run/build/lime/externals/boost -isystem /run/build/lime/externals/./httplib -isystem /run/build/lime/externals/./libressl/include -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -Wno-unused-command-line-argument -O3 -DNDEBUG -std=gnu++20 -flto=thin -fvisibility=default -Wall -Wno-unused-command-line-argument -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -D_FORTIFY_SOURCE=2 -Werror -DCPPHTTPLIB_OPENSSL_SUPPORT -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /run/build/lime/_flatpak_build/src/network/CMakeFiles/network.dir/cmake_pch.hxx -x c++-header -Xclang -fno-pch-timestamp -MD -MT src/network/CMakeFiles/network.dir/cmake_pch.hxx.pch -MF src/network/CMakeFiles/network.dir/cmake_pch.hxx.pch.d -o src/network/CMakeFiles/network.dir/cmake_pch.hxx.pch -c /run/build/lime/_flatpak_build/src/network/CMakeFiles/network.dir/cmake_pch.hxx.cxx
In file included from <built-in>:477:
<command line>:18:9: error: '_FORTIFY_SOURCE' macro redefined [-Werror,-Wmacro-redefined]
   18 | #define _FORTIFY_SOURCE 3
      |         ^
<command line>:16:9: note: previous definition is here
   16 | #define _FORTIFY_SOURCE 2
      |         ^
1 error generated.
[1040/1899] Building CXX object src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx.pch
FAILED: src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx.pch 
/usr/lib/sdk/llvm18/bin/clang++ -DBOOST_ALL_NO_LIB -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DENABLE_QT -DENABLE_QT_TRANSLATION -DENABLE_SOFTWARE_RENDERER -DENABLE_VULKAN -DENABLE_WEB_SERVICE -DNDEBUG -D_FILE_OFFSET_BITS=64 -I/run/build/lime/src/. -I/run/build/lime/externals/fmt/include -isystem /run/build/lime/externals/./library-headers/ffmpeg/include -isystem /run/build/lime/externals/./microprofile -isystem /run/build/lime/externals/boost -isystem /run/build/lime/externals/./json -isystem /run/build/lime/externals/./httplib -isystem /run/build/lime/externals/./libressl/include -isystem /run/build/lime/externals/./cpp-jwt/include -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -Wno-unused-command-line-argument -O3 -DNDEBUG -std=gnu++20 -flto=thin -fvisibility=default -Wall -Wno-unused-command-line-argument -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -D_FORTIFY_SOURCE=2 -Werror -DCPPHTTPLIB_OPENSSL_SUPPORT -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /run/build/lime/_flatpak_build/src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx -x c++-header -Xclang -fno-pch-timestamp -MD -MT src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx.pch -MF src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx.pch.d -o src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx.pch -c /run/build/lime/_flatpak_build/src/web_service/CMakeFiles/web_service.dir/cmake_pch.hxx.cxx
In file included from <built-in>:477:
<command line>:19:9: error: '_FORTIFY_SOURCE' macro redefined [-Werror,-Wmacro-redefined]
   19 | #define _FORTIFY_SOURCE 3
      |         ^
<command line>:17:9: note: previous definition is here
   17 | #define _FORTIFY_SOURCE 2
      |         ^
1 error generated.

Look like the _FORTIFY_SOURCE macro is defined in several places.

@OpenSauce04
Copy link
Collaborator

OpenSauce04 commented Nov 3, 2024

I know, I looked
It doesn't seem that this macro issue is happening in Lime3DS itself, as this macro is only defined a single time in the source code and it builds fine in all other environments. It must be some external factor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants