RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    (SOLVED) Error Updating ES From Source

    Scheduled Pinned Locked Moved Help and Support
    emultionstationupdate failedsource
    31 Posts 9 Posters 9.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by A Former User

      When updating EmulationStation from source I am running into an error. I have attached the end of my logs below in case any one has any advice as to what might be happening.

      Thank you. :)

      [ 85%] Building CXX object es-app/CMakeFiles/emulationstation.dir/src/guis/GuiFastSelect.cpp.o
      c++: internal compiler error: Killed (program cc1plus)
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
      es-app/CMakeFiles/emulationstation.dir/build.make:374: recipe for target 'es-app/CMakeFiles/emulationstation.dir/src/components/ScraperSearchComponent.cpp.o' failed
      make[2]: *** [es-app/CMakeFiles/emulationstation.dir/src/components/ScraperSearchComponent.cpp.o] Error 4
      make[2]: *** Waiting for unfinished jobs....
      CMakeFiles/Makefile2:274: recipe for target 'es-app/CMakeFiles/emulationstation.dir/all' failed
      make[1]: *** [es-app/CMakeFiles/emulationstation.dir/all] Error 2
      Makefile:149: recipe for target 'all' failed
      make: *** [all] Error 2
      Removing additional swap
      /home/pi
      Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/pi/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found).

      Log ended at: Sun 21 May 17:11:54 EDT 2017
      Total running time: 0 hours, 11 mins, 16 secs

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @A Former User
        last edited by

        @LiveFastCyYoung did you exit emulationstation first before compiling?

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @herb_fargus
          last edited by

          @herb_fargus I'm quitting emulatationstation and running the retropie setup from the prompt.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            "Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/pi/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found)."

            I keep looking back at this part of the log. I can confirm that folder is not there. I tried to create it but I couldn't due to some permissions issues. Could the installer be running into the same permissions issues?

            herb_fargusH 1 Reply Last reply Reply Quote 0
            • herb_fargusH
              herb_fargus administrators @A Former User
              last edited by

              @LiveFastCyYoung no your compiler is probably crashing or you're running out of memory. Did you update your setup script first?

              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                Yep. Setup script is updated.

                I'm at a loss.

                herb_fargusH 1 Reply Last reply Reply Quote 0
                • herb_fargusH
                  herb_fargus administrators @A Former User
                  last edited by

                  @LiveFastCyYoung idk, reboot and maybe try again? I am not sure what else to do either

                  If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                  Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • G
                    GMAX
                    last edited by

                    I'm trying to install the RetrOSMC build (https://github.com/mcobit/retrosmc/tree/b0e9e0d86f91a255f9100abfb55c5448222b0915), and it freezes at the same line as well (Building CXX object es-app/CMakeFiles/emulationstation.dir/src/guis/GuiFastSelect.cpp.o).

                    Have tried 3 times now, also after updating all scripts. Any ideas?

                    AlexMurphyA 1 Reply Last reply Reply Quote 0
                    • AlexMurphyA
                      AlexMurphy Banned @GMAX
                      last edited by AlexMurphy

                      @GMAX Not a clue. It's obviously a specific issue to you or RetrOSMC. Do they have a sub-reddit or a forum you could try? Most, if not all, of the regulars here use the official RetroPie image. I updated ES from source yesterday with no issues. Took about 25 minutes or so.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        Is there a way to uninstall ES without losing everything?

                        I have 500GB of roms that I would really not want to transfer back.

                        The idea is that I would uninstall ES and reinstall and see if that works.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by

                          It seems my problem is definitely an issue of running out of memory. I don't know why this would be happening.

                          My system boots into EmulationStation. I am quitting EmulationStation right away and going to the command prompt.

                          Up top it shows my available resources. I only have around 550MB of memory free. I have no idea what is taking up the rest of the RAM.

                          Any advice on killing processes or what could be taking up all of my RAM?

                          BuZzB 1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators @A Former User
                            last edited by

                            @LiveFastCyYoung what's your GPU split in /boot/config.txt ?

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @BuZz
                              last edited by

                              @BuZz

                              My setup is a RPi3, 1TB WD Labs HD, 16GB MicroSD card.

                              gpu_mem_256=128
                              gpu_mem_512=256
                              gpu_mem_1024=256
                              overscan_scale=1

                              I was able to get the free RAM up to 700MB by clearing the RAM caches. Update still failed but did get a little further.

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @A Former User
                                last edited by

                                @LiveFastCyYoung Is there a way I can download an ES update to an SD card and update it from there?

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User
                                  last edited by

                                  It seems by getting to 88% or so, my ES is mostly updated. However this is now causing issues. :(

                                  There are a couple routes I am curious about going down:

                                  1. If I remove ES using RetroPie_Setup.sh and install it again while in there from binary, what's the worst that could happen? It wouldn't delete my RetroPie folder would it?

                                  2. Is there a way to get ES from source on my computer and install it via an SD card?

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @A Former User
                                    last edited by

                                    @LiveFastCyYoung Any advice for the last two questions?

                                    1 Reply Last reply Reply Quote 0
                                    • fluffypillowF
                                      fluffypillow
                                      last edited by

                                      @LiveFastCyYoung as others have also noted, the internal compiler error in your first post is caused by the low amount of RAM. Compiling can be memory intensive, so you might want to increase it as much as you can (change the GPU/RAM split, kill running programs).

                                      According to the setup script, uninstalling ES removes the binary and the config files. The RetroPie folder is not touched (unless there's an unknown side effect I'm not aware of).

                                      You may build ES on your desktop PC, then transfer it to the Pi, but the process is considered as black magic and requires you to sacrifice your sanity on the altar of the Soul-Eating Compiler Demons.

                                      ? 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @fluffypillow
                                        last edited by

                                        @fluffypillow Thanks for the reply!

                                        I have been able to free up to 700MB of RAM but it's still failing at 88%.

                                        As far as the GPU/RAM split, what would you recommend other than the default?

                                        AlexMurphyA 1 Reply Last reply Reply Quote 0
                                        • AlexMurphyA
                                          AlexMurphy Banned @A Former User
                                          last edited by

                                          @LiveFastCyYoung Just update from Binary.

                                          ? 1 Reply Last reply Reply Quote 0
                                          • fluffypillowF
                                            fluffypillow
                                            last edited by

                                            @LiveFastCyYoung Allocate as much RAM as you can while you're building; if I remember correctly, you can set the GPU memory as low as 64 MB. 700 MB should be more than fine though, I wonder if there's something else in the logs...

                                            Or you could also just update from binary.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.