Bug 2341334

Summary: scummvm: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: scummvmAssignee: Christian Krause <chkr>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: chkr, lucilanga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scummvm-2.9.0-1.fc40 scummvm-2.9.0-1.fc42 scummvm-2.9.0-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-24 03:29:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 21:55:39 UTC
scummvm failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128145886


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix scummvm at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
scummvm will be orphaned. Before branching of Fedora 43,
scummvm will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 21:55:42 UTC
Created attachment 2072522 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 21:55:44 UTC
Created attachment 2072523 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 21:55:45 UTC
Created attachment 2072524 [details]
state.log

Comment 4 Dominik 'Rathann' Mierzejewski 2025-02-14 13:40:18 UTC
FYI this is freetype-2.1.3 bundled in the ags engine failing to build:
...
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;
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      |                                              |
      |                                              unsigned char*
engines/ags/lib/freetype-2.1.3/autohint/ahglyph.cpp: In function ‘FT_Error AGS3::FreeType213::ah_outline_load(AH_Outline, FT_Face)’:
engines/ags/lib/freetype-2.1.3/autohint/ahglyph.cpp:411:45: error: invalid conversion from ‘unsigned char*’ to ‘char*’ [-fpermissive]
  411 |                         char *tag = source->tags;
      |                                     ~~~~~~~~^~~~
      |                                             |
      |                                             unsigned char*
engines/ags/lib/freetype-2.1.3/autohint/ahglyph.cpp:460:46: error: invalid conversion from ‘short unsigned int*’ to ‘short int*’ [-fpermissive]
  460 |                         short *end = source->contours;
      |                                      ~~~~~~~~^~~~~~~~
      |                                              |
      |                                              short unsigned int*
make: *** [Makefile.common:177: engines/ags/lib/freetype-2.1.3/autohint/ahglyph.o] Error 1

As a reminder, ags is packaged in Fedora separately and uses system freetype package.

Comment 5 Christian Krause 2025-02-15 09:28:28 UTC
The problematic code is fixed upstream: https://github.com/scummvm/scummvm/commit/86a9fd66c58f35a7b4de93d9dd46112dced35a32. This bug report will be closed together with BZ #2330987 by updating the scummvm package to release 2.9.0 soon.

Comment 6 Aoife Moloney 2025-02-26 13:45:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 7 Fedora Update System 2025-03-17 21:06:41 UTC
FEDORA-2025-961ff5e540 (scummvm-2.9.0-1.fc42 and scummvm-tools-2.9.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-961ff5e540

Comment 8 Fedora Update System 2025-03-17 21:07:28 UTC
FEDORA-2025-34960dd3ab (scummvm-2.9.0-1.fc41 and scummvm-tools-2.9.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-34960dd3ab

Comment 9 Fedora Update System 2025-03-17 21:07:58 UTC
FEDORA-2025-53962e8707 (scummvm-2.9.0-1.fc40 and scummvm-tools-2.9.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-53962e8707

Comment 10 Fedora Update System 2025-03-18 01:53:25 UTC
FEDORA-2025-961ff5e540 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-961ff5e540`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-961ff5e540

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-03-18 02:18:51 UTC
FEDORA-2025-34960dd3ab has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-34960dd3ab`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-34960dd3ab

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-03-18 02:46:03 UTC
FEDORA-2025-53962e8707 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-53962e8707`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-53962e8707

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-04-24 03:29:02 UTC
FEDORA-2025-53962e8707 (scummvm-2.9.0-1.fc40 and scummvm-tools-2.9.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-04-24 03:38:48 UTC
FEDORA-2025-961ff5e540 (scummvm-2.9.0-1.fc42 and scummvm-tools-2.9.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-04-24 17:32:53 UTC
FEDORA-2025-34960dd3ab (scummvm-2.9.0-1.fc41 and scummvm-tools-2.9.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.