Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827176 - games-engines/openxcom-1.0.0_p20180317-r1 not compatible with dev-cpp/yaml-cpp-0.7.0-r1
Summary: games-engines/openxcom-1.0.0_p20180317-r1 not compatible with dev-cpp/yaml-cp...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-24 17:58 UTC by László Szalma
Modified: 2021-11-27 23:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.