DXX-Rebirth fails to build
-
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 thelibraspberrypi-dev
package, you need to install it first. -
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?
-
@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 ?
-
I ran: sudo get-apt install --reinstall libraspberrypi-dev
Still the same issue. I'll keep an eye out for Buster comparability updates.
-
@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?
-
@Darksavior By that do you mean I should go into Retropie-Setup and run Update?
-
@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. -
@Darksavior So I ran:
sudo apt-get update
sudo apt-get upgradeIn addition to Update from within RetroPie-Setup.
It still does the same thing. Any next steps for troubleshooting?
-
This post is deleted! -
@redman223 It never failed to build for me so I don’t know. I also never manually installed missing libs.
-
This is a build error related to the new gcc version in buster. I'm going to send a fix upstream.
-
@psyke83 Funny how mine built fine then?
-
@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.
-
I tried it again today and can confirm that it now installs properly. Thanks for the help!
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.