• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

DXX-Rebirth fails to build

Scheduled Pinned Locked Moved Help and Support
dxx-rebirthbuild faileddescentdescent 2
15 Posts 4 Posters 1.2k 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.
  • R
    redman223
    last edited by redman223 9 Dec 2019, 19:43 12 Sept 2019, 06:39

    "Could not successfully build dxx-rebirth - DXX-Rebirth (Descent & Descent 2) source port (/home/pi/RetroPie-Setup/tmp/build/dxx-rebirth/d1x-rebirth/d1x-rebirth not found)."

    This is the first time I have encountered an issue like this (Pi 3 B+, 4.5.1). I posted both the rps and sconf logs below. Thank you for your help.

    rps.log
    sconf.log

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 12 Sept 2019, 15:58

      NOTE: large log file should be posted on pastebin.com, please use it in the future if you need to paste logs.

      You're running an unsupported system - Raspbian Buster is not fully tested at the moment, though it will be probably be supported in a future version.
      However, that's not the cause of the error - it seems you're missing the libraspberrypi-dev package, you need to install it first.

      1 Reply Last reply Reply Quote 0
      • R
        redman223
        last edited by 12 Sept 2019, 18:53

        Must be a Buster issue, because when I type: sudo get-apt install libraspberrypi-dev

        It says the latest version is already installed. I tested another card running Debian 9.9 and dxx-rebirth installed without any issues.

        For future reference, which part of the code shows libraspberrypi-dev as missing?

        M 1 Reply Last reply 12 Sept 2019, 18:57 Reply Quote 0
        • M
          mitu Global Moderator @redman223
          last edited by 12 Sept 2019, 18:57

          @redman223 said in DXX-Rebirth fails to build:

          For future reference, which part of the code shows libraspberrypi-dev as missing?

          You're confusing code with the log output. The only error I see in the 'scons.log' is

          g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=redundant-decls -Werror=vla -pthread -funsigned-char -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -Werror -Wno-sign-compare -isystem=/opt/vc/include -isystem=/opt/vc/include/interface/vcos/pthreads -isystem=/opt/vc/include/interface/vmcs_host/linux -DPHYSFS_DEPRECATED= -DRPI -Icommon/include -Icommon/main -I. .sconf_temp/conftest_0.cpp -o .sconf_temp/conftest_0.o
          cc1plus: error: =/opt/vc/include: No such file or directory [-Werror=missing-include-dirs]
          cc1plus: error: =/opt/vc/include/interface/vcos/pthreads: No such file or directory [-Werror=missing-include-dirs]
          cc1plus: error: =/opt/vc/include/interface/vmcs_host/linux: No such file or directory [-Werror=missing-include-dirs]
          cc1plus: all warnings being treated as errors
          scons: Configure: no
          

          On a Stretch system, those folders belongs to the the package I mentioned (which is installed by default by RetroPie).

          $ dpkg -S /opt/vc/include/interface/vcos/pthreads
          libraspberrypi-dev: /opt/vc/include/interface/vcos/pthreads
          

          It's the same on Buster, maybe try re-installing the package ?

          1 Reply Last reply Reply Quote 0
          • R
            redman223
            last edited by 13 Sept 2019, 05:49

            I ran: sudo get-apt install --reinstall libraspberrypi-dev

            Still the same issue. I'll keep an eye out for Buster comparability updates.

            D 1 Reply Last reply 13 Sept 2019, 07:26 Reply Quote 0
            • D
              Darksavior @redman223
              last edited by Darksavior 13 Sept 2019, 07:26

              @redman223 I tested it now. It installs fine. It auto installed the required dependencies and then it compiled without issues. I'm using a pi4 with raspbian lite buster. Maybe update the retropie pi4 branch?

              R 1 Reply Last reply 15 Sept 2019, 06:47 Reply Quote 0
              • R
                redman223 @Darksavior
                last edited by 15 Sept 2019, 06:47

                @Darksavior By that do you mean I should go into Retropie-Setup and run Update?

                D 1 Reply Last reply 15 Sept 2019, 08:19 Reply Quote 0
                • D
                  Darksavior @redman223
                  last edited by Darksavior 15 Sept 2019, 08:19

                  @redman223 Update raspbian buster as well. I don't know how retropie updates work with alternate branches, so just in case, I'd re-clone the github fkms_rpi4 branch and try again. Make sure you clean the dxx-rebirth source folder if it gives you the option before building again. I did not do anything special to build it. The script should auto-download the required dependencies.

                  R 1 Reply Last reply 16 Sept 2019, 17:16 Reply Quote 0
                  • R
                    redman223 @Darksavior
                    last edited by redman223 16 Sept 2019, 17:16

                    @Darksavior So I ran:
                    sudo apt-get update
                    sudo apt-get upgrade

                    In addition to Update from within RetroPie-Setup.

                    It still does the same thing. Any next steps for troubleshooting?

                    M D 2 Replies Last reply 16 Sept 2019, 17:21 Reply Quote 0
                    • M
                      mitu Global Moderator @redman223
                      last edited by 16 Sept 2019, 17:21

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • D
                        Darksavior @redman223
                        last edited by Darksavior 17 Sept 2019, 01:25

                        @redman223 It never failed to build for me so I don’t know. I also never manually installed missing libs.

                        1 Reply Last reply Reply Quote 0
                        • P
                          psyke83 Global Moderator
                          last edited by 17 Sept 2019, 02:43

                          This is a build error related to the new gcc version in buster. I'm going to send a fix upstream.

                          D 1 Reply Last reply 17 Sept 2019, 04:49 Reply Quote 1
                          • D
                            Darksavior @psyke83
                            last edited by 17 Sept 2019, 04:49

                            @psyke83 Funny how mine built fine then?

                            P 1 Reply Last reply 17 Sept 2019, 10:19 Reply Quote 0
                            • P
                              psyke83 Global Moderator @Darksavior
                              last edited by 17 Sept 2019, 10:19

                              @Darksavior said in DXX-Rebirth fails to build:

                              @psyke83 Funny how mine built fine then?

                              It's a problem that crops up only if you build against the legacy drivers. If you've got a Pi 4B or are using the fkms overlay for older, the problem won't happen.

                              https://github.com/dxx-rebirth/dxx-rebirth/pull/453

                              1 Reply Last reply Reply Quote 1
                              • R
                                redman223
                                last edited by 30 Sept 2019, 04:51

                                I tried it again today and can confirm that it now installs properly. Thanks for the help!

                                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.

                                  This community forum collects and processes your personal information.
                                  consent.not_received