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

Bug 885057

Summary: mail-filter/libsrs_alt-1.0-r1 fails to compile (CLANG-STRICTER-SYSTEM): sha1.c:27:5: error: incompatible function pointer types initializing int ()(void ) with an expression of type int (mSHA1 ) (aka int (struct mSHA1_s )) [-Werror,-Wincompatible-functio
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-09 16:15:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: mail-filter/libsrs_alt-1.0-r1 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-09 16:15:41 UTC
Created attachment 841107 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-01-26 20:30:42 UTC
The bug has been referenced in the following commit(s):

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

commit f93c1ec19afd1c3cde445b5bc165a535a7d7b4e8
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-01-26 20:30:03 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-01-26 20:30:03 +0000

    package.mask: last-rite mail-filter/libsrs_alt
    
    Bug: https://bugs.gentoo.org/885057
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-02-26 08:02:54 UTC
The bug has been closed via the following commit(s):

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

commit f0e3f26709552509d3258ee16525a56b33a6f606
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-02-26 08:02:01 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-02-26 08:02:01 +0000

    mail-filter/libsrs_alt: remove last-rited package
    
    Closes: https://bugs.gentoo.org/885057
    Closes: https://bugs.gentoo.org/875410
    Closes: https://bugs.gentoo.org/847211
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 mail-filter/libsrs_alt/Manifest                    |  1 -
 .../libsrs_alt/files/libsrs_alt-1.0-ftime.patch    | 12 -----
 .../libsrs_alt/files/libsrs_alt-1.0-link-fix.patch | 32 -------------
 mail-filter/libsrs_alt/libsrs_alt-1.0-r1.ebuild    | 54 ----------------------
 mail-filter/libsrs_alt/metadata.xml                | 13 ------
 profiles/package.mask                              |  6 ---
 6 files changed, 118 deletions(-)