Setup fails on fresh Ubuntu 20.04 (beta) install
-
Both these issues are fixed now. However there may be other issues - I am currently building core and main packages on Ubuntu 20.04 to test the basic install.
-
@BuZz Just confirmed that it now builds the basic install. Will have to test some of the optional builds and will report back if I find anything else.
-
OK so lr-mame2016 is trying to make with python2, and that just doesn't cut it on 20.04
So this is going to need a fix:Note that I'm now on the official LTS release and no longer on beta
= = = = = = = = = = = = = = = = = = = = = Building 'lr-mame2016' : MAME emulator - MAME 0.174 port for libretro = = = = = = = = = = = = = = = = = = = = = Removing additional swap make REGENIE=1 VERBOSE=1 NOWERROR=1 OSD="retro" PYTHON_EXECUTABLE=python2 CONFIG=libretro LIBRETRO_OS="unix" ARCH="" LIBRETRO_CPU="x86_64" clean make[1]: Entering directory '/home/nuc/RetroPie-Setup/tmp/build/lr-mame2016' GCC 9 detected makefile:876: *** Python is not available in path. Stop. make[1]: Leaving directory '/home/nuc/RetroPie-Setup/tmp/build/lr-mame2016' make: *** [Makefile.libretro:200: clean] Error 2 make REGENIE=1 VERBOSE=1 NOWERROR=1 OSD="retro" PYTHON_EXECUTABLE=python2 CONFIG=libretro PTR64=1 LIBRETRO_OS="unix" ARCH="" LIBRETRO_CPU="x86_64" TARGET=mame SUBTARGET=arcade make[1]: Entering directory '/home/nuc/RetroPie-Setup/tmp/build/lr-mame2016' GCC 9 detected makefile:876: *** Python is not available in path. Stop. make[1]: Leaving directory '/home/nuc/RetroPie-Setup/tmp/build/lr-mame2016' make: *** [Makefile.libretro:197: build] Error 2 Removing additional swap /home/nuc/RetroPie-Setup Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/nuc/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found).
-
No sooner had I posted that, I forced ubuntu to run updates.
Interestingly a minimal python2 package just showed up, and now this is building again.Looks like the world is still hooked on the drug that is python2
-
Just tried lr-mame2016 again on a different machine, and it didn't get the minimal python2 install.
So I forced it with "sudo apt-get install python2-minimal"
Which does the job.Somehow I feel that retropie needs to breakaway from python2 at some point though, as python3 should be the default going forward.
-
@Neo-Rio said in Setup fails on fresh Ubuntu 20.04 (beta) install:
Somehow I feel that retropie needs to breakaway from python2 at some point though, as python3 should be the default going forward.
The whole Python world tries to do that, yet after 11 years of Python3, it still hasn't happened. The RetroPie install script doesn't explicitly set
python2
inlr-mame2016
build script (you can see the build parameters here), upstream would need to change this to make it work. We might try to override it and update the script, but if it's not supported bylr-mame2016
, it might not work. -
Had some issues with monitor refresh rate detection in 20.04
It made me think that my AMD APU graphics were faulty... but once I set the refresh rate of the TV to 60Hz things were good. -
I can't get the Setup script to work on a fresh Ubuntu 20.04 Server install.
Log from last attempt:Log started at: Thu May 7 22:07:09 UTC 2020
RetroPie-Setup version: 4.6 (7c5e31b)
System: Ubuntu 20.04 LTS - Linux pi4 5.4.0-1008-raspi #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
= = = = = = = = = = = = = = = = = = = = =Did not find needed dependencies: libudev-dev libxkbcommon-dev libsdl2-dev(custom) libasound2-dev libusb-1.0-0-dev libraspberrypi-dev libgles2-mesa-dev libavcodec-dev libavformat-dev libavdevice-dev. Trying to install them now.
= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
= = = = = = = = = = = = = = = = = = = = =Did not find needed dependencies: libasound2-dev libudev-dev libibus-1.0-dev libdbus-1-dev fcitx-libs-dev libsndio-dev libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxss-dev libxt-dev libxv-dev libxxf86vm-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libgl1-mesa-dev libglu1-mesa-dev libdrm-dev libgbm-dev devscripts debhelper dh-autoreconf libraspberrypi-dev. Trying to install them now.
Hit:1 http://ppa.launchpad.net/libretro/stable/ubuntu focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libraspberrypi-dev
Could not install package(s): libasound2-dev libudev-dev libibus-1.0-dev libdbus-1-dev fcitx-libs-dev libsndio-dev libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxss-dev libxt-dev libxv-dev libxxf86vm-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libgl1-mesa-dev libglu1-mesa-dev libdrm-dev libgbm-dev devscripts debhelper dh-autoreconf libraspberrypi-dev.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libraspberrypi-dev
Could not install package(s): libudev-dev libxkbcommon-dev libasound2-dev libusb-1.0-0-dev libraspberrypi-dev libgles2-mesa-dev libavcodec-dev libavformat-dev libavdevice-dev.Log ended at: Thu May 7 22:07:18 UTC 2020
Total running time: 0 hours, 0 mins, 9 secs -
@undfined said in Setup fails on fresh Ubuntu 20.04 (beta) install:
System: Ubuntu 20.04 LTS - Linux pi4 5.4.0-1008-raspi #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
We don't support Ubuntu on the Pi, only Raspbian. Ubuntu is supported for PC installations.
-
so I know nothing about python or anything. will this just be a thing where I have to wait for them to make retro pie available on ubuntu 20.04 and if so when will it be released . also what I'm trying to do is install ubuntu on my raspberry pie 4 than downloads retro pie as an app.
-
@ty we have no plans to support Ubuntu on the RPI.
-
I tried running RetroPie-Setup version: 4.6.1 on Ubuntu 20.04 LTS and my setup failed.
"Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/arcade/RetroPie-Setup/tmp/build/retroarch/retroarch not found)."
Any idea why it isn't installing retroarch? If I manually install retroarch and place it in /home/arcade/RetroPie-Setup/tmp/build/retroarch, the RetroPie setup completes until I get another error when it installs mupen64.
Log started at: Thu 14 May 2020 03:24:04 PM EDT RetroPie-Setup version: 4.6.1 (03710c1) System: Ubuntu 20.04 LTS - Linux arcade-OptiPlex-7010 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators = = = = = = = = = = = = = = = = = = = = = /home/arcade/RetroPie-Setup/tmp/build/retroarch /home/arcade/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Getting sources for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators = = = = = = = = = = = = = = = = = = = = = git clone --recursive --depth 1 --branch v1.8.6 "https://github.com/libretro/RetroArch.git" "/home/arcade/RetroPie-Setup/tmp/build/retroarch" Cloning into '/home/arcade/RetroPie-Setup/tmp/build/retroarch'... Note: switching to '36802f713312dc16c93a7765cd4a1b0883db5a61'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now in branch 'HEAD' at commit '36802f713312dc16c93a7765cd4a1b0883db5a61' patching file retroarch.c Successfully applied patch: /home/arcade/RetroPie-Setup/scriptmodules/emulators/retroarch/01_hotkey_hack.diff patching file menu/menu_driver.c Successfully applied patch: /home/arcade/RetroPie-Setup/scriptmodules/emulators/retroarch/02_disable_search.diff patching file configuration.c patching file configuration.h patching file retroarch.c Successfully applied patch: /home/arcade/RetroPie-Setup/scriptmodules/emulators/retroarch/03_shader_path_config_enable.diff /home/arcade/RetroPie-Setup /home/arcade/RetroPie-Setup/tmp/build/retroarch /home/arcade/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Building 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators = = = = = = = = = = = = = = = = = = = = = Checking operating system ... Linux (Ubuntu 20.04 LTS 20.04) Checking for suitable working C compiler ... /usr/bin/gcc works Checking for suitable working C++ compiler ... /usr/bin/g++ works Checking for pkg-config ... /usr/bin/pkg-config Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes Checking for availability of switch -std=c++11 in /usr/bin/g++ ... yes Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes Checking function sd_get_machine_names in -lsystemd ... no Checking presence of package bcm_host ... no Checking function bcm_host_init in -lbcm_host ... no Checking presence of header file EGL/eglext.h ... yes Checking presence of package egl ... 1.5 Checking function ass_library_init in -lass ... no Checking function pthread_create in -lpthread ... yes Checking function pthread_key_create in -lpthread ... yes Checking presence of header file scsi/sg.h ... yes Checking function dlopen in -ldl ... yes Checking function socket in -lc ... yes Checking function getaddrinfo in -lc ... yes Checking existence of -lminiupnpc ... yes Checking function fcntl in -lc ... yes Checking function getopt_long in -lc ... yes Checking presence of package alsa ... 1.2.2 Checking presence of package caca ... 0.99.beta19 Checking presence of package libsixel >= 1.6.0 ... no Checking presence of predefined macro AUDIO_SETINFO in sys/audioio.h ... no Checking presence of package rsound >= 1.1 ... no Checking presence of package libroar >= 1.0.12 ... no Checking presence of package libpulse ... 13.99.1 Checking presence of package sdl2 >= 2.0.0 ... 2.0.10 Checking presence of package flac ... no Checking presence of header file mbedtls/entropy.h ... yes Checking existence of -lmbedtls ... yes Checking existence of -lmbedx509 ... yes Checking existence of -lmbedcrypto ... yes Checking presence of package libusb-1.0 >= 1.0.13 ... 1.0.23 Checking existence of -ldinput8 ... no Checking existence of -ld3d9 ... no Checking existence of -ldsound ... no Checking existence of -ld3dx8 ... no Checking existence of -ld3dx9 ... no Checking presence of header file GL/gl.h ... yes Checking existence of -lGL ... no Notice: OpenGL is disabled, Cg support will also be disabled. Notice: OpenGL is disabled, OpenGL1 support will also be disabled. Notice: OpenGL and OpenGLES3 are disabled. Disabling OpenGL core. Notice: OpenGL and OpenGLES are disabled, GLSL support will also be disabled. Checking presence of package zlib ... 1.2.11 Checking presence of package libavcodec >= 57 ... 58.54.100 Checking presence of package libavformat >= 57 ... 58.29.100 Checking presence of package libavdevice >= 57 ... 58.8.100 Checking presence of package libswresample >= 2 ... 3.5.100 Checking presence of package libavutil >= 55 ... 56.31.100 Checking presence of package libswscale >= 4 ... 5.5.100 Checking presence of header file libavutil/channel_layout.h ... yes Checking function dlopen in -ldl ... yes Checking presence of package gbm >= 9.0 ... 20.0.4 Checking presence of package libdrm ... 2.4.101 Checking presence of package vg ... no Checking presence of package libudev ... 245 Checking presence of package libv4l2 ... no Checking presence of package freetype2 ... 23.1.17 Checking presence of package x11 ... 1.6.9 Checking presence of package xcb ... 1.14 Checking presence of package xext ... 1.3.4 Checking presence of package xxf86vm ... 1.1.4 Checking presence of package xv ... 1.0.11 Checking presence of package xinerama ... 1.1.4 Checking existence of -lXrandr ... yes Checking presence of package xkbcommon >= 0.3.2 ... 0.10.0 Checking presence of package wayland-egl >= 10.1.0 ... 18.1.0 Checking presence of package wayland-cursor >= 1.12 ... 1.18.0 Checking presence of package wayland-protocols >= 1.15 ... 1.20 Checking presence of package wayland-scanner >= 1.12 ... 1.18.0 Checking presence of header file linux/parport.h ... yes Checking presence of header file linux/ppdev.h ... yes Checking function strcasestr in -lc ... yes Checking function mmap in -lc ... yes Checking function vkCreateInstance in -lvulkan ... yes Checking presence of header file glslang/SPIRV/GlslangToSpv.h ... no Checking existence of -lOSDependent ... no Checking existence of -lOGLCompiler ... no Checking existence of -lHLSL ... no Checking existence of -lSPIRV ... no Checking existence of -lSPIRV-Tools-opt ... no Checking existence of -lSPIRV-Tools ... no Creating make config: config.mk Creating config header: config.h rm -rf obj-unix rm -f retroarch rm -f *.d CC input/drivers/linuxraw_input.c CC input/common/linux_common.c CC input/drivers_joypad/linuxraw_joypad.c CC frontend/drivers/platform_unix.c CC version_git.c CC frontend/frontend_driver.c CC retroarch.c CC msg_hash.c CC intl/msg_hash_us.c CC libretro-common/queues/task_queue.c CC tasks/task_content.c CC tasks/task_patch.c CC tasks/task_save.c CC tasks/task_file_transfer.c CC tasks/task_image.c CC tasks/task_playlist_manager.c CC tasks/task_manual_content_scan.c CC libretro-common/encodings/encoding_utf.c CC libretro-common/encodings/encoding_crc32.c CC libretro-common/encodings/encoding_base64.c CC libretro-common/compat/fopen_utf8.c CC libretro-common/lists/file_list.c CC libretro-common/lists/dir_list.c CC libretro-common/file/retro_dirent.c CC libretro-common/streams/stdin_stream.c CC libretro-common/streams/file_stream.c CC libretro-common/streams/file_stream_transforms.c CC libretro-common/streams/interface_stream.c CC libretro-common/streams/memory_stream.c CC libretro-common/vfs/vfs_implementation.c CC libretro-common/media/media_detect_cd.c CC libretro-common/lists/string_list.c CC libretro-common/string/stdstring.c CC libretro-common/memmap/memalign.c CC libretro-common/file/nbio/nbio_stdio.c CC libretro-common/file/nbio/nbio_linux.c CC libretro-common/file/nbio/nbio_intf.c CC libretro-common/file/file_path.c CC libretro-common/file/file_path_io.c CC file_path_special.c CC file_path_str.c CC libretro-common/hash/rhash.c CC input/common/input_hid_common.c retroarch.c: In function ‘netplay_announce’: retroarch.c:4798:73: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 4798 | snprintf(frontend_architecture, sizeof(frontend_architecture), "%s %s", | ^ In file included from /usr/include/stdio.h:867, from retroarch.c:52: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC input/input_mapper.c CC led/led_driver.c CC gfx/video_coord_array.c CC gfx/video_crt_switch.c CC gfx/gfx_display.c CC gfx/gfx_animation.c CC gfx/gfx_thumbnail_path.c CC gfx/gfx_thumbnail.c retroarch.c: In function ‘command_get_config_param’: retroarch.c:3961:56: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 3961 | snprintf(reply, sizeof(reply), "GET_CONFIG_PARAM %s %s\n", arg, value); | ^~ In file included from /usr/include/stdio.h:867, from retroarch.c:52: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 4115) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC configuration.c CC libretro-common/dynamic/dylib.c CC cores/dynamic_dummy.c CC libretro-common/queues/message_queue.c CC managers/state_manager.c CC gfx/drivers_font_renderer/bitmapfont.c CC tasks/task_autodetect.c CC input/input_autodetect_builtin.c CC input/input_keymaps.c tasks/task_autodetect.c: In function ‘input_autoconfigure_joypad_add.isra.0’: tasks/task_autodetect.c:199:40: warning: ‘ #’ directive output may be truncated writing 2 bytes into a region of size between 0 and 127 [-Wformat-truncation=] 199 | snprintf(msg, sizeof(msg), "%s %s #%u.", | ^~ tasks/task_autodetect.c:199:34: note: using the range [0, 4294967295] for directive argument 199 | snprintf(msg, sizeof(msg), "%s %s #%u.", | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ./libretro-common/include/file/file_path.h:26, from tasks/task_autodetect.c:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 133) into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libretro-common/queues/fifo_queue.c CC libretro-common/compat/compat_fnmatch.c CC libretro-common/compat/compat_posix_string.c CC managers/cheat_manager.c CC core_info.c CC libretro-common/file/config_file.c CC libretro-common/file/config_file_userdata.c CC runtime_file.c CC disk_index_file.c CC tasks/task_screenshot.c CC tasks/task_powerstate.c CC libretro-common/gfx/scaler/scaler.c CC libretro-common/gfx/scaler/pixconv.c CC libretro-common/gfx/scaler/scaler_int.c CC libretro-common/gfx/scaler/scaler_filter.c CC gfx/font_driver.c CC gfx/video_filter.c CC libretro-common/audio/resampler/audio_resampler.c CC libretro-common/audio/dsp_filter.c CC libretro-common/audio/resampler/drivers/sinc_resampler.c CC libretro-common/audio/resampler/drivers/nearest_resampler.c CC libretro-common/utils/md5.c CC playlist.c CC libretro-common/features/features_cpu.c CC performance_counters.c CC verbosity.c CC libretro-common/playlists/label_sanitization.c CC manual_content_scan.c CC disk_control_interface.c disk_control_interface.c: In function ‘disk_control_get_index_set_msg.constprop’: disk_control_interface.c:265:39: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=] 265 | msg, len, "%s: %u/%u - %s", | ^~ ...... 268 | index + 1, num_images, image_label); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ./libretro-common/include/file/file_path.h:26, from disk_control_interface.c:24: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC input/input_remapping.c CC tasks/task_autodetect_blissbox.c CC tasks/task_audio_mixer.c CC libretro-common/audio/audio_mix.c CC libretro-common/audio/audio_mixer.c CC audio/drivers_resampler/cc_resampler.c CC intl/msg_hash_de.c CC intl/msg_hash_eo.c CC intl/msg_hash_es.c CC intl/msg_hash_fr.c CC intl/msg_hash_it.c CC intl/msg_hash_ja.c CC intl/msg_hash_ko.c CC intl/msg_hash_nl.c CC intl/msg_hash_pl.c CC intl/msg_hash_pt_br.c CC intl/msg_hash_pt_pt.c CC intl/msg_hash_ru.c CC intl/msg_hash_vn.c CC intl/msg_hash_chs.c CC intl/msg_hash_cht.c CC intl/msg_hash_ar.c CC intl/msg_hash_el.c CC intl/msg_hash_tr.c CC libretro-common/compat/compat_strl.c CC libretro-common/formats/image_texture.c CC cores/libretro-imageviewer/image_core.c CC libretro-db/bintree.c CC libretro-db/libretrodb.c CC libretro-db/query.c CC libretro-db/rmsgpack.c CC libretro-db/rmsgpack_dom.c CC database_info.c CC tasks/task_database.c CC tasks/task_database_cue.c CC deps/mbedtls/aes.c CC deps/mbedtls/aesni.c CC deps/mbedtls/arc4.c CC deps/mbedtls/asn1parse.c CC deps/mbedtls/asn1write.c CC deps/mbedtls/base64.c CC deps/mbedtls/blowfish.c CC deps/mbedtls/bignum.c CC deps/mbedtls/camellia.c CC deps/mbedtls/ccm.c CC deps/mbedtls/cipher.c CC deps/mbedtls/cipher_wrap.c CC deps/mbedtls/cmac.c CC deps/mbedtls/ctr_drbg.c CC deps/mbedtls/des.c CC deps/mbedtls/dhm.c CC deps/mbedtls/ecdh.c CC deps/mbedtls/ecdsa.c CC deps/mbedtls/ecjpake.c CC deps/mbedtls/ecp.c CC deps/mbedtls/ecp_curves.c CC deps/mbedtls/entropy.c CC deps/mbedtls/entropy_poll.c CC deps/mbedtls/error.c CC deps/mbedtls/gcm.c CC deps/mbedtls/havege.c CC deps/mbedtls/hmac_drbg.c CC deps/mbedtls/md.c CC deps/mbedtls/md2.c CC deps/mbedtls/md4.c CC deps/mbedtls/md5.c CC deps/mbedtls/md_wrap.c CC deps/mbedtls/memory_buffer_alloc.c CC deps/mbedtls/oid.c CC deps/mbedtls/padlock.c CC deps/mbedtls/pem.c CC deps/mbedtls/pk.c CC deps/mbedtls/pk_wrap.c CC deps/mbedtls/pkcs12.c CC deps/mbedtls/pkcs5.c CC deps/mbedtls/pkparse.c CC deps/mbedtls/pkwrite.c CC deps/mbedtls/platform.c CC deps/mbedtls/ripemd160.c CC deps/mbedtls/rsa.c CC deps/mbedtls/sha1.c CC deps/mbedtls/sha256.c CC deps/mbedtls/sha512.c CC deps/mbedtls/threading.c CC deps/mbedtls/timing.c CC deps/mbedtls/version.c CC deps/mbedtls/version_features.c CC deps/mbedtls/xtea.c CC deps/mbedtls/certs.c CC deps/mbedtls/pkcs11.c CC deps/mbedtls/x509.c CC deps/mbedtls/x509_create.c CC deps/mbedtls/x509_crl.c CC deps/mbedtls/x509_crt.c CC deps/mbedtls/x509_csr.c CC deps/mbedtls/x509write_crt.c CC deps/mbedtls/x509write_csr.c CC deps/mbedtls/debug.c CC deps/mbedtls/net_sockets.c CC deps/mbedtls/ssl_cache.c CC deps/mbedtls/ssl_ciphersuites.c CC deps/mbedtls/ssl_cli.c CC deps/mbedtls/ssl_cookie.c CC deps/mbedtls/ssl_srv.c CC deps/mbedtls/ssl_ticket.c CC deps/mbedtls/ssl_tls.c CC audio/drivers/alsa.c CC midi/drivers/alsa_midi.c CC audio/drivers/alsathread.c CC audio/drivers/tinyalsa.c CC audio/drivers/pulse.c CC libretro-common/audio/conversion/s16_to_float.c CC libretro-common/audio/conversion/float_to_s16.c CC libretro-common/formats/wav/rwav.c CC menu/drivers/rgui.c CC menu/drivers/materialui.c CC menu/drivers/xmb.c CC menu/drivers/ozone/ozone.c CC menu/drivers/ozone/ozone_entries.c CC menu/drivers/ozone/ozone_display.c CC menu/drivers/ozone/ozone_texture.c CC menu/drivers/ozone/ozone_theme.c CC menu/drivers/ozone/ozone_sidebar.c CC menu/menu_shader.c CC menu/menu_driver.c CC menu/menu_setting.c CC menu/widgets/menu_filebrowser.c CC menu/widgets/menu_dialog.c CC menu/widgets/menu_input_bind_dialog.c CC menu/menu_cbs.c CC menu/cbs/menu_cbs_ok.c CC menu/cbs/menu_cbs_cancel.c CC menu/cbs/menu_cbs_select.c CC menu/cbs/menu_cbs_start.c CC menu/cbs/menu_cbs_info.c CC menu/cbs/menu_cbs_refresh.c CC menu/cbs/menu_cbs_left.c CC menu/cbs/menu_cbs_right.c CC menu/cbs/menu_cbs_deferred_push.c CC menu/cbs/menu_cbs_scan.c CC menu/cbs/menu_cbs_get_value.c CC menu/cbs/menu_cbs_label.c CC menu/cbs/menu_cbs_sublabel.c CC menu/cbs/menu_cbs_title.c CC menu/cbs/menu_cbs_up.c CC menu/cbs/menu_cbs_down.c CC menu/cbs/menu_cbs_contentlist_switch.c CC menu/menu_displaylist.c CC input/input_osk.c CC gfx/gfx_widgets.c CC gfx/widgets/gfx_widget_screenshot.c CC gfx/widgets/gfx_widget_volume.c menu/menu_displaylist.c: In function ‘menu_displaylist_build_list’: menu/menu_displaylist.c:5638:39: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 5638 | "%0*u: %s", num_digits, i + 1, image_label); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ./libretro-common/include/file/file_path.h:26, from menu/menu_displaylist.c:26: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 5 or more bytes (assuming 4100) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC gfx/widgets/gfx_widget_generic_message.c CC gfx/widgets/gfx_widget_libretro_message.c CC tasks/task_overlay.c CC led/drivers/led_overlay.c CC gfx/video_layout.c CC gfx/video_layout/view.c CC gfx/video_layout/element.c CC gfx/video_layout/component.c CC gfx/video_layout/internal.c CC gfx/video_layout/scope.c CC gfx/video_layout/load.c CC gfx/drivers_font_renderer/stb.c CC gfx/drivers_font_renderer/stb_unicode.c CC gfx/drivers_font_renderer/freetype.c CC libretro-common/rthreads/rthreads.c CC gfx/video_thread_wrapper.c CC audio/audio_thread_wrapper.c CC gfx/drivers_context/wayland_ctx.c CC input/drivers/wayland_input.c CC gfx/common/wayland/xdg-shell.c CC gfx/common/wayland/xdg-shell-unstable-v6.c CC gfx/common/wayland/idle-inhibit-unstable-v1.c CC gfx/common/wayland/xdg-decoration-unstable-v1.c CC libretro-common/formats/xml/rxml.c CC libretro-common/formats/logiqx_dat/logiqx_dat.c CC deps/yxml/yxml.c CC input/common/input_x11_common.c CC input/drivers/x11_input.c CC gfx/common/x11_common.c CC gfx/common/xinerama_common.c CC gfx/display_servers/dispserv_x11.c CC gfx/drivers_context/x_ctx.c CC input/drivers_keyboard/keyboard_event_xkb.c CC input/drivers/udev_input.c CC input/drivers_joypad/udev_joypad.c gfx/drivers_context/x_ctx.c:154:12: warning: ‘x_log_error_handler’ defined but not used [-Wunused-function] 154 | static int x_log_error_handler(Display *dpy, XErrorEvent *event) | ^~~~~~~~~~~~~~~~~~~ CC input/drivers_hid/libusb_hid.c CC input/drivers_joypad/hid_joypad.c CC input/connect/joypad_connection.c CC input/connect/connect_ps2adapter.c CC input/connect/connect_psxadapter.c CC input/connect/connect_ps3.c CC input/connect/connect_ps4.c CC input/connect/connect_wii.c CC input/connect/connect_retrode.c CC input/connect/connect_nesusb.c CC input/connect/connect_snesusb.c CC input/connect/connect_wiiupro.c CC input/connect/connect_wiiugca.c CC input/drivers_joypad/parport_joypad.c CC gfx/drivers_context/gfx_null_ctx.c CC gfx/drivers_context/drm_ctx.c CC gfx/drivers/caca_gfx.c CC gfx/drivers_font/caca_font.c CC gfx/common/egl_common.c CC gfx/drivers/sdl2_gfx.c CC gfx/common/sdl2_common.c CC input/drivers/sdl_input.c CC input/drivers_joypad/sdl_joypad.c CC audio/drivers/sdl_audio.c CC gfx/drivers/vulkan.c CC gfx/common/vulkan_common.c CC libretro-common/vulkan/vulkan_symbol_wrapper.c CC gfx/drivers_font/vulkan_raster_font.c CC gfx/drivers_display/gfx_display_vulkan.c CXX gfx/drivers_shader/shader_vulkan.cpp CC gfx/drivers_context/khr_display_ctx.c CC gfx/common/drm_common.c CC gfx/drivers/xvideo.c CXX gfx/drivers_shader/slang_process.cpp CC gfx/drivers_shader/glslang_util.c CXX gfx/drivers_shader/glslang_util_cxx.cpp CXX gfx/drivers_shader/slang_reflection.cpp CC gfx/video_shader_parse.c CXX gfx/drivers_shader/glslang.cpp CXX deps/glslang/glslang/SPIRV/SpvBuilder.cpp CXX deps/glslang/glslang/SPIRV/SPVRemapper.cpp CXX deps/glslang/glslang/SPIRV/InReadableOrder.cpp CXX deps/glslang/glslang/SPIRV/doc.cpp CXX deps/glslang/glslang/SPIRV/Logger.cpp CXX deps/glslang/glslang/SPIRV/GlslangToSpv.cpp CXX deps/glslang/glslang/SPIRV/disassemble.cpp CXX deps/glslang/glslang/glslang/GenericCodeGen/Link.cpp CXX deps/glslang/glslang/glslang/GenericCodeGen/CodeGen.cpp CXX deps/glslang/glslang/OGLCompilersDLL/InitializeDll.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/Versions.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/RemoveTree.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/iomapper.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/glslang_tab.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/propagateNoContraction.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/limits.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/intermOut.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/Initialize.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/parseConst.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/ParseHelper.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/linkValidate.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/IntermTraverse.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/InfoSink.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/ShaderLang.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/reflection.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/Constant.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/Scan.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/ParseContextBase.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/attribute.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/PoolAlloc.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp CXX deps/glslang/glslang/glslang/OSDependent/Unix/ossource.cpp CXX deps/SPIRV-Cross/spirv_cross.cpp CXX deps/SPIRV-Cross/spirv_cfg.cpp CXX deps/SPIRV-Cross/spirv_glsl.cpp CXX deps/SPIRV-Cross/spirv_hlsl.cpp CXX deps/SPIRV-Cross/spirv_msl.cpp CXX deps/SPIRV-Cross/spirv_parser.cpp CXX deps/SPIRV-Cross/spirv_cross_parsed_ir.cpp CC libretro-common/file/archive_file.c CC libretro-common/streams/trans_stream.c CC libretro-common/streams/trans_stream_pipe.c CC libretro-common/file/archive_file_7z.c CC deps/7zip/7zIn.c CC deps/7zip/Bra86.c CC deps/7zip/7zFile.c CC deps/7zip/7zStream.c CC deps/7zip/LzFind.c CC deps/7zip/LzmaDec.c CC deps/7zip/LzmaEnc.c CC deps/7zip/7zCrcOpt.c CC deps/7zip/Bra.c CC deps/7zip/7zDec.c CC deps/7zip/Bcj2.c CC deps/7zip/7zCrc.c CC deps/7zip/Lzma2Dec.c CC deps/7zip/7zBuf.c CC deps/ibxm/ibxm.c CC deps/libFLAC/bitmath.c CC deps/libFLAC/bitreader.c CC deps/libFLAC/cpu.c CC deps/libFLAC/crc.c CC deps/libFLAC/fixed.c CC deps/libFLAC/float.c CC deps/libFLAC/format.c CC deps/libFLAC/lpc.c CC deps/libFLAC/lpc_intrin_avx2.c CC deps/libFLAC/lpc_intrin_sse2.c CC deps/libFLAC/lpc_intrin_sse41.c CC deps/libFLAC/lpc_intrin_sse.c CC deps/libFLAC/md5.c CC deps/libFLAC/memory.c CC deps/libFLAC/stream_decoder.c CC deps/libz/adler32.c CC deps/libz/compress.c CC deps/libz/libz-crc32.c CC deps/libz/deflate.c CC deps/libz/gzclose.c CC deps/libz/gzlib.c CC deps/libz/gzread.c CC deps/libz/gzwrite.c CC deps/libz/inffast.c CC deps/libz/inflate.c CC deps/libz/inftrees.c CC deps/libz/trees.c CC deps/libz/uncompr.c CC deps/libz/zutil.c CC libretro-common/file/archive_file_zlib.c CC libretro-common/streams/trans_stream_zlib.c CC libretro-common/streams/rzip_stream.c CC libretro-common/formats/libchdr/libchdr_bitstream.c CC libretro-common/formats/libchdr/libchdr_cdrom.c CC libretro-common/formats/libchdr/libchdr_chd.c CC libretro-common/formats/libchdr/libchdr_huffman.c CC libretro-common/streams/chd_stream.c CC libretro-common/formats/libchdr/libchdr_zlib.c CC libretro-common/formats/libchdr/libchdr_flac.c CC libretro-common/formats/libchdr/libchdr_flac_codec.c CC libretro-common/formats/libchdr/libchdr_lzma.c CC libretro-common/cdrom/cdrom.c CC libretro-common/vfs/vfs_implementation_cdrom.c CC libretro-common/formats/tga/rtga.c CC libretro-common/formats/png/rpng.c CC libretro-common/formats/png/rpng_encode.c CC libretro-common/formats/jpeg/rjpeg.c CC libretro-common/formats/bmp/rbmp.c CC libretro-common/formats/bmp/rbmp_encode.c CC libretro-common/formats/json/jsonsax.c CC libretro-common/formats/json/jsonsax_full.c CC libretro-common/formats/image_transfer.c CC libretro-common/formats/m3u/m3u_file.c CC libretro-common/net/net_compat.c CC libretro-common/net/net_http.c CC libretro-common/net/net_http_parse.c CC libretro-common/net/net_socket.c CC libretro-common/net/net_natt.c CC core_updater_list.c CC network/net_http_special.c CC tasks/task_http.c CC tasks/task_netplay_lan_scan.c CC tasks/task_netplay_nat_traversal.c CC tasks/task_wifi.c CC tasks/task_pl_thumbnail_download.c CC tasks/task_netplay_find_content.c CC tasks/task_core_updater.c CC menu/menu_networking.c CC libretro-common/net/net_socket_ssl.c CC libretro-common/net/net_ifinfo.c CC network/netplay/netplay_delta.c CC network/netplay/netplay_handshake.c CC network/netplay/netplay_init.c CC network/netplay/netplay_io.c CC network/netplay/netplay_keyboard.c CC network/netplay/netplay_sync.c CC network/netplay/netplay_discovery.c network/netplay/netplay_discovery.c: In function ‘netplay_lan_ad_server’: network/netplay/netplay_discovery.c:309:56: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 309 | snprintf(frontend, sizeof(frontend), "%s %s", | ^ In file included from /usr/include/stdio.h:867, from network/netplay/netplay_discovery.c:34: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 33) into a destination of size 32 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC network/netplay/netplay_buf.c CC network/netplay/netplay_room_parse.c CC cheevos-new/cheevos.c CC cheevos-new/badges.c CC cheevos-new/fixup.c CC cheevos-new/parser.c CC cheevos-new/hash.c CC libretro-common/formats/cdfs/cdfs.c CC deps/rcheevos/src/rcheevos/trigger.c CC deps/rcheevos/src/rcheevos/condset.c CC deps/rcheevos/src/rcheevos/condition.c CC deps/rcheevos/src/rcheevos/operand.c CC deps/rcheevos/src/rcheevos/term.c CC deps/rcheevos/src/rcheevos/expression.c CC deps/rcheevos/src/rcheevos/value.c CC deps/rcheevos/src/rcheevos/lboard.c CC deps/rcheevos/src/rcheevos/alloc.c CC deps/rcheevos/src/rcheevos/format.c CC deps/rcheevos/src/rcheevos/memref.c CC deps/rcheevos/src/rcheevos/richpresence.c CC deps/rcheevos/src/rurl/url.c CXX deps/discord-rpc/src/discord_rpc.cpp CXX deps/discord-rpc/src/rpc_connection.cpp CXX deps/discord-rpc/src/serialization.cpp CC discord/discord.c CC deps/discord-rpc/src/discord_register_linux.c CXX deps/discord-rpc/src/connection_unix.cpp CC cores/libretro-net-retropad/net_retropad_core.c CC deps/miniupnpc/igd_desc_parse.c CC deps/miniupnpc/upnpreplyparse.c CC deps/miniupnpc/upnpcommands.c CC deps/miniupnpc/upnperrors.c CC deps/miniupnpc/connecthostport.c CC deps/miniupnpc/portlistingparse.c CC deps/miniupnpc/receivedata.c CC deps/miniupnpc/upnpdev.c CC deps/miniupnpc/minissdpc.c CC deps/miniupnpc/miniwget.c CC deps/miniupnpc/miniupnpc.c CC deps/miniupnpc/minixml.c CC deps/miniupnpc/minisoap.c CC record/drivers/record_ffmpeg.c CC cores/libretro-ffmpeg/ffmpeg_core.c CC cores/libretro-ffmpeg/packet_buffer.c CC cores/libretro-ffmpeg/video_buffer.c CC libretro-common/rthreads/tpool.c CC tasks/task_decompress.c CC led/drivers/led_rpi.c LD retroarch /usr/bin/ld: cannot find -lEGL collect2: error: ld returned 1 exit status make: *** [Makefile:201: retroarch] Error 1 /home/arcade/RetroPie-Setup Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/arcade/RetroPie-Setup/tmp/build/retroarch/retroarch not found). Log ended at: Thu 14 May 2020 03:25:39 PM EDT Total running time: 0 hours, 1 mins, 35 secs
-
@imapotato Can you check if you have the
libgl1
package installed ? Did you install any 3rd party packages - drivers maybe ? -
I installed libgl1 and got the same error. I wiped the drive and installed 20.04 LTS from scratch. RetroPie installed without a problem. It must have been a 3rd party package. Thank you for your help.
-
I installed almost all packages for Retro Pie in Ubuntu 20.04 LTS onnRaspberry Pi 4 but couldn't get lib-raspberrypi-dev
It's for mad/intel 64 bit PC's
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.