Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739284 - games-puzzle/brainparty-0.61-r1 fails to compile
Summary: games-puzzle/brainparty-0.61-r1 fails to compile
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: 2020-08-27 16:14 UTC by Agostino Sarubbo
Modified: 2021-02-11 08:56 UTC (History)
0 users

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


Attachments
build.log (build.log,28.92 KB, text/plain)
2020-08-27 16:14 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-27 16:14:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-puzzle/brainparty-0.61-r1 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-27 16:14:11 UTC
Created attachment 657136 [details]
build.log

build log and emerge --info
Comment 2 Kobboi 2021-02-01 09:54:19 UTC
Just FYI: compiles fine for me on a current uptodate system.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-02-11 08:23:52 UTC
CXX="x86_64-pc-linux-gnu-clang++"
...
BPGame.cpp:1510:25: error: non-constant-expression cannot be narrowed from type
      'int' to 'GLfloat' (aka 'float') in initializer list [-Wc++11-narrowing]
        GLfloat vertices[] = { fromx, fromy, tox, toy }; 
                               ^~~~~
Comment 4 Larry the Git Cow gentoo-dev 2021-02-11 08:56:35 UTC
The bug has been closed via the following commit(s):

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

commit f34612bd02991c8a9c792397e6a239d8289215bd
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-02-11 08:55:41 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-02-11 08:56:33 +0000

    games-puzzle/brainparty: tweak for clang-11
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/739284
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 games-puzzle/brainparty/brainparty-0.61-r1.ebuild          |  1 +
 .../brainparty/files/brainparty-0.61-clang-11.patch        | 14 ++++++++++++++
 2 files changed, 15 insertions(+)