Retroarch no longer builds successfully during update (Ubuntu 18.04.3)
-
Hmm, i'm wondering if I do have any emulators installed which actually use SDL2. If this is the case, coupled with the fact I do not do a "full update", maybe means the SDL updating part was skipped? I don't know.
The reason I don't do a full update, is often I want to hold back one or two of the arcade emulators to avoid any potential romset breakage, as I only update my romsets once a year or so, at best.
Anyhow, I figured out the custom SDL2 install though via some posts on the forums, so I ran a ./retropie_packages.sh sdl2 and this installed 2.0.10, and also held back libsdl2-dev once again. It also freed up a load of dependencies too which I was able to safely remove.
Earlier in this thread though, @mitu mentioned that X11 was no longer targeted for custom SDL and provided this link:
https://github.com/RetroPie/RetroPie-Setup/pull/2696Hence why I thought custom SDL was not part of an Ubuntu / X11 instance anymore.
Anyway, to do some testing, after installing the custom SDL back on, I tried to update retroarch and it failed again during build, same error as before.
So I then ran ./retropie_packages.sh sdl2 revert - this then downgraded the packages back to standard.
I then tried to update retroarch again, and this time it worked.
So, for me, retroarch will only build when I have the standard SDL on the system, it does not work with the custom SDL on there. However it used to build fine without having to remove the custom SDL.
Any idea what might be going on?
-
-
Ah ha! No worries at all.
Maybe my issue stems from the fact that it used to be included, hence why I was held on 2.0.8+1 - but when it changed to no longer be included by default on x11, my package remained held with the custom SDL, which messes up the retroarch build. And it seems using the latest custom SDL Retroarch still doesn't build.
Is there any useful reason at this stage for me to use the custom SDL on x11 / Ubuntu install? Because if necessary, I can restore it now retroarch is up to date. However if you are not including it by default i'm wondering if I need to bother?
@mitu I know this is a retroarch bug, but do you think it is worth putting in a workaround (if you know of one) for those who run the custom SDL on x11, so that Retroarch still builds?
Cheers
-
@movisman said in Retroarch no longer builds successfully during update (Ubuntu 18.04.3):
@mitu I know this is a retroarch bug, but do you think it is worth putting in a workaround (if you know of one) for those who run the custom SDL on x11, so that Retroarch still builds?
At this point, I don't think it deserves a workaround. We'll see if it affects more people and then maybe include the RetroArch build patch.
-
Fair enough. I guess it's only likely to potentially affect people who had Retropie installed on x11 back when custom SDL was included by default. In this instance it seems the custom package stays on the system in the held state and will never go back to standard on its own, unless you unhold it yourself and let it update. That's what I found anyway. I guess this wouldn't affect loads of people but at least the fix is here on the forum if anyone comes across it.
Do you know what the custom SDL brings and is it useful to use on this platform type? I know you use standard but just wondering. My picade uses the custom SDL of course, as it's running on a Pi 3.
Thanks a lot.
-
@movisman said in Retroarch no longer builds successfully during update (Ubuntu 18.04.3):
Do you know what the custom SDL brings and is it useful to use on this platform type? I know you use standard but just wondering. My picade uses the custom SDL of course, as it's running on a Pi 3.
The custom build has a few patches related to joystick handling (fixing a crash and a regression), plus a few fixes and enhancements specific to the RPI, Mail GPUs and KMSDRM video driver. Apart from the joystick patches, there's nothing that would be of much importance when running on a PC/X11 environment.
You can see the additions at https://github.com/RetroPie/SDL-mirror/tree/retropie-2.0.10.
-
Thanks a lot for the info, I really appreciate it. And cheers for the help with working out the root cause of the build failure, again much appreciated.
I will stick to standard SDL for now then ,seeing as using custom will break subsequent Retroarch builds whenever I update.
Should I mention this on issue #9583 at the RA GitHub page, if it is technically a retroarch bug?
-
@movisman said in Retroarch no longer builds successfully during update (Ubuntu 18.04.3):
Should I mention this on issue #9583 at the RA GitHub page,
I don't think you have to, since the issue is already patched by one of the RetroArch's developers.
-
Ah gotcha, no worries at all. I see now that when you guys choose to go beyond 1.7.9, in theory it should be resolved. Will test again when RA is eventually bumped up to 1.8.2 or whatever.
Thanks a lot.
-
I'm having this same issue. For someone who is basically a n00b to linux systems, could someone please provide a succinct set of directions on how to fix this? I'm suddenly having update and power supply issues I can't figure out, despite all the helpful content out there. Would be much appreciated, by me and I'm sure many others.
-
@JusteBelmont please start a new topic detailing your system and your issue (with log) as detailed in the link at the top of this page.
-
@BuZz Thanks, I will do that. Should I include the power supply issues (yellow lightning bolt of death) along with said software issues (I'm hoping they're related as they showed about the same time), or would it be more prudent to start a separate thread? Thanks for the advice, it's appreciated.
-
@JusteBelmont Add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first, as best as you can, in a NEW topic.
-
@mitu Thanks again, will do...I guess 4 months is a long time on the internet. Thanks again for your help, will look forward to your good answers in future! Thanks again
-
I'm going to assume I post in the "help and support" thread, if there's a better place please let me know. Thanks again all.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.