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

Bug 827176

Summary: games-engines/openxcom-1.0.0_p20180317-r1 not compatible with dev-cpp/yaml-cpp-0.7.0-r1
Product: Gentoo Linux Reporter: László Szalma <dblaci>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal CC: alexey+gentoo, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/jbeder/yaml-cpp/issues/1027
Whiteboard:
Package list:
Runtime testing required: ---

Description László Szalma 2021-11-24 17:58:41 UTC
openxcom loading crashes when built with yaml-cpp:0.7 but it works when built with yaml-cpp:0.6

I suggest updating openxcom dependency to yaml-cpp:0.6 as it is slotted. But for me masking =dev-cpp/yaml-cpp-0.7.0-r1 and downgrading (to dev-cpp/yaml-cpp-0.6.3-r4:0/0.6::gentoo) and rebuilding openxcom solved the issue.

Related issue: https://bugs.gentoo.org/819777

Upstream issue: https://github.com/OpenXcom/OpenXcom/issues/1348

Reproducible: Always

Steps to Reproduce:
1. build openxcom with yaml-cpp:0.7
2. load savegame in openxcom

Actual Results:  
Game crashes:

openxcom: /var/tmp/portage/games-engines/openxcom-1.0.0_p20180317-r1/work/OpenXcom-ea9ac466221f8b4f8974d2db1c42dc4ad6126564/src/Savegame/SerializationHelper.cpp:58: int OpenXcom::unserializeInt(Uint8**, Uint8): Assertion `false' failed.


Expected Results:  
Savegame loads.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-26 04:36:54 UTC
It's not clear to me from the upstream bug whether yaml-cpp is broken or not.