Package Details: pcsx-redux-git r3908.4bf168d2-1

Git Clone URL: https://aur.archlinux.org/pcsx-redux-git.git (read-only, click to copy)
Package Base: pcsx-redux-git
Description: Modern fork of the pcsxr PlayStation 1 emulator focused on reverse engineering and homebrew development
Upstream URL: https://github.com/grumpycoders/pcsx-redux.git
Licenses: GPL2
Submitter: algebro
Maintainer: algebro
Last Packager: algebro
Votes: 0
Popularity: 0.000000
First Submitted: 2021-01-07 01:10 (UTC)
Last Updated: 2022-07-08 18:00 (UTC)

Required by (0)

Sources (25)

Latest Comments

algebro commented on 2022-01-17 20:42 (UTC)

@jpyper I went through my notes and figured out that it was the -fstack-protector-strong flag that broke compilation for luajit. Do you know of a good/easy way to negate just that flag but keep all the others? Note that some are set by makepkg.conf and some are set by the Makefile.

jpyper commented on 2022-01-16 19:47 (UTC)

@algebro The "AARCH64" in the arch= line should be lowercase "aarch64". :-]

Again, thank you for your work.

algebro commented on 2022-01-16 14:11 (UTC)

Thanks for the testing and suggestions! I didn't notice the capstone warnings because I already had it installed.

I've added AARCH64 and capstone to the dependencies. For the buildflags, I had to add !buildflags because one of the default Arch buildflags causes an error when building/linking luajit--I'd tracked it down at one point in the past but I forget which one it was now. I'll try looking into it again--let me know if you're able to figure it out first and I'll add a patch.

jpyper commented on 2022-01-16 06:42 (UTC) (edited on 2022-01-16 07:00 (UTC) by jpyper)

@algebro Thank you for the fast fix. It now builds and runs on x86-64. I have a few things to point out though.

In PKGBUILD, please add "capstone" to the "depends" line. Without it, there's a bunch of spam saying capstone is missing when it compiles each file.

[edit] I see you have "git+https://github.com/capstone-engine/capstone.git" in the sources list, but it doesn't seem to be doing anything.

Also in PKGBUILD, please add 'aarch64' to the "arch" line. I just built this package on a Raspberry Pi 4B 8GB with no errors. Program runs as expected. Took a while to compile at 1500 MHz even with all 4 cores going at it.

I noticed that while compiling on both x86-64 and aarch64 that my settings for CFLAGS/CXXFLAGS are ignored. Maybe a little patch against the Makefile could change that. I don't know how that works.

Lastly, I think this is an upstream issue, but there are a ton of warning and note messages during compile. They are not breaking anything though.

Again, thank you.

algebro commented on 2022-01-15 22:29 (UTC)

@jpyper try again, the fix was merged upstream

algebro commented on 2022-01-15 18:43 (UTC)

Thanks for the report, this is actually an upstream bug. I'm planning to submit a PR to fix it soon.

jpyper commented on 2022-01-15 18:41 (UTC) (edited on 2022-01-15 18:44 (UTC) by jpyper)

2022-01-15 Something isn't setup right here. Won't build.

==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: pcsx-redux-git r2702.bd1b7850-1
==> Removing existing $pkgdir/ directory...
==> Starting build()...
You need to clone this repository recursively, in order to get its submodules.
make: *** [Makefile:141: check_submodules] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build pcsx-redux-git - makepkg exited with code: 4