Various QuickBuild flags no longer working alone or with others
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system
Research direction
Start with qb/config.params.sh and trace how its flags reach the generated config.h and config.mk; compare the listed last known good flags with the 2026-10-14 configuration and inspect the build rules under debian/rules. Reproduce the failing package build and identify why the documented flags are ignored; done means the affected flags produce the intended configuration and package builds succeed.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- This is a bug in RetroArch frontend
- I have searched the existing issues
Description
Beginning approximately August 29th, a high volume of commits has been pushed making changes to the QuickBuild system for configuring compilations of RetroArch from source. In the course of maintaining the Debian package builds of RA and many Libretro cores for the Launchpad PPA, I observed repeated instances of FTBFS reports by the build manager throughout this period.
Originally these changes were relatively straightforward, though high-volume, and typically involved additions and removals of flags governing linking builds to system packages vs. vendored libraries statically compiled during the build process. This being an area I am highly familiar with (design philosophy for Debian packages prioritizes small binaries with extensive links to shared libraries from other packages), I would update the flags used to configure the package builds accordingly. On average, these interventions would restore normal package production for 5–10 days before another breaking change would restart the cycle from the beginning.
This workflow began to breakdown roughly a month later in the final days of September, as I observed a growing number of flags still listed in qb/config.params.sh, the single source of truth for QuickBuild configuration variables, cease to have any effect on the configuration files output by the system, config.{h,mk}. Despite many hours spent attempting to debug the issues by testing various combinations of flags and mapping the logical decision trees in the underlying shell scripts which comprise the system, I have been unsuccessful at restoring package builds to a functional state and to my intense frustration, feel no closer to understanding where the breaks are occurring or why.
The build configuration in use
Launchpad PPA package builds are ultimately governed by the debhelper package construction tool which reads a set of files inside a debian folder in the build source root, chief among them the debian/rules file that is evaluated according to the GNUmakefile syntax.
The goal of the PPA packages is to provide RetroArch packages on dual cadences (stable releases and nightly builds) for users of Ubuntu and other downstream GNU/Linux distributions to it that offer the widest possible set of optional features permitted by the active policies of Debian and Ubuntu regarding acceptable package behaviors. This is accomplished by a rather long list of flags recorded as an ascending alphabetically sorted, whitespace-delimited array within the QB_LIBS_FLAGS variable in debian/rules. The tables below show first the flags used for the most recent successful package build on September 29th, followed by the current working set which yet fails to restore the successful creation of packages.
Last known good configuration (2026-09-29)
QuickBuild configuration flags
--build=$(DEB_BUILD_GNU_TYPE)(== x86_64-linux-gnu) |
--disable-cocoa |
--enable-libdecor |
--disable-retroarch_playlist_manager |
--enable-videoprocessor |
--prefix=/usr |
--enable-command |
--enable-libshake |
--disable-rflac |
--enable-vulkan |
--bindir=/usr/games |
--disable-core_info_cache |
--enable-libsmb |
--enable-rgui |
--disable-wasapi |
--datarootdir=/usr/share |
--disable-coreaudio |
--enable-libusb |
--disable-roar |
--enable-wayland |
--docdir=/usr/share/doc/retroarch |
--disable-corelocation |
--enable-lua |
--disable-rsound |
--enable-webmplayer |
--mandir=/usr/share/man |
--disable-d3d9 |
--enable-materialui |
--disable-rzstd |
--enable-wifi |
--sysconfdir=/etc |
--disable-d3d10 |
--enable-memfd_create |
--enable-sdl3 |
--disable-winmm |
--with-assets_dir=/usr/share/libretro |
--disable-d3d11 |
--disable-mfi |
--enable-sixel |
--disable-winrawinput |
--with-core_info_dir=/usr/share/libretro |
--disable-d3d12 |
--enable-mmap |
--enable-slang |
--enable-x11 |
--with-filters_dir=/usr/lib/$(DEB_HOST_MULTIARCH)/retroarch |
--enable-dbus |
--enable-network_video |
--enable-smbclient |
--disable-xaudio |
--enable-al |
--disable-dinput |
--enable-networkgamepad |
--enable-spirv_cross |
--enable-xdelta |
--enable-alsa |
--disable-dsound |
--enable-networking |
--enable-ssa |
--enable-xi2 |
--disable-asio |
--enable-dylib |
--disable-nvda |
--enable-ssl |
--enable-xinerama |
--disable-audioio |
--enable-egl |
--disable-online_updater |
--enable-systemd |
--enable-xmb |
--disable-avf |
--enable-ffmpeg |
--enable-opengl |
--enable-systemmbedtls |
--enable-xrandr |
--disable-blissbox |
--enable-flac |
--disable-oss |
--enable-test_drivers |
--enable-xscrnsaver |
--enable-bluetooth |
--enable-freetype |
--enable-ozone |
--enable-threads |
--enable-xshm |
--disable-builtinbearssl |
--disable-gdi |
--enable-parport |
--enable-thread_storage |
--enable-xvideo |
--disable-builtinglslang |
--enable-glslang |
--enable-pipewire |
--disable-tinyalsa |
--enable-zlib |
--disable-builtinmbedtls |
--disable-glx |
--enable-pipewire_stable |
--enable-udev |
--enable-zstd |
--disable-builtinspirv_cross |
--enable-hid |
--enable-plain_drm |
--disable-update_assets |
--enable-cg |
--enable-caca |
--enable-hlsl |
--enable-pulse |
--enable-v4l2 |
--disable-rpiled |
--enable-cdrom |
--enable-jack |
--enable-qt |
--disable-vg |
--enable-sse |
--enable-check |
--enable-kms |
--disable-rchd |
--disable-videocore |
Introspecting QuickBuild through config.mk
Sadly, I do not have the output of the exact config.mk from the last successful build to which the flags in the preceding table belong; after years of the system more or less working as intended I saw little point to clogging the build logs with its contents. This is the contents of the generated config.mk for the most recent unsuccessful build on 2026-10-14; the trivial detla between the QuickBuild flags used to generate it and the ones above can be ascertained by expanding the first of the two collapsible sections below which contains the verbatim flags used to generate the config.mk file shown in the second.
config.mk (click to expand)
CC = x86_64-linux-gnu-gcc
CFLAGS = -g -O2 -Wno-error=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer \
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection \
-Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/retroarch-1.22.2+ds1… \
--include-directory-after=/usr/include -ftabstop=4 -Wno-incompatible-pointer-types
CXX = x86_64-linux-gnu-g++
CXXFLAGS = -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto \
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection \
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/retroarch-1.22.2+ds1… --include-directory-after=/usr/include -ftabstop=4
WINDRES =
MOC = /usr/lib/qt6/libexec/moc
ASFLAGS =
LDFLAGS = -Wl,--copy-dt-needed-entries -Wl,-Bsymbolic-functions -Wl,--package-metadata=[ -flto=auto -ffat-lto-objects \
-Wl,-z,relro -Wl,-z,now -lGL -pthread
INCLUDE_DIRS =
LIBRARY_DIRS = -L/usr/lib64
PACKAGE_NAME = retroarch
BUILD =
PREFIX = /usr/local
HAVE_7ZIP = 1
HAVE_ACCESSIBILITY = 1
HAVE_AL = 0
ifneq ($(C89_BUILD),1)
HAVE_ALSA = 1
endif
ALSA_LIBS = -lasound
HAVE_ANGLE = 0
HAVE_AUDIOIO = 0
HAVE_AUDIOMIXER = 1
HAVE_AVCODEC = 1
AVCODEC_LIBS = -lavcodec
HAVE_AVDEVICE = 1
AVDEVICE_LIBS = -lavdevice
HAVE_AVFORMAT = 1
AVFORMAT_LIBS = -lavformat
HAVE_AVUTIL = 1
AVUTIL_LIBS = -lavutil
HAVE_AV_CHANNEL_LAYOUT = 1
HAVE_BEARSSL = 0
HAVE_BLISSBOX = 1
HAVE_BLUETOOTH = 0
HAVE_BSV_MOVIE = 1
ifneq ($(C89_BUILD),1)
HAVE_BUILTINGLSLANG = 1
endif
ifneq ($(C89_BUILD),1)
HAVE_BUILTINSPIRV_CROSS = 1
endif
HAVE_C99 = 1
C99_CFLAGS = -std=gnu99
HAVE_CACA = 0
HAVE_CC = 1
HAVE_CC_RESAMPLER = 1
HAVE_CDROM = 1
HAVE_CG = 1
CG_LIBS = -lCg -lCgGL
ifneq ($(CXX_BUILD),1)
HAVE_CHD = 1
endif
HAVE_CHEATS = 1
HAVE_CHECK = 0
HAVE_CHEEVOS = 1
HAVE_CHEEVOS_RVZ = 1
HAVE_COMMAND = 1
HAVE_CONFIGFILE = 1
HAVE_CORE_INFO_CACHE = 1
HAVE_CRTSWITCHRES = 1
HAVE_CRYPTO = 1
HAVE_CXX = 1
HAVE_CXX11 = 1
CXX11_CFLAGS = -std=c++11
HAVE_CXX17 = 1
CXX17_CFLAGS = -std=c++17
HAVE_D3D8 = 0
HAVE_D3D9 = 0
HAVE_DBUS = 0
HAVE_DEBUG = 0
HAVE_DINPUT = 0
ifneq ($(C89_BUILD),1)
HAVE_DISCORD = 1
endif
HAVE_DISPMANX = 0
HAVE_DRM = 1
DRM_CFLAGS = -I/usr/include/libdrm
DRM_LIBS = -ldrm
HAVE_DRMINGW = 0
HAVE_DSOUND = 0
HAVE_DSP_FILTER = 1
HAVE_DYLIB = 1
DYLIB_LIBS = -ldl
HAVE_DYNAMIC = 1
DYNAMIC_LIBS = -ldl
HAVE_DYNAMIC_EGL = 0
HAVE_EGL = 1
EGL_LIBS = -lEGL
HAVE_EXYNOS = 0
ifneq ($(C89_BUILD),1)
HAVE_FFMPEG = 1
endif
HAVE_FLAC = 0
HAVE_FLOATHARD = 0
HAVE_FLOATSOFTFP = 0
HAVE_FONTCONFIG = 1
FONTCONFIG_CFLAGS = -I/usr/include/freetype2 -I/usr/include/libpng16
FONTCONFIG_LIBS = -lfontconfig -lfreetype
HAVE_FREETYPE = 1
FREETYPE_CFLAGS = -I/usr/include/freetype2 -I/usr/include/libpng16
FREETYPE_LIBS = -lfreetype
ifneq ($(C89_BUILD),1)
HAVE_GAMEMODE = 1
endif
HAVE_GAME_AI = 0
HAVE_GBM = 1
GBM_LIBS = -lgbm
HAVE_GDI = 1
HAVE_GETADDRINFO = 1
GETADDRINFO_LIBS = -lc
HAVE_GETOPT_LONG = 1
GETOPT_LONG_LIBS = -lc
HAVE_GFX_WIDGETS = 1
HAVE_GLSL = 1
ifneq ($(C89_BUILD),1)
HAVE_GLSLANG = 1
endif
GLSLANG_LIBS = -lglslang
HAVE_GLSLANG_GENERICCODEGEN = 1
GLSLANG_GENERICCODEGEN_LIBS = -lGenericCodeGen
HAVE_GLSLANG_MACHINEINDEPENDENT = 1
GLSLANG_MACHINEINDEPENDENT_LIBS = -lMachineIndependent
HAVE_GLSLANG_OSDEPENDENT = 1
GLSLANG_OSDEPENDENT_LIBS = -lOSDependent
HAVE_GLSLANG_SPIRV = 1
GLSLANG_SPIRV_LIBS = -lSPIRV
HAVE_GLSLANG_SPIRV_TOOLS = 1
GLSLANG_SPIRV_TOOLS_LIBS = -lSPIRV-Tools
HAVE_GLSLANG_SPIRV_TOOLS_OPT = 1
GLSLANG_SPIRV_TOOLS_OPT_LIBS = -lSPIRV-Tools-opt
HAVE_HID = 1
HAVE_HIDRAW = 1
HAVE_HLSL = 0
HAVE_HUB75 = 0
HAVE_IFINFO = 1
HAVE_IMAGEVIEWER = 1
HAVE_JACK = 1
JACK_LIBS = -ljack
HAVE_KEYCHAIN = 1
ifneq ($(C89_BUILD),1)
HAVE_KMS = 1
endif
HAVE_LANGEXTRA = 1
HAVE_LIBCHECK = 1
LIBCHECK_CFLAGS = -pthread
LIBCHECK_LIBS = -lcheck_pic -lrt -lm -lsubunit
HAVE_LIBDECOR = 1
LIBDECOR_CFLAGS = -I/usr/include/libdecor-0
LIBDECOR_LIBS = -ldecor-0
HAVE_LIBRETRODB = 1
HAVE_LIBSHAKE = 0
HAVE_LIBSMB = 0
HAVE_LIBUSB = 0
HAVE_LUA = 0
HAVE_MALI_FBDEV = 0
HAVE_MBEDTLS = 0
HAVE_MCP = 1
HAVE_MEMFD_CREATE = 1
MEMFD_CREATE_LIBS = -lc
HAVE_MENU = 1
HAVE_METAL = 0
HAVE_MICROPHONE = 1
HAVE_MIST = 0
HAVE_MMAP = 1
MMAP_LIBS = -lc
HAVE_MOC = 1
HAVE_MODELINE = 1
HAVE_MPV = 0
HAVE_NEAREST_RESAMPLER = 1
HAVE_NEON = 0
HAVE_NETPLAYDISCOVERY = 1
HAVE_NETPLAYDISCOVERY = 1
ifneq ($(C89_BUILD),1)
HAVE_NETWORKGAMEPAD = 1
endif
HAVE_NETWORKING = 1
NETWORKING_LIBS = -lc
HAVE_NETWORK_CMD = 1
HAVE_NETWORK_VIDEO = 0
HAVE_NOUNUSED = 1
NOUNUSED_CFLAGS = -Wno-unused-result
HAVE_NOUNUSED_VARIABLE = 1
NOUNUSED_VARIABLE_CFLAGS = -Wno-unused-variable
HAVE_NVDA = 1
HAVE_ODROIDGO2 = 0
HAVE_OMAP = 0
HAVE_ONLINE_UPDATER = 1
HAVE_OPENDINGUX_FBDEV = 0
HAVE_OPENGL = 1
OPENGL_LIBS = -lGL
HAVE_OPENGL1 = 1
HAVE_OPENGLES = 0
HAVE_OPENGLES3 = 0
HAVE_OPENGLES3_1 = 0
HAVE_OPENGLES3_2 = 0
ifneq ($(C89_BUILD),1)
HAVE_OPENGL_CORE = 1
endif
HAVE_OPENSSL = 1
OPENSSL_LIBS = -lssl -lcrypto
HAVE_OPENXR = 0
HAVE_OSMESA = 0
HAVE_OSS = 1
HAVE_OSS_BSD = 0
HAVE_OSS_LIB = 0
HAVE_OVERLAY = 1
HAVE_PARPORT = 1
HAVE_PATCH = 1
HAVE_PIPEWIRE = 1
PIPEWIRE_CFLAGS = -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT
PIPEWIRE_LIBS = -lpipewire-0.3
HAVE_PIPEWIRE_STABLE = 1
PIPEWIRE_STABLE_CFLAGS = -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT
PIPEWIRE_STABLE_LIBS = -lpipewire-0.3
HAVE_PLAIN_DRM = 0
HAVE_PRESERVE_DYLIB = 0
ifneq ($(C89_BUILD),1)
HAVE_PULSE = 1
endif
PULSE_CFLAGS = -D_REENTRANT
PULSE_LIBS = -lpulse -pthread
ifneq ($(C89_BUILD),1)
HAVE_QT = 1
endif
HAVE_QT6CORE = 1
QT6CORE_CFLAGS = -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/x86_64-linux-gnu/qt6 -DQT_CORE_LIB \
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++
QT6CORE_LIBS = -lQt6Core
HAVE_QT6GUI = 1
QT6GUI_CFLAGS = -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6 -DQT_GUI_LIB \
-I/usr/include/x86_64-linux-gnu/qt6/QtCore -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++
QT6GUI_LIBS = -lQt6Gui -lQt6Core
HAVE_QT6WIDGETS = 1
QT6WIDGETS_CFLAGS = -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets -I/usr/include/x86_64-linux-gnu/qt6 -DQT_WIDGETS_LIB \
-I/usr/include/x86_64-linux-gnu/qt6/QtGui -DQT_GUI_LIB -I/usr/include/x86_64-linux-gnu/qt6/QtCore -DQT_CORE_LIB \
-I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++
QT6WIDGETS_LIBS = -lQt6Widgets -lQt6Gui -lQt6Core
HAVE_RAAC = 1
HAVE_RBMP = 1
HAVE_RCHD = 1
HAVE_RDDS = 1
HAVE_RETRONFS = 1
HAVE_RETROSMB = 1
HAVE_RETROSSL = 1
HAVE_REWIND = 1
HAVE_RFLAC = 1
HAVE_RJPEG = 1
HAVE_RMODTRACKER = 1
HAVE_RMP3 = 1
HAVE_RMP4 = 1
HAVE_RMPEG1 = 1
HAVE_ROAR = 0
HAVE_ROPUS = 1
HAVE_RPILED = 1
HAVE_RPNG = 1
HAVE_RRAR = 1
HAVE_RSOUND = 0
HAVE_RTGA = 1
HAVE_RUNAHEAD = 1
HAVE_RVORBIS = 1
HAVE_RVP9 = 1
HAVE_RWAV = 1
HAVE_RWEBM = 1
HAVE_RWEBP = 1
HAVE_RZSTD = 1
HAVE_SAPI = 0
HAVE_SCREENSHOTS = 1
HAVE_SDL = 0
HAVE_SDL2 = 0
HAVE_SDL3 = 1
SDL3_CFLAGS = -D_REENTRANT -I/usr/include/fribidi -I/usr/include/libdrm -I/usr/include/libdecor-0
SDL3_LIBS = -lSDL3
HAVE_SDL_DINGUX = 0
HAVE_SHADERPIPELINE = 1
HAVE_SIXEL = 1
SIXEL_CFLAGS = -I/usr/include/sixel
SIXEL_LIBS = -lsixel
ifneq ($(C89_BUILD),1)
HAVE_SLANG = 1
endif
HAVE_SMBCLIENT = 0
HAVE_SOCKET_LEGACY = 0
ifneq ($(C89_BUILD),1)
HAVE_SPIRV_CROSS = 1
endif
HAVE_SR2 = 1
HAVE_SSA = 1
SSA_LIBS = -lfribidi -lass
HAVE_SSE = 0
ifneq ($(C89_BUILD),1)
HAVE_SSL = 1
endif
HAVE_STB_IMAGE = 1
HAVE_STDIN_CMD = 1
STDIN_CMD_LIBS = -lc
HAVE_STEAM = 0
HAVE_SUNXI = 0
HAVE_SWRESAMPLE = 1
SWRESAMPLE_LIBS = -lswresample
HAVE_SWSCALE = 1
SWSCALE_LIBS = -lswscale
HAVE_SYSTEMD = 1
SYSTEMD_LIBS = -lsystemd
HAVE_TEST_DRIVERS = 1
HAVE_THREADS = 1
THREADS_LIBS = -lpthread
HAVE_THREAD_STORAGE = 1
THREAD_STORAGE_LIBS = -lpthread
HAVE_TINYALSA = 1
HAVE_TRANSLATE = 1
HAVE_UDEV = 1
UDEV_LIBS = -ludev
HAVE_UPDATE_ASSETS = 1
HAVE_UPDATE_CORES = 1
HAVE_UPDATE_CORE_INFO = 1
HAVE_V4L2 = 1
V4L2_LIBS = -lv4l2
HAVE_VC_TEST = 0
HAVE_VG = 0
HAVE_VIDEOCORE = 0
HAVE_VIDEOPROCESSOR = 1
HAVE_VIDEO_FILTER = 1
HAVE_VIVANTE_FBDEV = 0
ifneq ($(C89_BUILD),1)
HAVE_VULKAN = 1
endif
VULKAN_LIBS = -lvulkan
HAVE_VULKAN_DISPLAY = 1
ifneq ($(C89_BUILD),1)
ifneq ($(CXX_BUILD),1)
HAVE_WAYLAND = 1
endif
endif
WAYLAND_LIBS = -lwayland-egl -lwayland-client
HAVE_WAYLAND_CURSOR = 1
WAYLAND_CURSOR_LIBS = -lwayland-cursor
HAVE_WAYLAND_PROTOS = 1
HAVE_WAYLAND_SCANNER = 1
HAVE_WEBMPLAYER = 0
HAVE_WIFI = 0
HAVE_WINRAWINPUT = 1
HAVE_X11 = 1
X11_LIBS = -lX11
HAVE_X11_XCB = 1
X11_XCB_LIBS = -lX11-xcb -lX11 -lxcb
HAVE_XCB = 1
XCB_LIBS = -lxcb
HAVE_XDELTA = 1
HAVE_XEXT = 1
XEXT_LIBS = -lXext
HAVE_XF86VM = 1
XF86VM_LIBS = -lXxf86vm
HAVE_XI2 = 1
XI2_LIBS = -lXi
HAVE_XINERAMA = 1
XINERAMA_LIBS = -lXinerama
HAVE_XINPUT = 0
HAVE_XKBCOMMON = 1
XKBCOMMON_LIBS = -lxkbcommon
HAVE_XRANDR = 1
XRANDR_LIBS = -lXrandr
HAVE_XSCRNSAVER = 1
XSCRNSAVER_LIBS = -lXss
HAVE_XSHM = 0
HAVE_XVIDEO = 0
HAVE_ZLIB = 0
DATA_DIR = /usr/local/share
DYLIB_LIB = -ldl
ASSETS_DIR = /usr/local/share/retroarch
FILTERS_DIR = /usr/local/share/retroarch
CORE_INFO_DIR = /usr/local/share/retroarch
BIN_DIR = /usr/local/bin
DOC_DIR = /usr/local/share/doc/retroarch
MAN_DIR = /usr/local/share/man
HAVE_QT6 = 1
OS = Linux
QT_VERSION = qt6
GLOBAL_CONFIG_DIR = /etc
Analysis and thoughts
Considering I wasn't able to satisfactorily resolve the issue here, I don't know that I have much to offer on where the root of the problem actually lies. Instead I will quickly indicate a few of my largest frustrations with the extent of the breakage:
- So many of the flags that accept arguments, typically the ones related to the host architecture and target filesystem directories for various components no longer get parsed. This shows up right at the top of the file with the supplied value for
--prefix(/usr) not replacing the default value (/usr/local). - A ton of checks just seem to be falling through the cracks and the output of the configure script is less than half as long as it used to be when everything was still working correctly. One of the newest additions, the ability to link against the system libsmb2, no longer seems to even take place.
- Almost all of the flags that should trigger linking to system libraries, most notably glslang and SPIRV-Cross, would appear to complete successfully, as in they record the correct CFLAGS and LDFLAGS arguments in the expected Makefile variables, but fail to change the
*BUILTIN*variable to a falsey value so they can be acted upon.
I'm fried trying to untangle this knot by myself, and now leave it to the more talented and insightful minds among you.
Expected behavior
For the config.mk and resulting build to accurately reflect the desired state communicated by the provided command line argument flags.
Steps to reproduce the bug
QuickBuild invocation with flags from 2026-10-14 package build failure (click to expand)
~$ QT_VERSION="qt6" MOC="/usr/lib/qt6/libexec/moc" /usr/bin/bash -c /<<PKGBUILDDIR>>/configure \
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --bindir=/usr/games --datarootdir=/usr/share \
--docdir=/usr/share/doc/retroarch --mandir=/usr/share/man --sysconfdir=/etc \
--with-assets_dir=/usr/share/libretro --with-core_info_dir=/usr/share/libretro \
--with-filters_dir=/usr/lib/$(DEB_HOST_MULTIARCH)/retroarch --enable-al --enable-alsa --disable-asio --disable-audioio --disable-avf \
--disable-blissbox --enable-bluetooth --disable-builtinbearssl --disable-builtinglslang --disable-builtinmbedtls \
--disable-builtinspirv_cross --enable-caca --enable-cdrom --enable-check --disable-cocoa --enable-command --disable-core_info_cache \
--disable-coreaudio --disable-corelocation --disable-d3d9 --disable-d3d10 --disable-d3d11 --disable-d3d12 --enable-dbus \
--disable-dinput --disable-dsound --enable-dylib --enable-egl --enable-ffmpeg --enable-flac --enable-freetype --disable-gdi \
--enable-glslang --disable-glx --enable-hid --enable-hlsl --enable-jack --enable-kms --enable-libdecor --enable-libshake \
--enable-libsmb --enable-libusb --enable-lua --enable-materialui --enable-memfd_create --disable-mfi --enable-mmap \
--enable-network_video --enable-networkgamepad --enable-networking --disable-nvda --disable-online_updater --enable-opengl \
--disable-oss --enable-ozone --enable-parport --enable-pipewire --enable-pipewire_stable --enable-plain_drm --enable-pulse --enable-qt \
--disable-rchd --disable-retroarch_playlist_manager --disable-rflac --enable-rgui --disable-roar --disable-rsound --disable-rzstd \
--enable-sdl3 --enable-sixel --enable-slang --enable-smbclient --enable-spirv_cross --enable-ssa --enable-ssl --enable-systemd \
--enable-systemmbedtls --enable-test_drivers --enable-threads --enable-thread_storage --disable-tinyalsa --enable-udev \
--disable-update_assets --enable-v4l2 --disable-vg --disable-videocore --enable-videoprocessor --enable-vulkan --disable-wasapi \
--enable-wayland --enable-webmplayer --enable-wifi --disable-winmm --disable-winrawinput --enable-x11 --disable-xaudio --enable-xdelta --enable-xi2 --enable-xinerama --enable-xmb --enable-xrandr --enable-xscrnsaver --enable-xshm --enable-xvideo --enable-zlib --enable-zstd --enable-cg --disable-rpiled --enable-sse
Checking operating system ... Linux (Ubuntu 26.04.1 LTS 26.04)
Checking for suitable working C compiler ... x86_64-linux-gnu-gcc works
Checking for suitable working C++ compiler ... x86_64-linux-gnu-g++ works
Checking for pkg-config ... /usr/bin/pkgconf
Checking for availability of switch -std=gnu99 in x86_64-linux-gnu-gcc ... yes
Checking for availability of switch -std=c++11 in x86_64-linux-gnu-g++ ... yes
Checking for availability of switch -std=c++17 in x86_64-linux-gnu-g++ ... yes
Checking for availability of switch -Wno-unused-result in x86_64-linux-gnu-gcc ... yes
Checking for availability of switch -Wno-unused-variable in x86_64-linux-gnu-gcc ... yes
Checking function sd_get_machine_names in -lsystemd ... yes
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 -lfribidi -lass ... yes
Checking function pthread_create in -lpthread ... yes
Checking function pthread_key_create in -lpthread ... yes
Checking presence of package check >= 0.15 ... 0.15.2
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 function fcntl in -lc ... yes
Checking function getopt_long in -lc ... yes
Checking presence of package alsa ... 1.2.15.3
Checking presence of package libsixel >= 1.6.0 ... 1.10.5
Checking presence of predefined macro AUDIO_SETINFO in sys/audioio.h ... no
Checking presence of header file sys/soundcard.h ... yes
Checking presence of header file soundcard.h ... no
Checking existence of -lossaudio ... no
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar >= 1.0.12 ... no
Checking presence of package jack >= 0.120.1 ... 1.9.22
Checking presence of package libpulse ... 17.0
Checking presence of package libpipewire-0.3 ... 1.6.2
Checking presence of package libpipewire-0.3 >= 1.0.0 ... 1.6.2
Checking presence of package sdl >= 1.2.10 ... no
Checking existence of -lSDL ... no
Checking presence of package sdl2 >= 2.0.0 ... no
Checking existence of -lSDL2 ... no
Checking presence of package sdl3 >= 3.2.20 ... 3.4.14
Checking presence of package Qt6Core >= 6.2 ... 6.10.2
Checking presence of package Qt6Gui >= 6.2 ... 6.10.2
Checking presence of package Qt6Widgets >= 6.2 ... 6.10.2
Checking presence of package openssl >= 1.0.0 ... 3.5.5
Checking presence of package mbedtls >= 2.05.1 ... 3.6.5
Checking presence of package mbedx509 >= 2.05.1 ... 3.6.5
Checking presence of package mbedcrypto >= 2.05.1 ... 3.6.5
Notice: HID is disabled, libusb support will also be disabled.
Checking existence of -ldinput8 ... no
Checking existence of -ld3d9 ... no
Checking existence of -ldsound ... no
Checking presence of header file GL/gl.h ... yes
Checking existence of -lGL ... yes
Checking function cgCreateContext in -lCg -lCgGL ... yes
Checking presence of package libavcodec >= 57 ... 62.11.100
Checking presence of package libavformat >= 57 ... 62.3.100
Checking presence of package libavdevice >= 57 ... 62.1.100
Checking presence of package libswresample >= 2 ... 6.1.100
Checking presence of package libavutil >= 55 ... 60.8.100
Checking presence of package libswscale >= 4 ... 9.1.100
Checking presence of header file libavutil/channel_layout.h ... yes
Checking function dlopen in -ldl ... yes
Checking presence of package gbm >= 9.0 ... 26.0.8-1ubuntu0.3
Checking presence of package libdrm ... 2.4.131
Checking presence of package vg ... no
Checking presence of package libudev ... 259
Checking presence of package libv4l2 ... 1.32.0
Checking presence of header file linux/videodev2.h ... yes
Checking presence of package freetype2 ... 26.5.20
Checking presence of package fontconfig ... 2.17.1
Checking presence of package x11 ... 1.8.13
Checking presence of package xcb ... 1.17.0
Checking presence of package x11-xcb ... 1.8.13
Checking presence of package xext ... 1.3.4
Checking presence of package xxf86vm ... 1.1.4
Checking presence of package xscrnsaver ... 1.2.3
Checking presence of package xi ... 1.8.2
Checking presence of package xinerama ... 1.1.4
Checking existence of -lXrandr ... yes
Checking presence of package xkbcommon >= 0.3.2 ... 1.13.1
Checking presence of package wayland-egl >= 1.10.1 ... 18.1.0
Checking presence of package wayland-cursor >= 1.12 ... 1.24.0
Checking presence of package wayland-protocols >= 1.43 ... 1.47
Checking presence of package wayland-scanner >= 1.12 ... 1.24.0
Checking presence of package libdecor-0 ... 0.2.5
Checking presence of header file linux/parport.h ... yes
Checking presence of header file linux/ppdev.h ... yes
Checking function mmap in -lc ... yes
Checking function memfd_create in -lc ... yes
Checking function vkCreateInstance in -lvulkan ... yes
Checking presence of header file glslang/SPIRV/GlslangToSpv.h ... yes
Checking existence of -lglslang ... yes
Checking existence of -lOSDependent ... yes
Checking existence of -lMachineIndependent ... yes
Checking existence of -lGenericCodeGen ... yes
Checking existence of -lSPIRV ... yes
Checking existence of -lSPIRV-Tools-opt ... yes
Checking existence of -lSPIRV-Tools ... yes
SMB support enabled (built-in client)
Checking for moc ... /usr/lib/qt6/libexec/moc works
Creating make config: config.mk
Creating config header: config.h
Version/Commit
1.22.2 (Git commit:fa518115af)
Bisect Results
No response
Present in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
Ubuntu GNU/Linux 26.04 LTS "Resolute Raccoon")
Affected Cores
No response
Environment information
No response
Relevant log output
- Dominant language
- C
- Stars
- 14.6k
- Forks
- 2.4k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 63
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libretro/RetroArch
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
libretro/RetroArch#20108 · 3 comments ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
libretro/RetroArch#20061 · 3 comments ·
Maintainers usually reply within 2 days
-
[Feature Request] [UX] Improve descriptions for "Rewind Buffer Size" and "Rewind Buffer Size Step"Openfeature request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
libretro/RetroArch#19915 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
All issues in libretro/RetroArch
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
schrodinger/pymol-open-source#532 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
CTSRD-CHERI/cheribsd#2769 ·
Maintainers usually reply within 2 days
-
good first issue not started
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
CU-Robotics/firmware#257 ·
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
luainkernel/lunatik#2633 ·
Maintainers usually reply within 1 day