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

    lr-yabasanshiro failed to install

    Scheduled Pinned Locked Moved Help and Support
    lr-yabasanshiro
    6 Posts 3 Posters 959 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.
    • P
      P3Y0_A15
      last edited by BuZz

      Hi everyone. Im trying to install the lr-yabasanshiro on a 8gb pi 4 with a 3.5 power supply and i get this message:

      RetroPie-Setup version: 4.7.1 (c7080175)
      System: rpi4 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
      /home/pi/RetroPie-Setup/tmp/build/lr-yabasanshiro /home/pi
      
      = = = = = = = = = = = = = = = = = = = = =
      Getting sources for 'lr-yabasanshiro' : Saturn & ST-V emulator - Yabasanshiro port for libretro
      = = = = = = = = = = = = = = = = = = = = =
      
      git clone --recursive --depth 1 --branch yabasanshiro "https://github.com/libretro/yabause.git" "/home/pi/RetroPie-Setup/tmp/build/lr-yabasanshiro"
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/lr-yabasanshiro'...
      Checking out files:   3% (60/1988)   
      Checking out files:   4% (80/1988)   
      Checking out files:   5% (100/1988)   
      Checking out files:   6% (120/1988)   
      Checking out files:   7% (140/1988)   
      Checking out files:   8% (160/1988)   
      Checking out files:   9% (179/1988)   
      Checking out files:  10% (199/1988)   
      Checking out files:  11% (219/1988)   
      Checking out files:  12% (239/1988)   
      Checking out files:  13% (259/1988)   
      Checking out files:  14% (279/1988)   
      Checking out files:  15% (299/1988)   
      Checking out files:  16% (319/1988)   
      Checking out files:  17% (338/1988)   
      Checking out files:  18% (358/1988)   
      Checking out files:  19% (378/1988)   
      Checking out files:  20% (398/1988)   
      Checking out files:  21% (418/1988)   
      Checking out files:  22% (438/1988)   
      Checking out files:  23% (458/1988)   
      Checking out files:  24% (478/1988)   
      Checking out files:  25% (497/1988)   
      Checking out files:  26% (517/1988)   
      Checking out files:  27% (537/1988)   
      Checking out files:  28% (557/1988)   
      Checking out files:  29% (577/1988)   
      Checking out files:  30% (597/1988)   
      Checking out files:  31% (617/1988)   
      Checking out files:  32% (637/1988)   
      Checking out files:  33% (657/1988)   
      Checking out files:  34% (676/1988)   
      Checking out files:  35% (696/1988)   
      Checking out files:  36% (716/1988)   
      Checking out files:  36% (719/1988)   
      Checking out files:  36% (720/1988)   
      Checking out files:  37% (736/1988)   
      Checking out files:  38% (756/1988)   
      Checking out files:  39% (776/1988)   
      Checking out files:  40% (796/1988)   
      Checking out files:  41% (816/1988)   
      Checking out files:  42% (835/1988)   
      Checking out files:  43% (855/1988)   
      Checking out files:  44% (875/1988)   
      Checking out files:  45% (895/1988)   
      Checking out files:  46% (915/1988)   
      Checking out files:  47% (935/1988)   
      Checking out files:  48% (955/1988)   
      Checking out files:  49% (975/1988)   
      Checking out files:  50% (994/1988)   
      Checking out files:  51% (1014/1988)   
      Checking out files:  52% (1034/1988)   
      Checking out files:  53% (1054/1988)   
      Checking out files:  54% (1074/1988)   
      Checking out files:  55% (1094/1988)   
      Checking out files:  56% (1114/1988)   
      Checking out files:  57% (1134/1988)   
      Checking out files:  58% (1154/1988)   
      Checking out files:  59% (1173/1988)   
      Checking out files:  60% (1193/1988)   
      Checking out files:  61% (1213/1988)   
      Checking out files:  62% (1233/1988)   
      Checking out files:  63% (1253/1988)   
      Checking out files:  64% (1273/1988)   
      Checking out files:  65% (1293/1988)   
      Checking out files:  65% (1309/1988)   
      Checking out files:  66% (1313/1988)   
      Checking out files:  67% (1332/1988)   
      Checking out files:  68% (1352/1988)   
      Checking out files:  69% (1372/1988)   
      Checking out files:  70% (1392/1988)   
      Checking out files:  71% (1412/1988)   
      Checking out files:  72% (1432/1988)   
      Checking out files:  73% (1452/1988)   
      Checking out files:  74% (1472/1988)   
      Checking out files:  75% (1491/1988)   
      Checking out files:  76% (1511/1988)   
      Checking out files:  77% (1531/1988)   
      Checking out files:  78% (1551/1988)   
      Checking out files:  79% (1571/1988)   
      Checking out files:  80% (1591/1988)   
      Checking out files:  81% (1611/1988)   
      Checking out files:  82% (1631/1988)   
      Checking out files:  83% (1651/1988)   
      Checking out files:  84% (1670/1988)   
      Checking out files:  85% (1690/1988)   
      Checking out files:  86% (1710/1988)   
      Checking out files:  87% (1730/1988)   
      Checking out files:  88% (1750/1988)   
      Checking out files:  89% (1770/1988)   
      Checking out files:  90% (1790/1988)   
      Checking out files:  91% (1810/1988)   
      Checking out files:  92% (1829/1988)   
      Checking out files:  93% (1849/1988)   
      Checking out files:  94% (1869/1988)   
      Checking out files:  95% (1889/1988)   
      Checking out files:  96% (1909/1988)   
      Checking out files:  97% (1929/1988)   
      Checking out files:  98% (1949/1988)   
      Checking out files:  98% (1950/1988)   
      Checking out files:  99% (1969/1988)   
      Checking out files: 100% (1988/1988)   
      Checking out files: 100% (1988/1988), done.
      Submodule 'ext/eigen' (https://github.com/libigl/eigen.git) registered for path 'yabause/src/retro_arena/nanogui-sdl/ext/eigen'
      Cloning into '/home/pi/RetroPie-Setup/tmp/build/lr-yabasanshiro/yabause/src/retro_arena/nanogui-sdl/ext/eigen'...
      Submodule path 'yabause/src/retro_arena/nanogui-sdl/ext/eigen': checked out 'c34a9130bc585b288703bd9716d7efae194974e2'
      HEAD is now in branch 'yabasanshiro' at commit 'db67d16c89f4c10f958a0ae72209d6651111007c'
      patching file yabause/src/yglshaderes.c
      Hunk #1 FAILED at 297 (different line endings).
      Hunk #2 FAILED at 319 (different line endings).
      Hunk #3 FAILED at 408 (different line endings).
      Hunk #4 FAILED at 467 (different line endings).
      Hunk #5 FAILED at 553 (different line endings).
      Hunk #6 FAILED at 1327 (different line endings).
      Hunk #7 FAILED at 1392 (different line endings).
      Hunk #8 FAILED at 1495 (different line endings).
      Hunk #9 FAILED at 1605 (different line endings).
      Hunk #10 FAILED at 1758 (different line endings).
      Hunk #11 FAILED at 1818 (different line endings).
      Hunk #12 FAILED at 1826 (different line endings).
      Hunk #13 FAILED at 1944 (different line endings).
      Hunk #14 FAILED at 1953 (different line endings).
      Hunk #15 FAILED at 2072 (different line endings).
      Hunk #16 FAILED at 2528 (different line endings).
      Hunk #17 FAILED at 2634 (different line endings).
      17 out of 17 hunks FAILED -- saving rejects to file yabause/src/yglshaderes.c.rej
      /home/pi
      lr-yabasanshiro patch /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-yabasanshiro/01_shader_hack_rpi4.diff failed to apply
      
      Log ended at: Fri  4 Jun 22:02:19 BST 2021
      Total running time: 0 hours, 1 mins, 13 secs
      

      what should i do im a total noob. tnx in advance

      DarksaviorD BuZzB 2 Replies Last reply Reply Quote 0
      • DarksaviorD
        Darksavior @P3Y0_A15
        last edited by

        @p3y0_a15 Are you using the old script that was being passed around here or did you forget to add the shader hack diff? Use the one here: https://github.com/joolswills/RetroPie-Setup/commits/lr-yabasanshiro

        1 Reply Last reply Reply Quote 0
        • P
          P3Y0_A15
          last edited by BuZz

          Now i get this. what does it means?

          git clone --recursive --depth 1 --branch master "" ""
          fatal: repository '' does not exist
          HEAD is now in branch 'master' at commit 'c70801758a42fc0d017d9022e68c524578602b25'
          can't find file to patch at input line 5
          Perhaps you used the wrong -p or --strip option?
          The text leading up to this was:
          --------------------------
          |diff --git a/yabause/src/yglshaderes.c b/yabause/src/yglshaderes.c
          |index 8c0ab8f..2c17827 100644
          |--- a/yabause/src/yglshaderes.c
          |+++ b/yabause/src/yglshaderes.c
          --------------------------
          No file to patch.  Skipping patch.
          17 out of 17 hunks ignored
          /home/pi
          Error running 'git clone --recursive --depth 1 --branch master  ' - returned 128
          lr-yabasanshiro patch /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-yabasanshiro/01_shader_hack_rpi4.diff failed to apply
          
          DarksaviorD 1 Reply Last reply Reply Quote 0
          • DarksaviorD
            Darksavior @P3Y0_A15
            last edited by Darksavior

            @p3y0_a15 I already offered you a solution. Download the zip from the repo I linked to, extract "lr-yabasanshiro.sh" and the "lr-yabasanshiro" folder with its contents, and transfer them to your retropie-setup. I tested it now and it builds fine.

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @P3Y0_A15
              last edited by BuZz

              @p3y0_a15 Your RetroPie-Setup is too old. You need to update before you can use that scriptmodule. Also please use three backticks when posting logs on the forum (markdown) or use a pastebin site. (I have edited your posts).

              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

              P 1 Reply Last reply Reply Quote 0
              • P
                P3Y0_A15 @BuZz
                last edited by

                @buzz tnx that seemed to be the problem. I upadated the script and it installed with no problem

                1 Reply Last reply Reply Quote 0
                • prince_rakeemP prince_rakeem referenced this topic on
                • 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.