Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796962 - [guru] games-engines/instead-3.3.4 fails to compile with USE="sdl2"
Summary: [guru] games-engines/instead-3.3.4 fails to compile with USE="sdl2"
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fat-Zer
URL: https://github.com/instead-hub/instea...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-06-20 16:47 UTC by Agostino Sarubbo
Modified: 2021-06-24 12:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,87.04 KB, text/plain)
2021-06-20 16:47 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-06-20 16:47:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-engines/instead-3.3.4 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-06-20 16:47:25 UTC
Created attachment 717198 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-06-20 16:47:27 UTC
Possible context of error(s):

/var/tmp/portage/games-engines/instead-3.3.4/work/instead-3.3.4/src/SDL_gif.c:744:21: error: conflicting types for ‘IMG_LoadGIFAnimation_RW’; have ‘Animation_t *(SDL_RWops *)’
Comment 3 Larry the Git Cow gentoo-dev 2021-06-24 12:22:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12899f2577752ccebe2e804729c6232b3b55b87e

commit 12899f2577752ccebe2e804729c6232b3b55b87e
Author:     Alexander Golubev <fatzer2@gmail.com>
AuthorDate: 2021-06-20 20:28:27 +0000
Commit:     Alexander Golubev <fatzer2@gmail.com>
CommitDate: 2021-06-20 20:29:05 +0000

    games-engines/instead: fix build failur with USE=sdl2
    
    Closes: https://bugs.gentoo.org/796962
    Signed-off-by: Alexander Golubev <fatzer2@gmail.com>

 ...3.4-resolve-conflict-with-SDL-function-91.patch | 34 ++++++++++++++++++++++
 games-engines/instead/instead-3.3.4.ebuild         |  3 ++
 2 files changed, 37 insertions(+)