Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 938014

Summary: games-engines/scummvm-2.8.1-r1 - [gcc-15] engines/.../ahglyph.cpp: error: invalid conversion from unsigned char to char [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: konsolebox, mgorny, xavier.miller
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/scummvm/scummvm/pull/6046
https://bugs.gentoo.org/show_bug.cgi?id=937849
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-engines:scummvm-2.8.1-r1:20240815-223353.log.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-08-16 15:36:03 UTC
./common/singleton.h:91:21: note: remove the < >
./common/singleton.h:92:17: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
   92 |         virtual ~Singleton<T>() { }
      |                 ^
./common/singleton.h:92:17: note: remove the < >
engines/ags/lib/freetype-2.1.3/autohint/ahglyph.cpp: In function void AGS3::FreeType213::ah_outline_save(AH_Outline, FT_GlyphLoader):
engines/ags/lib/freetype-2.1.3/autohint/ahglyph.cpp:299:46: error: invalid conversion from unsigned char* to char* [-fpermissive]
  299 |         char *tag = gloader->current.outline.tags;
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240814-215502

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit ed3cfadf4d123a3910a1d16534f91d5c9c0f64aa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 15 21:49:00 2024 +0000

    2024-08-15 21:49:00 UTC

emerge -qpvO =games-engines/scummvm-2.8.1-r1
[ebuild  N    ] games-engines/scummvm-2.8.1-r1  USE="a52 aac alsa flac gif gtk jpeg mp3 net opengl png truetype vorbis zlib -debug -fluidsynth -fribidi -lua -mpeg2 -sndio -speech -theora -unsupported"
Comment 1 Toralf Förster gentoo-dev 2024-08-16 15:36:04 UTC
Created attachment 900261 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-16 15:36:05 UTC
Created attachment 900262 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-16 15:36:06 UTC
Created attachment 900263 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-16 15:36:07 UTC
Created attachment 900264 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-16 15:36:08 UTC
Created attachment 900265 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-16 15:36:09 UTC
Created attachment 900266 [details]
games-engines:scummvm-2.8.1-r1:20240815-223353.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-16 15:36:10 UTC
Created attachment 900267 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-16 15:36:12 UTC
Created attachment 900268 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-08-16 15:36:12 UTC
Created attachment 900269 [details]
temp.tar.xz
Comment 10 konsolebox 2024-08-17 03:39:53 UTC
https://github.com/scummvm/scummvm/pull/6046
Comment 11 Xavier Miller 2024-09-17 18:51:21 UTC
(In reply to konsolebox from comment #10)
> https://github.com/scummvm/scummvm/pull/6046

This PR fixes the issue
Comment 12 Larry the Git Cow gentoo-dev 2024-09-23 11:24:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad07271c36015504213352376e00e0df2ec81a2e

commit ad07271c36015504213352376e00e0df2ec81a2e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-23 11:23:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-23 11:23:23 +0000

    games-engines/scummvm: fix build w/ freetype-2.13.3
    
    Closes: https://bugs.gentoo.org/938014
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/scummvm-2.8.1-freetype-2.13.3.patch      | 59 ++++++++++++++++++++++
 games-engines/scummvm/scummvm-2.8.1-r1.ebuild      |  4 ++
 2 files changed, 63 insertions(+)