Package Details: ares-emu 143-2

Git Clone URL: https://aur.archlinux.org/ares-emu.git (read-only, click to copy)
Package Base: ares-emu
Description: Cross-platform, open source, multi-system emulator by Near and Ares team, focusing on accuracy and preservation.
Upstream URL: https://ares-emu.net/
Licenses: ISC
Conflicts: ares-emu
Provides: ares-emu
Submitter: Snowstorm64
Maintainer: Snowstorm64 (SoullessSentinel)
Last Packager: Snowstorm64
Votes: 24
Popularity: 0.93
First Submitted: 2021-02-21 21:36 (UTC)
Last Updated: 2025-02-27 19:25 (UTC)

Dependencies (26)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4

alocacoc55 commented on 2021-07-03 18:13 (UTC)

I use the legacy driver from Nvidia, I don't think it's that problem.

hiro=qt5 doesn't change the error, neither does hiro=gtk3 compiler=clang++.

It's OK, I can use RetroArch instead or Higan, I just wanted to test Ares. Since its technically a WIP GUI/Core emulator to be implemented into Higan at a later stable stage, I don't think there is much to miss. Some more I'm not sure about the future of Byuus programs.

Thank you my friend, you're very dedicated helping.

Snowstorm64 commented on 2021-07-02 13:43 (UTC) (edited on 2021-07-02 13:48 (UTC) by Snowstorm64)

Well, with this kind of error it's hard to identify the cause. It may be a video driver issue, a compiler issue, an issue with the graphical toolkit or anything else. Also, Ares is not compatible with Wayland, in that case you may try to launch it with GDK_BACKEND=x11 prepended.

Also, if you're able to modify the PKGBUILD with an AUR helper e.g. paru or yay, you may try to edit the line 37, by changing graphical toolkit to Qt5 (it may want Qt5Core, Qt5Gui and Qt5Widgets as dependecies), e.g.: make hiro=qt5

You may also try to build ares with an alternative compiler, e.g. with Clang instead of GCC: make hiro=gtk3 compiler=clang++

alocacoc55 commented on 2021-07-01 21:39 (UTC)

It compiles nicely now, thank you.

Unfortunately the program doesn't start, it gives this error: 'Illegal instruction (core dumped)'.

BSNES and Higan work fine though, maybe its just my old PC.

Thank you very much for your efforts and very fast fix.

And thank you Byuu for your wonderful skills and sharing your impressive coding talent with the world, may you be safe.

Snowstorm64 commented on 2021-06-29 19:52 (UTC)

Starting with version 11, GCC now reserves _serialize. It should be fixed now, thanks.

alocacoc55 commented on 2021-06-29 17:47 (UTC) (edited on 2021-06-29 17:49 (UTC) by alocacoc55)

Yes, base-devel is installed. The log is here:

:: (1/1) Parsing SRCINFO: ares-emu
==> Making package: ares-emu 120-1 (Di 29 Jun 2021 19:04:52 CEST)
==> Retrieving sources...
  -> Downloading ares_v120-source.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20.1M  100 20.1M    0     0   657k      0  0:00:31  0:00:31 --:--:--  927k
  -> Found LICENSE
  -> Found ares-paths.patch
==> Validating source files with sha256sums...
    ares_v120-source.zip ... Passed
    LICENSE ... Passed
    ares-paths.patch ... Passed
==> Making package: ares-emu 120-1 (Di 29 Jun 2021 19:05:26 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ares_v120-source.zip
  -> Found LICENSE
  -> Found ares-paths.patch
==> Validating source files with sha256sums...
    ares_v120-source.zip ... Passed
    LICENSE ... Passed
    ares-paths.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting ares_v120-source.zip with bsdtar
==> Starting prepare()...
patching file ares_v120/lucia/lucia.cpp
==> Sources are ready.
==> Making package: ares-emu 120-1 (Di 29 Jun 2021 19:05:33 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Compiling libco/libco.c ...
Compiling ruby/ruby.cpp ...
Compiling hiro/hiro.cpp ...
Compiling ares/ares/ares.cpp ...
In file included from ../ares/ares/node/node.hpp:102,
                 from ../ares/ares/ares.hpp:74,
                 from ../ares/ares/ares.cpp:1:
../ares/ares/node/system.hpp:10:103: error: macro "_serialize" passed 1 arguments, but takes just 0
   10 |   auto serialize(bool synchronize = true) -> serializer { if(_serialize) return _serialize(synchronize); return {}; }
      |                                                                                                       ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/x86gprintrin.h:71,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/immintrin.h:27,
                 from ../nall/platform.hpp:63,
                 from ../ares/ares/ares.hpp:5,
                 from ../ares/ares/ares.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/serializeintrin.h:37: note: macro "_serialize" defined here
   37 | #define _serialize()    __builtin_ia32_serialize ()
      | 
In file included from ../ares/ares/node/node.hpp:102,
                 from ../ares/ares/ares.hpp:74,
                 from ../ares/ares/ares.cpp:1:
../ares/ares/node/system.hpp: In member function ‘nall::serializer ares::Core::System::serialize(bool)’:
../ares/ares/node/system.hpp:10:81: error: could not convert ‘((ares::Core::System)this)->ares::Core::System::_serialize’ from ‘nall::function<nall::serializer(bool)>’ to ‘nall::serializer’
   10 |   auto serialize(bool synchronize = true) -> serializer { if(_serialize) return _serialize(synchronize); return {}; }
      |                                                                                 ^~~~~~~~~~
      |                                                                                 |
      |                                                                                 nall::function<nall::serializer(bool)>
make: ** [../nall/GNUmakefile:176: obj/ares.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: ares-emu

Snowstorm64 commented on 2021-06-28 18:14 (UTC)

Is 'base-devel' installed? Can you post the entire log? It would help to know more details about the error.

alocacoc55 commented on 2021-06-28 17:37 (UTC)

It doesn't build for me, ==> ERROR: A failure occurred in build().

Snowstorm64 commented on 2021-02-27 12:50 (UTC)

That was it, I've felt I forgot something. Thanks for the tip!

Vaporeon commented on 2021-02-27 06:42 (UTC)

ares-paths.patch and LICENSE should be in the source array, plus they should be used from $srcdir.