Package Details: emulationstation 2.10.3-1

Git Clone URL: https://aur.archlinux.org/emulationstation.git (read-only, click to copy)
Package Base: emulationstation
Description: Emulation Station is a flexible emulator front-end supporting keyboardless navigation and custom system themes.
Upstream URL: https://github.com/RetroPie/EmulationStation
Licenses: MIT
Conflicts: emulationstation-git
Submitter: postblue
Maintainer: Bkacjios
Last Packager: Bkacjios
Votes: 15
Popularity: 0.035481
First Submitted: 2017-10-14 12:36 (UTC)
Last Updated: 2022-04-28 22:35 (UTC)

Latest Comments

postblue commented on 2021-11-05 11:26 (UTC)

2.10.0 is out and previous hacks are not working anymore. Leaving the PKGBUILD for adoption.

m1s3rys1gn4l commented on 2021-05-18 15:31 (UTC)

please fix this sir, ==> ERROR: One or more files did not pass the validity check! Error: Failed to build emulationstation

m1s3rys1gn4l commented on 2021-05-12 13:34 (UTC)

i am getting this error, please check

Building emulationstation... ==> Making package: emulationstation 2.9.4-1 (Wed 12 May 2021 07:24:05 PM +06) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v2.9.4.tar.gz -> Found 618.patch -> Found pugixml.patch -> Found emulationstation.desktop -> Found emulationstation.png ==> Validating source files with sha256sums... v2.9.4.tar.gz ... Passed 618.patch ... FAILED pugixml.patch ... Passed emulationstation.desktop ... Passed emulationstation.png ... Passed ==> ERROR: One or more files did not pass the validity check! Error: Failed to build emulationstation

Daved commented on 2020-10-10 09:32 (UTC) (edited on 2020-10-11 02:23 (UTC) by Daved)

I dont know why, but I had to install [aur/lib32-freeimage]. I already had [community/freeimage] installed but that was not enough.

toeshred commented on 2020-09-19 03:04 (UTC) (edited on 2020-09-21 01:43 (UTC) by toeshred)

After the lastest update I am getting a compile error I've never seen before:

/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status

I can't find any pthreads package, and it seems to be a PHP thing. Why would I have never needed this package/library in the past, but now all of a sudden I do?

postblue commented on 2020-09-10 06:23 (UTC)

@jsutton Thanks, it's the issue that was bugging me like crazy as I knew the resources where packaged but I still needed to manually put them in my $HOME directory. I commented the related pull request from which I'm taking the patch for make install support. For now, I'm applying a manual fix in the PKGBUILD (moving the directory) and thanks to your attention we can now launch emulationstation without the need of any manual intervention! Again: thanks a lot.

jsutton commented on 2020-09-08 15:00 (UTC) (edited on 2020-09-08 15:01 (UTC) by jsutton)

There seems to be a packaging problem with the current version. Resource files seem to be placed within an extra folder named "resources" which is inside /usr/share/EmulationStation/resources. So all resources end up in /usr/share/EmulationStation/resources/resources. I don't see that the PKGBUILD is doing anything special with resources, so this could be an upstream problem.

postblue commented on 2020-08-03 14:36 (UTC)

@gameslayer I could add aarch64 architecture to the PKGBUILD if it was compiling flawlessly but you report building error with the particular architecture so if you can propose a fix or a workaround I will add it but not at the moment.

gameslayer commented on 2020-08-03 04:49 (UTC)

Build error on Manjaro Arm64 Raspberry pi 4

I know the package doesn't have aarch64 on the pkgbuild file but emulation station is on the raspberry pi

This is the error /usr/bin/ld: cannot find -lbrcmEGL

gameslayer commented on 2020-08-03 01:55 (UTC)

Can you add aarch64 to the pkgbuild

omgitsaheadcrab commented on 2020-07-06 14:56 (UTC) (edited on 2020-07-06 14:58 (UTC) by omgitsaheadcrab)

I made a patch (https://gist.githubusercontent.com/omgitsaheadcrab/9fae969ebad3ee44a52f5ef72037569d/raw/9cf5642e6a20a5d4899f20435d0f51200bc36b28/pugixml.patch) that fixes the pugixml issue by using the Arch pugixml package instead.

Here's an updated PKGBUILD to reflect the changes:

# Maintainer: Guillaume Hayot ghayot@postblue.info
pkgname=emulationstation
_gitname=EmulationStation
pkgver=2.9.3
pkgrel=2
pkgdesc="Emulation Station is a flexible emulator front-end supporting keyboardless navigation and custom system themes."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/RetroPie/EmulationStation"
license=('MIT')
install=emulationstation.install
depends=('vlc' 'alsa-lib' 'sdl2' 'boost-libs' 'freeimage' 'curl' 'libraw' 'libcec' 'rapidjson' 'pugixml')
makedepends=('cmake' 'boost' 'freetype2' 'eigen' 'curl' 'git')
optdepends=('ttf-droid: Fallback fonts for Chinese/Japanese/Korean characters'
            'dolphin-emu: GameCube and Wii support'
            'mupen64plus: Nintendo 64 support'
            'mednafen: NES and GBA support'
            'zsnes: SNES support'
            'stella: Atari 2600 support'
            'ppsspp-headless: PSP support'
            'steam: Steam support')
conflicts=(emulationstation-git)
source=("https://github.com/RetroPie/$_gitname/archive/v$pkgver.tar.gz"
        "https://patch-diff.githubusercontent.com/raw/RetroPie/$_gitname/pull/618.patch"
        "https://gist.githubusercontent.com/omgitsaheadcrab/9fae969ebad3ee44a52f5ef72037569d/raw/9cf5642e6a20a5d4899f20435d0f51200bc36b28/pugixml.patch"
        "emulationstation.desktop"
        "emulationstation.png")
sha256sums=('ed5125611afd7f79453b8d634a2d3495ec775c4914eb90571a20b74ead54335c'
            '3c13d66479d4f900e65a53232034943fe44a9861e5fefec1cfd8bbd69dde20c3'
            'ca468dcfc59c4c56d84da1823fdcaa33277debb91195d7feffbf74650996233e'
            '5564803e0a82e132ab507b9cd341b32d1ce5b8be527996fbe13607d90f1dde2c'
            'ac589d9da5c258226f8de76e99afe2b07ac86030ced90d284d31b51193057f9c')

prepare() { rm -rf "${_gitname}-${pkgver}/external/pugixml" rm -rf "${_gitname}-${pkgver}/.gitmodules" patch -d "${_gitname}-${pkgver}" -Np1 -i "${srcdir}/618.patch" patch -d "${_gitname}-${pkgver}" -Np1 -i "${srcdir}/pugixml.patch" }

build() { cmake -B "${_gitname}-${pkgver}/build" \ -S "${_gitname}-${pkgver}" \ -DCMAKE_BUILD_TYPE:STRING='None' \ -DCMAKE_INSTALL_LIBDIR:PATH='lib' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ -Wno-dev -Wno-deprecated \ .. make -C "${_gitname}-${pkgver}/build" all }

package() { make -C "${_gitname}-${pkgver}/build" DESTDIR="${pkgdir}" install }

async commented on 2020-06-13 17:52 (UTC) (edited on 2020-06-13 17:52 (UTC) by async)

Yeah, I am now getting the same error as omgitsaheadcrab. I do have MAME installed, unlike MickeyRat.

MickeyRat commented on 2020-06-12 10:59 (UTC)

I don't have mame installed but, I'm getting the same error.

omgitsaheadcrab commented on 2020-06-12 10:39 (UTC) (edited on 2020-06-12 10:42 (UTC) by omgitsaheadcrab)

I'm getting the following error now (presumably because I have mame installed):

error: failed to commit transaction (conflicting files)
emulationstation: /usr/include/pugiconfig.hpp exists in filesystem (owned by pugixml)
emulationstation: /usr/include/pugixml.hpp exists in filesystem (owned by pugixml)
emulationstation: /usr/lib/cmake/pugixml/pugixml-config.cmake exists in filesystem (owned by pugixml)
emulationstation: /usr/lib/pkgconfig/pugixml.pc exists in filesystem (owned by pugixml)

postblue commented on 2020-05-21 08:18 (UTC)

Thank you @Lulzon and @ilikenwf for your patches. I was trying to fix the build and was no more able to compile it. Pushing a revision update with the stringfix.patch, at least it builds fine now.

About the resource directory, it should be related to the message "Package contains reference to $srcdir" upon build for the files usr/lib/libpugixml.a and usr/bin/emulationstation, but I have no clue where it does come from. I see that in Font.cpp there's a reference to "ResourceData" but I cannot track where it come from.

Lulzon commented on 2020-05-18 01:30 (UTC)

@ilikenwf thank-you. I had to modify GameList.h and MetaData.h patches, I have a different version it seems.

diff --git a/es-app/src/Gamelist.h b/es-app/src/Gamelist.h
index df7021ea..8994a227 100644
--- a/es-app/src/Gamelist.h
+++ b/es-app/src/Gamelist.h
@@ -2,5 +2,7 @@
 #ifndef ES_APP_GAME_LIST_H
 #define ES_APP_GAME_LIST_H

+#include <string>
+
 class SystemData;

diff --git a/es-app/src/MetaData.h b/es-app/src/MetaData.h
index 3c3026d8..fca5f54b 100644
--- a/es-app/src/MetaData.h
+++ b/es-app/src/MetaData.h
@@ -2,6 +2,7 @@
 #ifndef ES_APP_META_DATA_H
 #define ES_APP_META_DATA_H

+#include <string>
 #include <map>
 #include <vector>

ilikenwf commented on 2020-05-17 20:32 (UTC)

Fix for string issues (gcc 10 related?) https://gist.github.com/ilikenwf/759fc10d54bb88fe431b02eff86425aa

alfalfa commented on 2020-03-26 02:07 (UTC) (edited on 2020-03-26 02:10 (UTC) by alfalfa)

As outlined by @toeshred, this is the fix for the startup crash; lvl0: Error - File type unknown! emulationstation: /var/tmp/pamac-build-m1s3ry/emulationstation/src/EmulationStation-2.9.0/es-core/src/resources/Font.cpp:21: Font::FontFace::FontFace(ResourceData&&, int): Assertion `!err' failed. Aborted (core dumped)

cd /tmp
git clone https://github.com/RetroPie/EmulationStation.git
cd EmulationStation
git checkout 3adadc9  # the parent commit of when data/resources was removed
mkdir -p ~/.emulationstation/resources
cp -r data/resources/ ~/.emulationstation/

https://github.com/RetroPie/EmulationStation/issues/427#issuecomment-388524825

postblue commented on 2020-02-18 15:18 (UTC)

@toeshred Thank you for finding out this! Starting with this issue, I stumbled upon this pull request that seems to be fixing it https://github.com/RetroPie/EmulationStation/pull/618 I will try. I will try to make a patch with it, but I'm not able to do it now.

toeshred commented on 2020-02-17 22:10 (UTC) (edited on 2020-02-17 22:11 (UTC) by toeshred)

@postblue The problem is upstream. I compiled from the github source and same problem. I fixed it by following 'bsinky' instructions from here: https://github.com/RetroPie/EmulationStation/issues/427

Basically it just needs the resources directory to be put into .emulationstation, otherwise the last resort is to check the src directory where it was originally compiled from. I did the 'git checkout 3adadc9' in a new clone of ES and copied the data/resources folder into my .emulationstation, and it worked.

m1s3rys1gn4l commented on 2020-02-14 19:53 (UTC)

getting this error, any help ?

[m1s3ry@HyperX ~]$ emulationstation Creating config directory "/home/m1s3ry/.emulationstation" lvl0: Error - File type unknown! emulationstation: /var/tmp/pamac-build-m1s3ry/emulationstation/src/EmulationStation-2.9.0/es-core/src/resources/Font.cpp:21: Font::FontFace::FontFace(ResourceData&&, int): Assertion `!err' failed. Aborted (core dumped)

postblue commented on 2020-02-08 10:43 (UTC)

@toeshred Indeed, launcher is linking to source directory (where it was built) instead of package directory. But I don't know how to fix this, Cmake seems to link itself to the directory where it was built.

toeshred commented on 2020-02-07 17:08 (UTC)

As of the last update, this program no longer launches:

lvl0: Error - File type unknown!

emulationstation: /home/chris/.cache/yay/emulationstation/src/EmulationStation-2.9.0/es-core/src/resources/Font.cpp:21: Font::FontFace::FontFace(ResourceData&&, int): Assertion `!err' failed.

zsh: abort (core dumped) emulationstation

jediafr commented on 2019-08-14 05:03 (UTC) (edited on 2019-08-31 11:31 (UTC) by jediafr)

Hi, I have a blocking error (aur et aur git) at building : libvlc_media_player_t make[2]: [es-core/CMakeFiles/es-core.dir/build.make:531: es-core/CMakeFiles/es-core.dir/src/components/VideoVlcComponent.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:212: es-core/CMakeFiles/es-core.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

Thanks for your help.

postblue commented on 2019-07-28 10:45 (UTC)

@ShayBox This package has always followed the fork from RetroPie, which developpement is more active than the original project. I would change the package description accordingly in the next release.

shaybox commented on 2019-07-17 21:49 (UTC)

The upstream url is wrong, it should be set to the original project not a fork for the rpi

ThibaultB commented on 2019-03-04 20:52 (UTC)

Nice Front-end for Libretro ! Thank's !

omgitsaheadcrab commented on 2019-01-26 13:05 (UTC) (edited on 2019-02-08 19:19 (UTC) by omgitsaheadcrab)

boost-libs updated from 1.68 to 1.69 and is now causing an error when running emulationstation for me.

"emulationstation: error while loading shared libraries: libboost_system.so.1.68.0: cannot open shared object file: No such file or directory"

EDIT: I just needed to delete my AUR cache and recompile.

Maybelline commented on 2018-08-24 17:54 (UTC)

@postblue: that was it, thanks!

postblue commented on 2018-08-23 11:58 (UTC)

@Maybelline: Try installing libraw (updated PKGBUILD).

Maybelline commented on 2018-08-23 04:37 (UTC)

The build is failing for me now, too.

Not sure how much log you need, but here's where it shows the failure.

https://pastebin.com/tQLzR9BS

postblue commented on 2017-12-26 16:44 (UTC)

@quellen Someone flagged it out-of-date because was not able to build the package, but never provided me a log so I can investigate. I just ran a test build inside a clean chroot and fond out I might have missed a dependency (curl) and updated the PKGBUILD.

quellen commented on 2017-12-24 09:54 (UTC)

why it's flagged out-of-date? it works perfectly!