too long lines were shrinked: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -DFUSEDATADIR="\"/usr/share/fuse\"" -I/usr/include/libpng16 -Wall -Wwrite-strings -fpermissive -O2 -pipe -march=native -fno-diagnostics-col x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -DFUSEDATADIR="\"/usr/share/fuse\"" -I/usr/include/libpng16 -Wall -Wwrite-strings -fpermissive -O2 -pipe -march=native -fno-diagnostics-col x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -DFUSEDATADIR="\"/usr/share/fuse\"" -I/usr/include/libpng16 -Wall -Wwrite-strings -fpermissive -O2 -pipe -march=native -fno-diagnostics-col x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -DFUSEDATADIR="\"/usr/share/fuse\"" -I/usr/include/libpng16 -Wall -Wwrite-strings -fpermissive -O2 -pipe -march=native -fno-diagnostics-col In file included from ui/null/null_ui.c:29: ui/null/../uijoystick.c: In function ui_joystick_end: ui/null/../uijoystick.c:185:19: error: joysticks_supported undeclared (first use in this function) 185 | for( i = 0; i < joysticks_supported; i++ ) JSClose( &jsd[i] ); | ^~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-20240103-143015 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.20.12 linux/amd64 HEAD of ::gentoo commit 9a9fd3dafc8d471a3d032b1cbe9b4cc6cc817636 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Jan 7 21:18:19 2024 +0000 2024-01-07 21:18:19 UTC emerge -qpvO app-emulation/fuse [ebuild N ] app-emulation/fuse-1.6.0-r1 USE="alsa gpm joystick memlimit png xml zlib -ao -backend-X -backend-fbcon -backend-gtk3 -backend-sdl (-backend-svga) -pulseaudio"
Created attachment 881677 [details] emerge-info.txt
Created attachment 881678 [details] app-emulation:fuse-1.6.0-r1:20240107-221149.log
Created attachment 881679 [details] emerge-history.txt.xz
Created attachment 881680 [details] environment
Created attachment 881681 [details] etc.clang.tar.xz
Created attachment 881682 [details] etc.portage.tar.xz
Created attachment 881683 [details] logs.tar.xz
Created attachment 881684 [details] qlist-info.txt.xz
Created attachment 881685 [details] temp.tar.xz
I suspect your issue can be solved by installation of libjsw. But you know what? libjsw isn't particularly fit for purpose. It doesn't support 80s joysticks emulated as hat (both fuse and hatari emulators can benefit from this feature, as long as they use SDL joystick routines). Trouble is, with current state of configure scripts, it is impossible to turn it off. Hence I've prepared the following patch and saved it as /etc/portage/patches/app-emulation/fuse/fuse-never-use-libjsw.patch (you need to configure your portage to make use of local patches): iff '--color=auto' -ruN fuse-1.6.0.old/configure fuse-1.6.0/configure --- fuse-1.6.0.old/configure 2021-02-27 03:02:54.000000000 +0000 +++ fuse-1.6.0/configure 2024-08-24 14:43:40.425353483 +0100 @@ -17748,7 +17748,7 @@ $as_echo_n "checking whether to use $UI's joystick support... " >&6; } # Check whether --enable-ui-joystick was given. if test "${enable_ui_joystick+set}" = set; then : - enableval=$enable_ui_joystick; if test "$enableval" = no; then libjsw=yes; else libjsw=no; fi + enableval=$enable_ui_joystick; if test "$enableval" = no; then libjsw=no; else libjsw=no; fi else libjsw=no fi @@ -17769,7 +17769,7 @@ $as_echo_n "checking whether to use $UI's joystick support... " >&6; } # Check whether --enable-ui-joystick was given. if test "${enable_ui_joystick+set}" = set; then : - enableval=$enable_ui_joystick; if test "$enableval" = no; then libjsw=yes; else libjsw=no; fi + enableval=$enable_ui_joystick; if test "$enableval" = no; then libjsw=no; else libjsw=no; fi else libjsw=no fi @@ -17798,7 +17798,7 @@ libjsw=no ;; *) - libjsw=yes + libjsw=no ;; esac if test "$libjsw" = yes; then diff '--color=auto' -ruN fuse-1.6.0.old/configure.ac fuse-1.6.0/configure.ac --- fuse-1.6.0.old/configure.ac 2021-02-27 03:02:48.000000000 +0000 +++ fuse-1.6.0/configure.ac 2024-08-24 14:42:46.313970064 +0100 @@ -763,7 +763,7 @@ AC_MSG_CHECKING([whether to use $UI's joystick support]) AC_ARG_ENABLE(ui-joystick, AS_HELP_STRING([--disable-ui-joystick], [use libjsw joystick code (where supported)]), - if test "$enableval" = no; then libjsw=yes; else libjsw=no; fi, + if test "$enableval" = no; then libjsw=no; else libjsw=no; fi, libjsw=no) if test "$libjsw" = yes; then AC_MSG_RESULT([no, use libjsw]) @@ -799,7 +799,7 @@ ;; *) dnl Our only option is libjsw. - libjsw=yes + libjsw=no ;; esac if test "$libjsw" = yes; then
Actually, only the configure.ac part of this patch is needed, the configure script is being regenerated anyway. And no, not using the joystick USE flag does not help, this libjsw thing needs to be treated with sheer brutality.