zerojay / RetroPie-Extra

A collection of unofficial scripts for adding more emulators/ports/games to RetroPie.
MIT License
311 stars 103 forks source link

Latest retropie image for Rpi3B+ #280

Open symbios24 opened 6 years ago

symbios24 commented 6 years ago

This extras are not working with the latest raspbian stretch image retropie-4.3.15

rockbot mayhem openxcom retrobattle

They fail to install with not found errors.most likely they cannot install the depends/getdepends.

zerojay commented 6 years ago

I'm going to need logs for this.

symbios24 commented 6 years ago

well its easy they all give file not found errors you need to update your script to work 100% with raspbian stretch image of retropie.

symbios24 commented 6 years ago

Add to the list also the Rickyd with file not found errors

zerojay commented 6 years ago

I just installed 4.3.17 and I'll try to take a look at this as soon as I can.

sonicsheppard commented 6 years ago

Confirmed seeing this issue on latest RetroPie 4.4 img release. Tried installing openxcom and it errors out. Logs below:

Log started at: Sun 15 Apr 12:24:33 UTC 2018

RetroPie-Setup version: 4.4 (438fd413) System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux

= = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'openxcom' : OpenXCOM - Open Source X-COM Engine = = = = = = = = = = = = = = = = = = = = =

Did not find needed package(s): xserver-xorg-legacy. I am trying to install them now. Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: xserver-xorg-legacy Preconfiguring packages ... setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/2,067 kB of archives. After this operation, 2,206 kB of additional disk space will be used. Selecting previously unselected package xserver-xorg-legacy. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 100523 files and directories currently installed.) Preparing to unpack .../xserver-xorg-legacy_2%3a1.19.2-1+rpt1+deb9u2_armhf.deb ... Unpacking xserver-xorg-legacy (2:1.19.2-1+rpt1+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up xserver-xorg-legacy (2:1.19.2-1+rpt1+deb9u2) ... setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file Successfully installed package(s): xserver-xorg-legacy. /home/pi/RetroPie-Setup/tmp/build/openxcom /home/pi/RetroPie-Setup

= = = = = = = = = = = = = = = = = = = = = Getting sources for 'openxcom' : OpenXCOM - Open Source X-COM Engine = = = = = = = = = = = = = = = = = = = = =

git clone --recursive --depth 1 "https://github.com/ptitseb/glshim.git" "/home/pi/RetroPie-Setup/tmp/build/openxcom/glshim" Cloning into '/home/pi/RetroPie-Setup/tmp/build/openxcom/glshim'... git clone --recursive --depth 1 "https://github.com/SupSuper/OpenXCOM.git" "/home/pi/RetroPie-Setup/tmp/build/openxcom/openxcom" Cloning into '/home/pi/RetroPie-Setup/tmp/build/openxcom/openxcom'... /home/pi/RetroPie-Setup /home/pi/RetroPie-Setup/tmp/build/openxcom /home/pi/RetroPie-Setup

= = = = = = = = = = = = = = = = = = = = = Building 'openxcom' : OpenXCOM - Open Source X-COM Engine = = = = = = = = = = = = = = = = = = = = =

-- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/pi/RetroPie-Setup/tmp/build/openxcom/glshim Scanning dependencies of target GL [ 3%] Building C object src/CMakeFiles/GL.dir/gl/array.c.o [ 3%] Building C object src/CMakeFiles/GL.dir/gl/blit.c.o [ 5%] Building C object src/CMakeFiles/GL.dir/gl/blend.c.o [ 7%] Building C object src/CMakeFiles/GL.dir/gl/buffers.c.o [ 9%] Building C object src/CMakeFiles/GL.dir/gl/debug.c.o [ 10%] Building C object src/CMakeFiles/GL.dir/gl/decompress.c.o [ 12%] Building C object src/CMakeFiles/GL.dir/gl/directstate.c.o [ 14%] Building C object src/CMakeFiles/GL.dir/gl/drawing.c.o [ 16%] Building C object src/CMakeFiles/GL.dir/gl/eval.c.o [ 18%] Building C object src/CMakeFiles/GL.dir/gl/fog.c.o [ 20%] Building C object src/CMakeFiles/GL.dir/gl/fpe.c.o [ 21%] Building C object src/CMakeFiles/GL.dir/gl/fpe_shader.c.o [ 23%] Building C object src/CMakeFiles/GL.dir/gl/framebuffers.c.o [ 25%] Building C object src/CMakeFiles/GL.dir/gl/getter.c.o [ 27%] Building C object src/CMakeFiles/GL.dir/gl/gl.c.o [ 29%] Building C object src/CMakeFiles/GL.dir/gl/glstate.c.o [ 30%] Building C object src/CMakeFiles/GL.dir/gl/hint.c.o [ 32%] Building C object src/CMakeFiles/GL.dir/gl/init.c.o [ 34%] Building C object src/CMakeFiles/GL.dir/gl/light.c.o [ 36%] Building C object src/CMakeFiles/GL.dir/gl/line.c.o [ 38%] Building C object src/CMakeFiles/GL.dir/gl/list.c.o [ 40%] Building C object src/CMakeFiles/GL.dir/gl/listdraw.c.o [ 41%] Building C object src/CMakeFiles/GL.dir/gl/listrl.c.o [ 43%] Building C object src/CMakeFiles/GL.dir/gl/loader.c.o [ 45%] Building C object src/CMakeFiles/GL.dir/gl/matrix.c.o [ 47%] Building C object src/CMakeFiles/GL.dir/gl/matvec.c.o [ 49%] Building C object src/CMakeFiles/GL.dir/gl/pixel.c.o [ 50%] Building C object src/CMakeFiles/GL.dir/gl/planes.c.o [ 52%] Building C object src/CMakeFiles/GL.dir/gl/pointsprite.c.o [ 54%] Building C object src/CMakeFiles/GL.dir/gl/preproc.c.o [ 56%] Building C object src/CMakeFiles/GL.dir/gl/program.c.o [ 58%] Building C object src/CMakeFiles/GL.dir/gl/queries.c.o [ 60%] Building C object src/CMakeFiles/GL.dir/gl/raster.c.o [ 61%] Building C object src/CMakeFiles/GL.dir/gl/render.c.o [ 63%] Building C object src/CMakeFiles/GL.dir/gl/shader.c.o [ 65%] Building C object src/CMakeFiles/GL.dir/gl/shaderconv.c.o [ 67%] Building C object src/CMakeFiles/GL.dir/gl/stack.c.o [ 69%] Building C object src/CMakeFiles/GL.dir/gl/string_utils.c.o [ 70%] Building C object src/CMakeFiles/GL.dir/gl/stubs.c.o [ 72%] Building C object src/CMakeFiles/GL.dir/gl/texenv.c.o [ 74%] Building C object src/CMakeFiles/GL.dir/gl/texgen.c.o [ 76%] Building C object src/CMakeFiles/GL.dir/gl/texture.c.o [ 78%] Building C object src/CMakeFiles/GL.dir/gl/uniform.c.o [ 80%] Building C object src/CMakeFiles/GL.dir/gl/vertexattrib.c.o [ 81%] Building C object src/CMakeFiles/GL.dir/gl/wrap/gl.c.o [ 83%] Building C object src/CMakeFiles/GL.dir/gl/wrap/gles.c.o [ 85%] Building C object src/CMakeFiles/GL.dir/gl/wrap/glstub.c.o [ 87%] Building C object src/CMakeFiles/GL.dir/gl/math/eval.c.o [ 89%] Building C object src/CMakeFiles/GL.dir/glx/hardext.c.o [ 90%] Building C object src/CMakeFiles/GL.dir/glx/glx.c.o /home/pi/RetroPie-Setup/tmp/build/openxcom/glshim/src/glx/glx.c: In function ‘gl4es_glXMakeCurrent’: /home/pi/RetroPie-Setup/tmp/build/openxcom/glshim/src/glx/glx.c:962:120: warning: passing argument 3 of ‘egl_eglCreateWindowSurface’ makes pointer from integer without a cast [-Wint-conversion] eglSurf = context->eglSurface = egl_eglCreateWindowSurface(eglDisplay, context->eglConfigs[0], drawable, attrib_list); ^~~~ /home/pi/RetroPie-Setup/tmp/build/openxcom/glshim/src/glx/glx.c:962:120: note: expected ‘EGLNativeWindowType {aka void *}’ but argument is of type ‘GLXDrawable {aka int}’ [ 92%] Building C object src/CMakeFiles/GL.dir/glx/lookup.c.o [ 94%] Building C object src/CMakeFiles/GL.dir/glx/rpi.c.o [ 96%] Building C object src/CMakeFiles/GL.dir/glx/streaming.c.o [ 98%] Building C object src/CMakeFiles/GL.dir/glx/utils.c.o [100%] Linking C shared library ../lib/libGL.so.1 [100%] Built target GL -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") CMake Error at cmake/modules/FindYaml_cpp.cmake:29 (message): YAML-CPP 0.5.2 is known broken - please use either 0.5.1 or 0.5.3+ Call Stack (most recent call first): CMakeLists.txt:61 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/pi/RetroPie-Setup/tmp/build/openxcom/openxcom/build/CMakeFiles/CMakeOutput.log". See also "/home/pi/RetroPie-Setup/tmp/build/openxcom/openxcom/build/CMakeFiles/CMakeError.log". make: *** No targets specified and no makefile found. Stop. /home/pi/RetroPie-Setup Could not successfully build openxcom - OpenXCOM - Open Source X-COM Engine (/home/pi/RetroPie-Setup/tmp/build/openxcom/openxcom/build/bin/openxcom not found).

Log ended at: Sun 15 Apr 12:28:36 UTC 2018 Total running time: 0 hours, 4 mins, 3 secs

zerojay commented 6 years ago

Thanks for the log. I get the feeling there's some amount of retooling that will need to be done because I'm almost certain simply not installing xserver-xorg-legacy isn't going to just fix this. Looking into this right now.

symbios24 commented 6 years ago

for now these five are not installed in latest retropie :

rockbot mayhem openxcom retrobattle

i installed several ports successfully but tested only a few if they work correct, the tested ones are kodi 17,6/chromium/firefox.also kweb needs the latest version since the script takes an old one. i will test more soon.

symbios24 commented 6 years ago

Your script is working with most of the game ports it installs them ok except the four one`s in the list up. xserver-xorg-legacy is installed but the retropie setup script keeps uninstall it if you for example update the script or update raspbian.

zerojay commented 6 years ago

The main reason I was using xserver-xorg-legacy was because it allowed you to set who could use the Xserver but it looks like RetroPie no longer needs it as I think it defaults to "anyone" to fix some issues they were having with the Pixel desktop. I'll take a look at these now.

zerojay commented 6 years ago

Rockbot - structure appears to have changed, old compile instructions do not work. Mayhem - liballegro5.0 is missing in stretch? Retrobattle - Won't compile under stretch due to a difference in GCC I think?

In file included from retro.cc:24:0: GameLogic.h:55:45: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float GameLogic::updateInterval’ of non-integral type [-fpermissive] static const float updateInterval = 1.0 / maximumFrameRate; ^~~~ GameLogic.h:56:61: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float GameLogic::maxCyclesPerFrame’ of non-integral type [-fpermissive] static const float maxCyclesPerFrame = maximumFrameRate / minimumFrameRate; ^~~~

: recipe for target 'retro.o' failed I'll be moving Retrobattle and Rockbot back to the unstable repo. I'll see what I can do about Mayhem.
zerojay commented 6 years ago

Mayhem was able to be compiled with Allegro 5.2 as 5.0 is no longer included in Stretch however the game asserts on start up. This is an upstream issue as far as I can tell.

symbios24 commented 6 years ago

i updated to latest script mayhem,texmaster2009 and openxcom cannot be not installed,openxcom gets this error: /home/pi/RetroPie-Setup/tmp/build/openxcom/build/bin/openxcom not found

Also rickyd installation fails with this error: error running git clone --recursive https://git.code.sf.net/p/rickyd/code /home/pi/RetroPie-Setup/tmp/build/rickyd - returned 128

justnibio commented 6 years ago

Please update README.md file with these new info.

zerojay commented 6 years ago

Rickyd is fixed.

symbios24 commented 6 years ago

Hello about openxcom please take a look at this page how to install it maybe it will work go in the linux bsd down in the Installing Dependencies after it has three methods to compile it in the Build instructions.

https://www.ufopaedia.org/index.php?title=Compiling_(OpenXcom)

symbios24 commented 6 years ago

i compile it on retropie 4.4 using the first method with "make"" it works but the screen is flickering,maybe it needs to run like the other ports with the runcommand so it wont flicker eg:

!/bin/bash

"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 PORT "openxcom" ""

i haven't try this maybe later.

zerojay commented 4 years ago

Mayhem is still broken on 4.6.

zerojay commented 4 years ago

I attempted to try Rockbot again. I was able to get it running until the menu where you select 1 or 2 and it segfaults every time. Not sure why. Updated the script in unstable if someone wants to take a shot.

(These threads of multiple games are impossible to follow.)