Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832818 - media-sound/mumble-1.4.230: fails to compile with clang: error: variable 'iMessage' set but not used [-Werror,-Wunused-but-set-variable]
Summary: media-sound/mumble-1.4.230: fails to compile with clang: error: variable 'iMe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: werror systemwide-clang
  Show dependency tree
 
Reported: 2022-02-06 20:59 UTC by Kenton Groombridge
Modified: 2022-06-11 06:06 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,260.24 KB, text/x-log)
2022-02-06 21:00 UTC, Kenton Groombridge
Details
emerge -pqv =media-sound/mumble-1.4.230 (emerge-pqv.log,227 bytes, text/x-log)
2022-02-06 21:00 UTC, Kenton Groombridge
Details
emerge --info (emerge-info.log,9.51 KB, text/x-log)
2022-02-06 21:01 UTC, Kenton Groombridge
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)