Closed Subtixx closed 1 year ago
I could not replicate this issue in EndeavourOS. The module builds with no issues. I will try using Fish shell but in Bash it works fine.
This taken from the Arch Linux Wiki:
"fish, the friendly interactive shell, is a commandline shell intended to be interactive and user-friendly.
fish is intentionally not fully POSIX compliant, it aims at addressing POSIX inconsistencies (as perceived by the creators) with a simplified or a different syntax. This means that even simple POSIX compliant scripts may require some significant adaptation or even full rewriting to run with fish."
Would it be possible to test the citra and skyscraper modules using the Bash shell? Thank you.
Please ignore the above I tested using Fish shell running in interactive mode and there were no compilation issues.
That is very strange. I'll see if I can reproduce it
Closing. I could not replicate the issue.
I'm having this problem. Here's the log.
[1420/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/arm/skyeye_common/armstate.cpp.o
[1421/1874] Building CXX object src/common/CMakeFiles/citra_common.dir/file_util.cpp.o
FAILED: src/common/CMakeFiles/citra_common.dir/file_util.cpp.o
/usr/bin/c++ -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_NO_CXX98_FUNCTION_BASE -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_NO_LIB -DNDEBUG -D_FILE_OFFSET_BITS=64 -I/home/nutzhell/ArchyPie-Setup/tmp/build/citra/src/. -I/home/nutzhell/ArchyPie-Setup/tmp/build/citra/externals/fmt/include -I/home/nutzhell/ArchyPie-Setup/tmp/build/citra/externals/zstd/lib -I/home/nutzhell/ArchyPie-Setup/tmp/build/citra/externals/xbyak -isystem /home/nutzhell/ArchyPie-Setup/tmp/build/citra/externals/./library-headers/fdk-aac/include -isystem /home/nutzhell/ArchyPie-Setup/tmp/build/citra/externals/./library-headers/ffmpeg/include -isystem /home/nutzhell/ArchyPie-Setup/tmp/build/citra/externals/./microprofile -march=native -mtune=native -pipe -O2 -O3 -DNDEBUG -std=gnu++20 -fvisibility=default -Wall -Wno-attributes -Werror -Winvalid-pch -include /home/nutzhell/ArchyPie-Setup/tmp/build/citra/build/src/common/CMakeFiles/citra_common.dir/cmake_pch.hxx -MD -MT src/common/CMakeFiles/citra_common.dir/file_util.cpp.o -MF src/common/CMakeFiles/citra_common.dir/file_util.cpp.o.d -o src/common/CMakeFiles/citra_common.dir/file_util.cpp.o -c /home/nutzhell/ArchyPie-Setup/tmp/build/citra/src/common/file_util.cpp
/home/nutzhell/ArchyPie-Setup/tmp/build/citra/src/common/file_util.cpp: In function ‘void FileUtil::SplitFilename83(const std::string&, std::array<char, 9>&, std::array<char, 4>&)’:
/home/nutzhell/ArchyPie-Setup/tmp/build/citra/src/common/file_util.cpp:917:28: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
917 | extension[j++] = Common::ToUpper(letter);
In file included from /home/nutzhell/ArchyPie-Setup/tmp/build/citra/src/./common/common_precompiled_headers.h:8,
from /home/nutzhell/ArchyPie-Setup/tmp/build/citra/src/common/precompiled_headers.h:7,
from /home/nutzhell/ArchyPie-Setup/tmp/build/citra/build/src/common/CMakeFiles/citra_common.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/c++/13.2.1/array:109:55: note: at offset 4 into destination object ‘std::array<char, 4>::_M_elems’ of size 4
109 | typename __array_traits<_Tp, _Nm>::_Type _M_elems;
| ^~~~~~~~
cc1plus: all warnings being treated as errors
[1422/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/arm/skyeye_common/vfp/vfpdouble.cpp.o
[1423/1874] Building CXX object src/common/CMakeFiles/citra_common.dir/settings.cpp.o
[1424/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/arm/dyncom/arm_dyncom_trans.cpp.o
[1425/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/arm/skyeye_common/vfp/vfpsingle.cpp.o
[1426/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/cheats/cheats.cpp.o
[1427/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/file_sys/archive_backend.cpp.o
[1428/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/cheats/gateway_cheat.cpp.o
[1429/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/dumping/ffmpeg_backend.cpp.o
[1430/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/arm/dyncom/arm_dyncom_interpreter.cpp.o
[1431/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/file_sys/archive_other_savedata.cpp.o
[1432/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/file_sys/archive_extsavedata.cpp.o
[1433/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/file_sys/archive_ncch.cpp.o
[1434/1874] Building CXX object src/core/CMakeFiles/citra_core.dir/core.cpp.o
ninja: build stopped: subcommand failed.
Could not successfully build citra - Citra: Nintendo 3DS Emulator (/home/nutzhell/ArchyPie-Setup/tmp/build/citra/build/bin/Release/citra not found).
/home/nutzhell/ArchyPie-Setup
Log Ended At: Sun Oct 29 06:11:05 AM PDT 2023
Total Running Time: 0 hours, 3 mins, 21 secs
Hi, I have updated the Citra script it is now improved and builds fine. Please update the script from the ArchyPie menu. Thanks.
This was successful, thanks! :)
Guess what! lol It broke again. Will not update/clean install even after updating setup script. Here's a snip from the end of the log:
-- Using system FFmpeg headers.
-- Building SPIRV-Header examples
-- Installing SPIRV-Header
-- Found system Zstandard
-- Checking for module 'libenet'
-- Found libenet, version 1.3.17
-- Found libenet /usr/lib/libenet.so, /usr/include/enet
CMake Error at externals/CMakeLists.txt:249 (find_package):
By not providing "Findcubeb.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "cubeb", but
CMake did not find one.
Could not find a package configuration file provided by "cubeb" with any of
the following names:
cubebConfig.cmake
cubeb-config.cmake
Add the installation prefix of "cubeb" to CMAKE_PREFIX_PATH or set
"cubeb_DIR" to a directory containing one of the above files. If "cubeb"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory
Could not successfully build citra - Citra: Nintendo 3DS Emulator (/home/nutzhell/ArchyPie-Setup/tmp/build/citra/build/bin/Release/citra not found).
/home/nutzhell/ArchyPie-Setup
Log Ended At: Fri Nov 3 05:38:42 PM PDT 2023
Total Running Time: 0 hours, 1 mins, 19 secs
Hi, I have fixed the script if you would like to try it again. Thanks.
Yep works again, thanks very much again! :)
running it with sudo:
Cloning it manually with --recursive and I can compile it BUT! not with ninja -c build. rather by cd build && cmake --build .