Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832818

Summary: media-sound/mumble-1.4.230: fails to compile with clang: error: variable 'iMessage' set but not used [-Werror,-Wunused-but-set-variable]
Product: Gentoo Linux Reporter: Kenton Groombridge <concord>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, kripton
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867, 408963    
Attachments: build.log
emerge -pqv =media-sound/mumble-1.4.230
emerge --info

Description Kenton Groombridge gentoo-dev 2022-02-06 20:59:47 UTC
media-sound/mumble-1.4.230 is failing to build under clang with the following error message:

error: variable 'iMessage' set but not used [-Werror,-Wunused-but-set-variab
le]
        quint32 iMessage = Settings::LogNone;
                ^

Reproducible: Always
Comment 1 Kenton Groombridge gentoo-dev 2022-02-06 21:00:30 UTC
Created attachment 764490 [details]
build.log
Comment 2 Kenton Groombridge gentoo-dev 2022-02-06 21:00:57 UTC
Created attachment 764491 [details]
emerge -pqv =media-sound/mumble-1.4.230
Comment 3 Kenton Groombridge gentoo-dev 2022-02-06 21:01:17 UTC
Created attachment 764492 [details]
emerge --info
Comment 4 Kenton Groombridge gentoo-dev 2022-02-06 21:34:33 UTC
This was fixed in this commit: https://github.com/mumble-voip/mumble/commit/0c769d87a1d9782e2e77c75ba9c34ee3ea5cc3cc

Adding it to user patches works for me.
Comment 5 Larry the Git Cow gentoo-dev 2022-02-07 03:01:10 UTC
The bug has been referenced in the following commit(s):

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

commit d0b1a5cbfebe50ca1267f4b8ce1d93f1cb8ee522
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-07 03:00:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-07 03:00:00 +0000

    media-sound/mumble: [QA] disable -Werror
    
    Bug: https://bugs.gentoo.org/832818
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mumble/mumble-1.4.230.ebuild | 1 +
 media-sound/mumble/mumble-9999.ebuild    | 1 +
 2 files changed, 2 insertions(+)