Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669598 - games-arcade/blockrage-0.2.3 : main.c:105:12: error: statx redeclared as different kind of symbol
Summary: games-arcade/blockrage-0.2.3 : main.c:105:12: error: statx redeclared as diff...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-25 17:12 UTC by Toralf Förster
Modified: 2021-04-04 06:33 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.33 KB, text/plain)
2018-10-25 17:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,214.21 KB, text/plain)
2018-10-25 17:12 UTC, Toralf Förster
Details
environment (environment,95.54 KB, text/plain)
2018-10-25 17:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.19 KB, application/x-bzip)
2018-10-25 17:12 UTC, Toralf Förster
Details
games-arcade:blockrage-0.2.3:20181025-005523.log (games-arcade:blockrage-0.2.3:20181025-005523.log,8.25 KB, text/plain)
2018-10-25 17:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.64 KB, application/x-bzip)
2018-10-25 17:12 UTC, Toralf Förster
Details
statx patch (blockrage-0.2.3_statx.patch,3.30 KB, patch)
2019-10-03 12:32 UTC, Samuel Bauer
Details | Diff
config.patch (blockrage-0.2.3-config.patch,949 bytes, patch)
2019-10-03 12:41 UTC, Samuel Bauer
Details | Diff
ebuild (blockrage-0.2.3.ebuild,657 bytes, text/plain)
2019-10-03 12:42 UTC, Samuel Bauer
Details
ebuild (blockrage-0.2.3.ebuild,580 bytes, text/plain)
2019-12-03 23:24 UTC, Samuel Bauer
Details
blockrage-0.2.3-config.patch (blockrage-0.2.3-config.patch,957 bytes, patch)
2019-12-03 23:25 UTC, Samuel Bauer
Details | Diff
blockrage-0.2.3_statx.patch (blockrage-0.2.3_statx.patch,3.27 KB, patch)
2019-12-03 23:27 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-10-25 17:12:39 UTC
make[1]: Entering directory '/var/tmp/portage/games-arcade/blockrage-0.2.3/work/blockrage-0.2.3/src'
x86_64-pc-linux-gnu-gcc -Wall `sdl-config --cflags`  -DSYSCONFDIR=\"/etc/games/blockrage\" -O2 -pipe -march=native   -c -o main.o main.c
main.c:105:12: error: ‘statx’ redeclared as different kind of symbol
 static int statx[6],staty[6];
            ^~~~~
In file included from /usr/include/sys/stat.h:446,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20181021-070255

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpvO games-arcade/blockrage
[ebuild  N    ] games-arcade/blockrage-0.2.3
Comment 1 Toralf Förster gentoo-dev 2018-10-25 17:12:42 UTC
Created attachment 552914 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-25 17:12:45 UTC
Created attachment 552916 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-25 17:12:47 UTC
Created attachment 552918 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-25 17:12:50 UTC
Created attachment 552920 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-25 17:12:53 UTC
Created attachment 552922 [details]
games-arcade:blockrage-0.2.3:20181025-005523.log
Comment 6 Toralf Förster gentoo-dev 2018-10-25 17:12:55 UTC
Created attachment 552924 [details]
temp.tbz2
Comment 7 Samuel Bauer 2019-10-03 12:32:57 UTC
Created attachment 591686 [details, diff]
statx patch
Comment 8 Samuel Bauer 2019-10-03 12:41:47 UTC
Created attachment 591688 [details, diff]
config.patch
Comment 9 Samuel Bauer 2019-10-03 12:42:17 UTC
Created attachment 591690 [details]
ebuild
Comment 10 Samuel Bauer 2019-12-03 23:24:30 UTC
Created attachment 598382 [details]
ebuild
Comment 11 Samuel Bauer 2019-12-03 23:25:15 UTC
Created attachment 598384 [details, diff]
blockrage-0.2.3-config.patch
Comment 12 Samuel Bauer 2019-12-03 23:27:47 UTC
Created attachment 598386 [details, diff]
blockrage-0.2.3_statx.patch

Updated ebuild to EAPI 7
  * removed games heritage
  * Fixed header
  * use PATCHES variable
  * reworked patchset
Comment 13 Agostino Sarubbo gentoo-dev 2021-01-14 15:04:53 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 14 Samuel Bauer 2021-01-15 00:02:21 UTC
wouldn't it be better to include patches ?
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-15 01:05:23 UTC
(In reply to Samuel Bauer from comment #14)
> wouldn't it be better to include patches ?

please file a PR or send a git am-able patch, including GCO sign off, then ping if I don't look at it after some time please.

ago's message is automated so he wouldn't have seen what you said
Comment 16 Larry the Git Cow gentoo-dev 2021-04-04 06:33:01 UTC
The bug has been closed via the following commit(s):

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

commit cd07875957cb5d98b3a47c36721885ce052b8db6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-04 04:08:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-04 06:32:41 +0000

    games-arcade/blockrage: port to EAPI 7, fix build, games.eclass--
    
    Closes: https://bugs.gentoo.org/669598
    Signed-off-by: Sam James <sam@gentoo.org>

 ...rage-0.2.3.ebuild => blockrage-0.2.3-r1.ebuild} | 23 +++---
 .../blockrage/files/blockrage-0.2.3-config.patch   |  8 +-
 .../blockrage/files/blockrage-0.2.3-statx.patch    | 92 ++++++++++++++++++++++
 3 files changed, 108 insertions(+), 15 deletions(-)