Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739094 - games-arcade/briquolo-0.5.7 fails to compile (error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'Sint16' (aka 'short') in initializer list)
Summary: games-arcade/briquolo-0.5.7 fails to compile (error: non-constant-expression ...
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: systemwide-clang
  Show dependency tree
 
Reported: 2020-08-26 11:17 UTC by Agostino Sarubbo
Modified: 2021-06-13 17:58 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,39.89 KB, text/plain)
2020-08-26 11:18 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 2020-08-26 11:17:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/briquolo-0.5.7 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-26 11:18:01 UTC
Created attachment 656876 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-06-13 17:58:35 UTC
The bug has been closed via the following commit(s):

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

commit 50861304fe434395c47e915ff4cd6df25f9afaf7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-13 16:24:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-13 17:13:51 +0000

    games-arcade/briquolo: various compile fixes (GCC 11, Clang)
    
    * Fix build with GCC 11 (const)
    * Fix build with Clang (widening conversion, patch from FreeBSD)
    * Change delimiter in sed away from colon
    
    Closes: https://bugs.gentoo.org/739094
    Closes: https://bugs.gentoo.org/790746
    Closes: https://bugs.gentoo.org/715738
    Signed-off-by: Sam James <sam@gentoo.org>

 games-arcade/briquolo/briquolo-0.5.7.ebuild        |  4 ++-
 .../files/briquolo-0.5.7-clang-widening.patch      | 31 ++++++++++++++++++++++
 .../files/briquolo-0.5.7-gcc11-fix-const.patch     | 12 +++++++++
 3 files changed, 46 insertions(+), 1 deletion(-)