Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Retroarch-1.20 emerge error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
braz2kuk
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 91

PostPosted: Fri Feb 14, 2025 1:24 pm    Post subject: Retroarch-1.20 emerge error Reply with quote

Hi all,

Running a stable system on 6.6.30 x64.

I have done a full --sync and system update.

I want to emerge Retroarch, on emerging i am gettign the following error:

Code:


>>> Emerging (2 of 2) games-emulation/retroarch-1.20.0::nymphos
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * retroarch-1.20.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking retroarch-1.20.0.tar.gz to /var/tmp/portage/games-emulation/retroarch-1.20.0/work
>>> Source unpacked in /var/tmp/portage/games-emulation/retroarch-1.20.0/work
>>> Preparing source in /var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0 ...
 * Applying retroarch-configure-params.patch ...                                                                 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/retroarch-1.20.0 --libdir=/usr/lib64 --enable-mmap --enable-threads --disable-audioio --disable-builtinflac --disable-builtinmbedtls --disable-builtinzlib --disable-coreaudio --disable-mpv --disable-oss --disable-roar --disable-rsound --disable-vg --disable-videocore --enable-alsa --enable-cdrom --disable-cg --enable-sse --enable-dbus --disable-plain_drm --disable-egl --enable-ffmpeg --enable-flac --disable-opengles --disable-opengles3 --disable-opengles3_1 --disable-opengles3_2 --disable-jack --disable-kms --disable-ssa --disable-caca --enable-networking --disable-al --enable-opengl --enable-opengl_core --disable-osmesa --disable-parport --enable-pulse --enable-qt --enable-sdl --disable-sdl2 --disable-sixel --enable-ssl --disable-systemd --disable-tinyalsa --enable-freetype --enable-udev --enable-libusb --disable-v4l2 --enable-vulkan --enable-wayland --enable-xinerama --disable-xrandr --enable-xvideo --enable-x11 --enable-zlib
Checking operating system ... Linux ( )
Checking for suitable working C compiler ... /usr/bin/x86_64-pc-linux-gnu-gcc works
Checking for suitable working C++ compiler ... /usr/bin/x86_64-pc-linux-gnu-g++ works
Checking for pkg-config ... /usr/bin/x86_64-pc-linux-gnu-pkgconf
Checking for availability of switch -std=gnu99 in /usr/bin/x86_64-pc-linux-gnu-gcc ... yes
Checking for availability of switch -std=c++11 in /usr/bin/x86_64-pc-linux-gnu-g++ ... yes
Checking for availability of switch -std=c++17 in /usr/bin/x86_64-pc-linux-gnu-g++ ... yes
Checking for availability of switch -Wno-unused-result in /usr/bin/x86_64-pc-linux-gnu-gcc ... yes
Checking for availability of switch -Wno-unused-variable in /usr/bin/x86_64-pc-linux-gnu-gcc ... yes
Checking presence of header file lzma.h ... yes
Checking existence of -msse -msse2 ... yes
Checking function pthread_create in -lpthread ... yes
Checking function pthread_key_create in -lpthread ... yes
Checking presence of package check >= 0.15 ... no
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.13
Checking presence of package libpulse ... 17.0
Checking presence of package libpipewire-0.3 ... 1.2.7
Checking presence of package sdl >= 1.2.10 ... no
Forced to build with package sdl, but cannot locate. Exiting ...

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0/config.log
 * ERROR: games-emulation/retroarch-1.20.0::nymphos failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 1310:  Called econf '--enable-mmap' '--enable-threads' '--disable-audioio' '--disable-builtinflac' '--disable-builtinmbedtls' '--disable-builtinzlib' '--disable-coreaudio' '--disable-mpv' '--disable-oss' '--disable-roar' '--disable-rsound' '--disable-vg' '--disable-videocore' '--enable-alsa' '--enable-cdrom' '--disable-cg' '--enable-sse' '--enable-dbus' '--disable-plain_drm' '--disable-egl' '--enable-ffmpeg' '--enable-flac' '--disable-opengles' '--disable-opengles3' '--disable-opengles3_1' '--disable-opengles3_2' '--disable-jack' '--disable-kms' '--disable-ssa' '--disable-caca' '--enable-networking' '--disable-al' '--enable-opengl' '--enable-opengl_core' '--disable-osmesa' '--disable-parport' '--enable-pulse' '--enable-qt' '--enable-sdl' '--disable-sdl2' '--disable-sixel' '--enable-ssl' '--disable-systemd' '--disable-tinyalsa' '--enable-freetype' '--enable-udev' '--enable-libusb' '--disable-v4l2' '--enable-vulkan' '--enable-wayland' '--enable-xinerama' '--disable-xrandr' '--enable-xvideo' '--enable-x11' '--enable-zlib'
 *        phase-helpers.sh, line  647:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=games-emulation/retroarch-1.20.0::nymphos'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/retroarch-1.20.0::nymphos'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/retroarch-1.20.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/retroarch-1.20.0/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0'
 * S: '/var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0'

>>> Failed to emerge games-emulation/retroarch-1.20.0, Log file:



Now I do have sdl on the system so unsure as to why It is not being found, any ideas here as I am currently stumped.

Thanks
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31492
Location: here

PostPosted: Fri Feb 14, 2025 1:28 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31492
Location: here

PostPosted: Fri Feb 14, 2025 1:30 pm    Post subject: Reply with quote

Can you post /var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0/config.log with wgetpaste?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
braz2kuk
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 91

PostPosted: Fri Feb 14, 2025 1:50 pm    Post subject: Reply with quote

It seems the file /var/tmp/portage/games-emulation/retroarch-1.20.0/work/RetroArch-1.20.0/config.log does not exist as it says 'no such file found'
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54893
Location: 56N 3W

PostPosted: Fri Feb 14, 2025 2:54 pm    Post subject: Reply with quote

The configure.log is useless. Even when retroarch-1.20.0 builds there is almost nothing in it.

I emerged it to replicate the failure ... it did.
Code:
[ebuild  N     ] games-emulation/retroarch-1.20.0::crossdev  USE="X alsa cdrom drm egl ffmpeg flac gles2 network opengl opengl_core sdl ssl truetype usb v4l vulkan xv zlib -cg -dbus -gles3 -gles3_1 -gles3_2 -jack -kms -libass -libcaca -openal -osmesa -parport (-pulseaudio) -qt5 -sdl2 -sixel (-systemd) -tinyalsa (-udev) -wayland -xinerama -xrandr" CPU_FLAGS_X86="sse2" 0 KiB


Then I ran
Code:
./configure
by hand which worked and produced
Code:
Checking presence of package libpipewire-0.3 ... no
Checking presence of package sdl >= 1.2.10 ... no
Checking presence of package sdl2 >= 2.0.0 ... 2.30.11
Checking presence of package Qt6Core >= 6.2 ... 6.8.2
Checking presence of package Qt6Gui >= 6.2 ... 6.8.2


Notice that it did not mind
Code:
Checking presence of package sdl >= 1.2.10 ... no


Then
Code:
make -j32
built it.

I used ./retroarch to run it (as root, naughty, naughty) from the build location as I didn't want to spray files all over my Gentoo install.

With
Code:
USE="-sdl sdl2" emerge -1av retroarch
it goes further. It may actually work but I get
Code:
Error: HID is disabled and forced to build with libusb support.
That may just be my static /dev install though.

sdl is just a wrapper around sdl2 these days, so sdl2 may be good enough.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum