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

Bug 828947

Summary: app-crypt/sbsigntools-0.9.4 fails to compile: image.c:514:13: error: variable n set but not used
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED DUPLICATE    
Severity: normal CC: concord
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-12-11 18:17:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/sbsigntools-0.9.4 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-11 18:17:45 UTC
Created attachment 758596 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-24 17:36:21 UTC
This is Clang, not gcc 11
Comment 3 Matthias Maier gentoo-dev 2022-05-14 19:51:53 UTC
The build fails because the build system sets '-Werror' internally and clang issues a warning.
Comment 4 Matthias Maier gentoo-dev 2022-05-14 19:53:21 UTC

*** This bug has been marked as a duplicate of bug 832212 ***
Comment 5 Larry the Git Cow gentoo-dev 2022-06-11 06:03:27 UTC
The bug has been referenced in the following commit(s):

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

commit 3f80775fd1204bf44e4ecd41202b591e1d953e63
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 06:01:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 06:03:18 +0000

    app-crypt/sbsigntools: drop Werror
    
    Closes: https://bugs.gentoo.org/832212
    Bug: https://bugs.gentoo.org/845372
    Bug: https://bugs.gentoo.org/828947
    Signed-off-by: Sam James <sam@gentoo.org>

 .../sbsigntools/files/sbsigntools-0.9.4-no-werror.patch     | 13 +++++++++++++
 app-crypt/sbsigntools/sbsigntools-0.9.4.ebuild              |  4 ++++
 2 files changed, 17 insertions(+)