mauybe
-DUSE_SYSTEM_YAML=TRUE \
is the culprit?
Git Clone URL: | https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy) |
---|---|
Package Base: | pcsx2-git |
Description: | PlayStation 2 emulator |
Upstream URL: | https://github.com/PCSX2/pcsx2 |
Licenses: | GPL-3.0-or-later |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | alucryd |
Maintainer: | weirdbeard (xiota) |
Last Packager: | weirdbeard |
Votes: | 131 |
Popularity: | 0.29 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2025-03-25 20:47 (UTC) |
« First ‹ Previous 1 .. 23 24 25 26 27 28 29 30 31 32 33 .. 70 Next › Last »
mauybe
-DUSE_SYSTEM_YAML=TRUE \
is the culprit?
Then for now, all we can do is wait for stable to update
Still no build even with fresh rapidyaml-git install.
[280/677] Building CXX object pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o
FAILED: pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o
/usr/bin/c++ -DENABLE_VULKAN -DFMT_LOCALE -DFMT_SHARED -DPCSX2_APP_DATADIR=\"../share/PCSX2\" -DPCSX2_APP_DOCDIR=\"../share/doc/Pcsx2\" -DPCSX2_DEBUG -DPCSX2_DEVBUILD -DSDL_BUILD -DSPU2X_CUBEB -DSPU2X_PULSEAUDIO -DVULKAN_USE_WAYLAND=1 -DVULKAN_USE_X11=1 -DWAYLAND_API -DWXUSINGDLL -DX11_API -DXDG_STD -D_ARCH_64=1 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_M_X86=1 -D__WXGTK__ -I/home/tomek/.cache/yay/pcsx2-git/src/build/pcsx2/PAD/Linux -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/. -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/x86 -I/home/tomek/.cache/yay/pcsx2-git/src/build/pcsx2 -I/home/tomek/.cache/yay/pcsx2-git/src/build/common/include -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/jpgd -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/xbyak -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/cubeb/cubeb/include -I/home/tomek/.cache/yay/pcsx2-git/src/build/exports -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/common/../3rdparty/include -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/common/.. -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/vulkan-headers/include -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/glslang/glslang -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/glslang/include -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/glad/include -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/imgui/imgui -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/imgui/include -I/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/libchdr/libchdr/include -isystem /usr/lib/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -isystem /usr/include/SDL2 -isystem /usr/include/soundtouch -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/lzo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/at-spi-2.0 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/tomek/.cache/yay/pcsx2-git/src=/usr/src/debug -pthread -g -flto -fno-fat-lto-objects -fPIE -msse -msse2 -msse4.1 -mfxsr -pipe -fvisibility=hidden -pthread -fno-builtin-strcmp -fno-builtin-memcmp -mfpmath=sse -fno-operator-names -Wall -Wextra -Wno-attributes -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-format -Wno-format-security -Wno-overloaded-virtual -Wno-unused-value -Wno-stringop-truncation -Wno-stringop-overflow -Wstrict-aliasing -Wstrict-overflow=1 -fno-strict-aliasing -Wno-parentheses -Wno-missing-braces -Wno-unknown-pragmas -DWX_PRECOMP -Wno-packed-not-aligned -Wno-class-memaccess -D_REENTRANT -Winvalid-pch -include /home/tomek/.cache/yay/pcsx2-git/src/build/pcsx2/CMakeFiles/PCSX2.dir/cmake_pch.hxx -MD -MT pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o -MF pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o.d -o pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o -c /home/tomek/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GameDatabase.cpp
/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GameDatabase.cpp: In function ‘void GameDatabase::initDatabase()’:
/home/tomek/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GameDatabase.cpp:475:41: error: ‘parse_in_arena’ is not a member of ‘ryml’
475 | ryml::Tree tree = ryml::parse_in_arena(c4::to_csubstr(buf.value()));
| ^~~~~~~~~~~~~~
[291/677] Building CXX object pcsx2/CMakeFiles/PCSX2.dir/Gif_Unit.cpp.o
ninja: build stopped: subcommand failed.
==> BŁĄD: Wystąpił błąd w build().
Przerywam...
-> error making: pcsx2-git
I flipped the dependency to the rapidyaml-git package for now
Yeah, it's going to be a balancing act between the two as to whose more up-to-date, optimized, etc. I could temporarily switch between them at least for now.
Replaced rapidyaml with rapidyaml-git and it compiles now.
@yoshi314 It could be something related to the fact that I use a few more submodules that pcsx2 prefers than the package versions and something along those lines is being packaged into the binary.
@Star-X It's not working currently because pcsx2 has updated their RapidYaml version to a higher point than the current Arch package version which is missing the feature they need. I've mentioned it to the maintainer and will hopefully see it fixed soon.
Also, for anyone else around here. I'm working on adding a set of dependencies that are required for Steam Deck usage. If there's any feedback you have about that or better ways to optimize pcsx2-git for Steam Deck and normal rig usage lemme know.
@Star-X I bet that's the rapid-yaml package going ary
Dammit, it stopped working AGAIN. Here's where it failed.
[277/676] Building CXX object pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o
FAILED: pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o
/usr/bin/c++ -DENABLE_VULKAN -DFMT_LOCALE -DFMT_SHARED -DPCSX2_APP_DATADIR=\"../share/PCSX2\" -DPCSX2_APP_DOCDIR=\"../share/doc/Pcsx2\" -DPCSX2_DEBUG -DPCSX2_DEVBUILD -DSDL_BUILD -DSPU2X_CUBEB -DSPU2X_PULSEAUDIO -DVULKAN_USE_WAYLAND=1 -DVULKAN_USE_X11=1 -DWAYLAND_API -DWXUSINGDLL -DX11_API -DXDG_STD -D_ARCH_64=1 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_M_X86=1 -D_M_X86_64=1 -D__M_X86_64=1 -D__WXGTK__ -I/home/starx555/.cache/pacaur/pcsx2-git/src/build/pcsx2/PAD/Linux -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/pcsx2/. -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/pcsx2/x86 -I/home/starx555/.cache/pacaur/pcsx2-git/src/build/pcsx2 -I/home/starx555/.cache/pacaur/pcsx2-git/src/build/common/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/jpgd -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/xbyak -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/cubeb/cubeb/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/build/exports -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/common/../3rdparty/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/common/.. -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/vulkan-headers/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/glslang/glslang -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/glslang/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/glad/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/imgui/imgui -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/imgui/include -I/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/3rdparty/libchdr/libchdr/include -isystem /usr/lib/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -isystem /usr/include/SDL2 -isystem /usr/include/soundtouch -isystem /usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/cairo -isystem /usr/include/lzo -isystem /usr/include/pixman-1 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cloudproviders -isystem /usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/dbus-1.0/include -isystem /usr/include/at-spi-2.0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -ffile-prefix-map=/home/starx555/.cache/pacaur/pcsx2-git/src=/usr/src/debug -pthread -g -flto -fno-fat-lto-objects -fPIE -msse -msse2 -msse4.1 -mfxsr -pipe -fvisibility=hidden -pthread -fno-builtin-strcmp -fno-builtin-memcmp -mfpmath=sse -fno-operator-names -Wall -Wextra -Wno-attributes -Wno-unused-function -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-format -Wno-format-security -Wno-overloaded-virtual -Wno-unused-value -Wno-stringop-truncation -Wno-stringop-overflow -Wstrict-aliasing -Wstrict-overflow=1 -fno-strict-aliasing -Wno-parentheses -Wno-missing-braces -Wno-unknown-pragmas -DWX_PRECOMP -Wno-packed-not-aligned -Wno-class-memaccess -D_REENTRANT -Winvalid-pch -include /home/starx555/.cache/pacaur/pcsx2-git/src/build/pcsx2/CMakeFiles/PCSX2.dir/cmake_pch.hxx -MD -MT pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o -MF pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o.d -o pcsx2/CMakeFiles/PCSX2.dir/GameDatabase.cpp.o -c /home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/pcsx2/GameDatabase.cpp
/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/pcsx2/GameDatabase.cpp: In function ‘void GameDatabase::initDatabase()’:
/home/starx555/.cache/pacaur/pcsx2-git/src/pcsx2/pcsx2/GameDatabase.cpp:475:41: error: ‘parse_in_arena’ is not a member of ‘ryml’
475 | ryml::Tree tree = ryml::parse_in_arena(c4::to_csubstr(buf.value()));
| ^~~~~~~~~~~~~~
[284/676] Building CXX object pcsx2/CMakeFiles/PCSX2.dir/FiFo.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build pcsx2-git package(s)
Yes, I did clear the cache this time. Still didn't work.
well, what explains the size of the binary being installed? I have not changed the options at all and i am getting huge binaries.
yoshi@archlinux:~ $ file /usr/bin/pcsx2
/usr/bin/pcsx2: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV),
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=522b219954351e352edc90e6b8851b8087628a94,
for GNU/Linux 4.4.0, with debug_info, not stripped
yoshi@archlinux:~ $ ls -hl /usr/bin/pcsx2
-rwxr-xr-x 1 root root 209M 03-14 16:55 /usr/bin/pcsx2
This is for 1.7.2449-1
Pinned Comments
weirdbeard commented on 2024-08-17 03:40 (UTC)
https://github.com/PCSX2/pcsx2/pull/11632
This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2
In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.