Package Details: pcsx2-git 2.3.35.r0.g4eae1b7127-1

Git Clone URL: https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy)
Package Base: pcsx2-git
Description: A Sony PlayStation 2 emulator
Upstream URL: https://github.com/PCSX2/pcsx2
Licenses: GPL-3.0+
Conflicts: pcsx2
Provides: pcsx2
Submitter: alucryd
Maintainer: weirdbeard (xiota)
Last Packager: weirdbeard
Votes: 130
Popularity: 0.135445
First Submitted: 2014-03-26 14:17 (UTC)
Last Updated: 2024-11-27 22:52 (UTC)

Dependencies (34)

Required by (4)

Sources (2)

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.

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 67 Next › Last »

weirdbeard commented on 2023-08-24 20:14 (UTC)

Already fixed

xAsh commented on 2023-08-24 19:03 (UTC)

Looks like libzip isn't a submodule anymore, so the prepare step will fail

Neko-san commented on 2023-08-01 04:15 (UTC) (edited on 2023-08-01 04:17 (UTC) by Neko-san)

I get undefined symbol errors when trying to use Clang with LLVM:

export CC=clang
export CXX=clang++
export AR="/usr/bin/llvm-ar"
export NM="/usr/bin/llvm-nm"
export AS="/usr/bin/llvm-as"
export RANLIB="/usr/bin/llvm-ranlib"
export OBJCOPY="/usr/bin/llvm-objcopy"

export CFLAGS="-O3 -pipe -fno-plt -fpic -fpie -pthread -Wl,-z,relro,-z,now -w \
        -fexceptions -minline-all-stringops -ftree-vectorize \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fstack-protector-strong -fcf-protection \
        -march=znver2 -mtune=znver2"
export CXXFLAGS="${CFLAGS} --rtlib=compiler-rt -stdlib=libc++ -Wp,-D_GLIBCXX_ASSERTIONS"
export DEBUG_CFLAGS="-g"
export DEBUG_CXXFLAGS="${DEBUG_CFLAGS}"
export LDFLAGS="-lc++abi -fuse-ld=lld -unwind=libunwind -lpthread -pie -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now"

Errors:

ld.lld: error: undefined symbol: QMetaType::registerConverterFunction(std::__1::function<bool (void const*, void*)> const&, QMetaType, QMetaType)
>>> referenced by qmetatype.h:650 (/usr/include/qt6/QtCore/qmetatype.h:650)
>>>               lto.tmp:(int qRegisterNormalizedMetaTypeImplementation<std::__1::pair<QString, QString>>(QByteArray const&))
>>> referenced by qmetatype.h:650 (/usr/include/qt6/QtCore/qmetatype.h:650)
>>>               lto.tmp:(QtPrivate::SequentialValueTypeIsMetaType<QList<std::__1::pair<QString, QString>>, true>::registerConverter())
>>> referenced by qmetatype.h:650 (/usr/include/qt6/QtCore/qmetatype.h:650)
>>>               lto.tmp:(QtPrivate::SequentialValueTypeIsMetaType<QList<InputBindingKey>, true>::registerConverter())
>>> referenced 1 more times

ld.lld: error: undefined symbol: QMetaType::registerMutableViewFunction(std::__1::function<bool (void*, void*)> const&, QMetaType, QMetaType)
>>> referenced by qmetatype.h:663 (/usr/include/qt6/QtCore/qmetatype.h:663)
>>>               lto.tmp:(QtPrivate::SequentialValueTypeIsMetaType<QList<std::__1::pair<QString, QString>>, true>::registerMutableView())
>>> referenced by qmetatype.h:663 (/usr/include/qt6/QtCore/qmetatype.h:663)
>>>               lto.tmp:(QtPrivate::SequentialValueTypeIsMetaType<QList<InputBindingKey>, true>::registerMutableView())
>>> referenced by qmetatype.h:663 (/usr/include/qt6/QtCore/qmetatype.h:663)
>>>               lto.tmp:(QtPrivate::SequentialValueTypeIsMetaType<QList<BIOSInfo>, true>::registerMutableView())

ld.lld: error: undefined symbol: QByteArray::toStdString() const
>>> referenced by qstring.h:1549 (/usr/include/qt6/QtCore/qstring.h:1549)
>>>               lto.tmp:(AutoUpdaterDialog::cleanupAfterUpdate())
>>> referenced by qstring.h:1549 (/usr/include/qt6/QtCore/qstring.h:1549)
>>>               lto.tmp:(AutoUpdaterDialog::cleanupAfterUpdate())
>>> referenced by qstring.h:1549 (/usr/include/qt6/QtCore/qstring.h:1549)
>>>               lto.tmp:(CoverDownloadDialog::startThread())
>>> referenced 69 more times

ld.lld: error: undefined symbol: QByteArray::fromStdString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
>>> referenced by MainWindow.cpp:686 (/usr/src/debug/pcsx2-git/pcsx2/pcsx2-qt/MainWindow.cpp:686)
>>>               lto.tmp:(MainWindow::restoreStateFromConfig())
>>> referenced by MainWindow.cpp:693 (/usr/src/debug/pcsx2-git/pcsx2/pcsx2-qt/MainWindow.cpp:693)
>>>               lto.tmp:(MainWindow::restoreStateFromConfig())
>>> referenced by MainWindow.cpp:2133 (/usr/src/debug/pcsx2-git/pcsx2/pcsx2-qt/MainWindow.cpp:2133)
>>>               lto.tmp:(MainWindow::restoreDisplayWindowGeometryFromConfig())

ld.lld: error: undefined symbol: QFutureInterfaceBase::setContinuation(std::__1::function<void (QFutureInterfaceBase const&)>, QFutureInterfaceBasePrivate*)
>>> referenced by qfuture_impl.h:608 (/usr/include/qt6/QtCore/qfuture_impl.h:608)
>>>               lto.tmp:(GameListModel::loadOrGenerateCover(GameList::Entry const*))
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

FabioLolix commented on 2023-07-23 20:27 (UTC)

But that could be some odd cache issue given I build directly with makepkg

Yes that could be if you don't clean stuff, I use an alias by default alias mkpkg="LANG=C makepkg -scC" to avoid that

FabioLolix commented on 2023-07-23 19:30 (UTC)

Just started a build but it fail because glslang is missing

Using precompiled headers.
-- Configuring done (7.4s)
CMake Error at 3rdparty/glslang/CMakeLists.txt:1 (add_library):
  Cannot find source file:

    glslang/glslang/CInterface/glslang_c_interface.cpp


CMake Error at 3rdparty/glslang/CMakeLists.txt:1 (add_library):
  No SOURCES given to target: glslang


CMake Generate step failed.  Build files cannot be regenerated correctly.

Also please add -Wno-dev to cmake

weirdbeard commented on 2023-07-23 19:07 (UTC)

Whoops, good catch. Sorry about that.

But removing GSL was on purpose if you see my prior comment about watching a certain PR

FabioLolix commented on 2023-07-23 17:53 (UTC)

glslang repo have been just removed from source list https://aur.archlinux.org/cgit/aur.git/commit/?h=pcsx2-git&id=f08e2d626202bbf21aaad20051bcf0f52b8564ea

however the configuration have not been updated to not download it

gustawho commented on 2023-07-23 17:50 (UTC)

You might need to add the glslang repo to the sources list

git+https://github.com/KhronosGroup/glslang.git

weirdbeard commented on 2023-07-19 15:54 (UTC)

https://github.com/PCSX2/pcsx2/pull/9281 - PCSX2's about to go through the ringer, expect some submodule changes soon