Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72392 - [scummvm] No renderers have been found for this game error

Attached to Project: Community Packages
Opened by Stanisław Wokulski (fenuks) - Monday, 11 October 2021, 12:39 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2021, 12:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I think --enable-all-engines should be added to ./configure call. Otherwise, I can add The Longest Journey game that has been added in 2.5.0, but attempting to run it results in 'No renderers have been found for this game!' error. Rebuilding package with this flag solves this problem.


Steps to reproduce:
Run scummvm.
Add TLJ.
Try to run it.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 15 October 2021, 12:16 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 21:25 GMT
Can you check 2.5.0-2?
Comment by Stanisław Wokulski (fenuks) - Friday, 15 October 2021, 09:56 GMT
This is weird. It still doesn't work with the same error, but if I clone PKGBUILD, and rebuild it myself problem is gone.

I have run pkgdiff on locally built package and one from repo, and in community package usr/share/scummvm/shaders directory is missing, in my case usr/share/scummvm/shaders/stark_surface.vertex might be a problem. To test this hypothesis, I removed this directory from package, and reinstalled it, although I get different error: Could not open shader stark_surface.vertex!!

Afterwards, I rebuilt the package in clean chroot via extra-x86_64-build, and been able to reproduce the problem, so probably PKGBUILD misses some dependency. I will try to figure out which, and let you know.
Comment by Stanisław Wokulski (fenuks) - Friday, 15 October 2021, 10:16 GMT
So, giflib, glew, and libspeechd are missing.

$ namcap scummvm-2.5.0-2-x86_64.pkg.tar
scummvm E: Dependency libspeechd detected and not included (libraries ['usr/lib/libspeechd.so.2'] needed in files ['usr/bin/scummvm'])
scummvm E: Dependency giflib detected and not included (libraries ['usr/lib/libgif.so.7'] needed in files ['usr/bin/scummvm'])
scummvm E: Dependency gtk3 detected and not included (libraries ['usr/lib/libgtk-3.so.0'] needed in files ['usr/bin/scummvm'])
scummvm E: Dependency glew detected and not included (libraries ['usr/lib/libGLEW.so.2.2'] needed in files ['usr/bin/scummvm'])
scummvm W: Dependency libpng included but already satisfied
scummvm W: Dependency sdl2 included but already satisfied
scummvm W: Dependency libgl included but already satisfied



They are also mentioned in https://wiki.scummvm.org/index.php?title=Compiling_ScummVM/GCC. I didn't include gtk3, since it doesn't seem to be used by games, and as far I can tell, everything works without it.


diff --git i/trunk/PKGBUILD w/trunk/PKGBUILD
index ac6f8d6..79697a7 100644
--- i/trunk/PKGBUILD
+++ w/trunk/PKGBUILD
@@ -10,7 +10,7 @@ arch=('x86_64')
license=('GPL')
url="http://www.scummvm.org/"
depends=('libpng' 'libtheora' 'sdl2' 'sdl2_net' 'fluidsynth' 'flac' 'faad2' 'libvorbis' 'libmad' 'freetype2'
- 'libgl' 'glu' 'libjpeg-turbo' 'libmpeg2' 'curl' 'a52dec')
+ 'libgl' 'glu' 'libjpeg-turbo' 'libmpeg2' 'curl' 'a52dec' 'libspeechd' 'giflib' 'glew')
makedepends=('mesa')
source=("https://downloads.scummvm.org/frs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha512sums=('7ea702cf0f993994209fd692e82ab65f9686fb60d65f36624a31bd642067fe7dd35e556666281c68d1592d7dd07333f085c124038f7a45acefae8f30bceff534')



Sorry for the confusion. I should have tried to build in chroot before I submitted this issue.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2021, 10:25 GMT
No worries, what about gtk3?
Comment by Stanisław Wokulski (fenuks) - Friday, 15 October 2021, 10:31 GMT
It seems that gtk3 is optional, and can be used for native file browser. Otherwise, default one is being used. https://github.com/scummvm/scummvm/pull/2151

Personally, I don't use GTK-based DE, and am content with built-in file browser, but it's up to you to decide if you want to include it or not.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 15 October 2021, 11:02 GMT
Should be good now, check the newest version.
Comment by Stanisław Wokulski (fenuks) - Friday, 15 October 2021, 12:09 GMT
I can confirm it now works.

Loading...