Subject: bug#42698: closed (Re: bug#42698: easyrpg package fails to build)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Aug 2020 13:45:02 +0000

Your bug report

#42698: easyrpg package fails to build

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42698: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42698
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#42698: easyrpg package fails to build
From: Efraim Flashner <[email-masked]>
To: Vinícius dos Santos Oliveira <[email-masked]>
Cc: [email-masked]
Date: Mon, 3 Aug 2020 16:44:19 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks. Fixed with 948b59dfd5caa8fe5fc0feb3300f12b37820e23f

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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/