Subject: easyrpg package fails to build
From: Vinícius dos Santos Oliveira <[email-masked]>
To: [email-masked]
Date: Mon, 3 Aug 2020 05:55:19 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Here's the tail of the build log:

  CXX      src/libeasyrpg_player_a-game_actors.o
src/game_actor.cpp: In member function ‘virtual int
Game_Actor::GetBattleX() const’:
src/game_actor.cpp:919:28: error: ‘const class RPG::Terrain’ has no member
named ‘grid_c’; did you mean ‘grid_top_y’?
    right = left + terrain->grid_c / 1103;
                            ^~~~~~
                            grid_top_y
src/game_actor.cpp: In member function ‘virtual int
Game_Actor::GetBattleY() const’:
src/game_actor.cpp:1001:19: error: ‘const class RPG::Terrain’ has no member
named ‘grid_a’; did you mean ‘grid_top_y’?
    top = terrain->grid_a;
                   ^~~~~~
                   grid_top_y
src/game_actor.cpp:1002:28: error: ‘const class RPG::Terrain’ has no member
named ‘grid_b’; did you mean ‘grid_top_y’?
    bottom = top + terrain->grid_b / 13;
                            ^~~~~~
                            grid_top_y
src/game_actor.cpp: In member function ‘void Game_Actor::SetSprite(const
string&, int, bool)’:
src/game_actor.cpp:1075:12: error: ‘class RPG::SaveActor’ has no member
named ‘sprite_flags’; did you mean ‘sprite_name’?
  GetData().sprite_flags = transparent ? 3 : 0;
            ^~~~~~~~~~~~
            sprite_name
make[1]: *** [Makefile:2566: src/libeasyrpg_player_a-game_actor.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
'/tmp/guix-build-easyrpg-player-0.6.1.drv-0/easyrpg-player-0.6.1'
make: *** [Makefile:1332: all] Error 2
command "make" "-j" "4" failed with status 2

I think there's a mismatch between easyrpg-player (0.6.1) and liblcf
(0.6.2) versions. Just by bumping the easyrpg-player package, the problem
should go away I think.

-- 
Vinícius dos Santos Oliveira
https://vinipsmaker.github.io/