Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738576 - games-board/iagno-3.36.4 - ../iagno-3.36.4/src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options'
Summary: games-board/iagno-3.36.4 - ../iagno-3.36.4/src/perfs-tests-generator.vala:45....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
: 738580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-22 12:30 UTC by PhobosK
Modified: 2020-08-22 14:16 UTC (History)
3 users (show)

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


Attachments
posix-deps.patch (posix-deps.patch,478 bytes, patch)
2020-08-22 12:34 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PhobosK 2020-08-22 12:30:01 UTC
games-board/iagno-3.36.4 gives a compilation error:
FAILED: src/iagno-perfs-tests-generator.p/perfs-tests-generator.c src/iagno-perfs-tests-generator.p/computer-player.c src/iagno-perfs-tests-generator.p/computer-reversi.c src/iagno-perfs-tests-generator.p/game.c src/iagno-perfs-tests-generator.p/player.c 
/usr/bin/valac-0.48 -C --pkg gio-2.0 --color=always --directory src/iagno-perfs-tests-generator.p --basedir ../iagno-3.36.4/src --enable-experimental-non-null ../iagno-3.36.4/src/vapi/config.vapi ../iagno-3.36.4/src/perfs-tests-generator.vala ../iagno-3.36.4/src/computer-player.vala ../iagno-3.36.4/src/computer-reversi.vala ../iagno-3.36.4/src/game.vala ../iagno-3.36.4/src/player.vala
../iagno-3.36.4/src/game.vala:46.5-46.28: warning: accessibility of struct fields can only be `public`
    private Player [,] tiles;
    ^^^^^^^^^^^^^^^^^^^^^^^^
../iagno-3.36.4/src/game.vala:47.5-47.44: warning: accessibility of struct fields can only be `public`
    private unowned uint8 [,] neighbor_tiles;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../iagno-3.36.4/src/game.vala:303.5-303.25: warning: accessibility of struct fields can only be `public`
    private uint8 x_saved;
    ^^^^^^^^^^^^^^^^^^^^^
../iagno-3.36.4/src/game.vala:304.5-304.25: warning: accessibility of struct fields can only be `public`
    private uint8 y_saved;
    ^^^^^^^^^^^^^^^^^^^^^
../iagno-3.36.4/src/game.vala:462.5-462.37: warning: accessibility of struct fields can only be `public`
    private uint8 [,] empty_neighbors;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../iagno-3.36.4/src/perfs-tests-generator.vala:45.16-45.20: error: The name `Posix' does not exist in the context of `PerfsTestsGenerator.handle_local_options'
        return Posix.EXIT_SUCCESS;
               ^^^^^

This error has been fixed upstream:
https://gitlab.gnome.org/GNOME/iagno/-/commit/0100bab269f2102f24a6e41202b931da1b6e8dc5

The original bug report is here:
https://gitlab.gnome.org/GNOME/iagno/-/commit/0100bab269f2102f24a6e41202b931da1b6e8dc5

I am uploading the needed patch file...

The patch tested and works OK on amd64

Reproducible: Always
Comment 1 PhobosK 2020-08-22 12:34:30 UTC
Created attachment 656144 [details, diff]
posix-deps.patch

The upstream patch that fixes the games-board/iagno-3.36.4 compilation issue.

Sorry for the duplicate URLs in the initial bug report above :)

The correct real upstream bug URL is this one:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966854
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-22 13:08:51 UTC
*** Bug 738580 has been marked as a duplicate of this bug. ***
Comment 3 Mart Raudsepp gentoo-dev 2020-08-22 14:10:55 UTC
I don't have this problem, I guess my machine has the dependencies pull it in or something :D
Comment 4 Larry the Git Cow gentoo-dev 2020-08-22 14:16:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d0a0bf1583efaebac5bdc200974189a9bda77e

commit 41d0a0bf1583efaebac5bdc200974189a9bda77e
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-08-22 14:16:08 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-08-22 14:16:15 +0000

    games-board/iagno: fix build with newer meson
    
    Closes: https://bugs.gentoo.org/738576
    Package-Manager: Portage-2.3.103, Repoman-2.3.20
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 games-board/iagno/files/3.36.4-vala-posix.patch | 28 +++++++++++++++++++++++++
 games-board/iagno/iagno-3.36.4.ebuild           |  4 ++++
 2 files changed, 32 insertions(+)