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

Bug 885873

Summary: net-mail/vpopmail-5.4.33-r9 fails to compile (CLANG-STRICTER-SYSTEM): configure: error: Could not compile and run even a trivial ANSI C program - check CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Rolf Eike Beer <eike>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30231
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log
1-config.log
proposed patch

Description Agostino Sarubbo gentoo-dev 2022-12-14 11:16:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-mail/vpopmail-5.4.33-r9 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-14 11:16:28 UTC
Created attachment 842599 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-14 11:16:29 UTC
Created attachment 842601 [details]
1-config.log

1-config.log
Comment 3 Rolf Eike Beer archtester 2022-12-15 20:37:51 UTC
Created attachment 842925 [details, diff]
proposed patch

Please try if this patch is enough or there is something more lurking.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 08:05:18 UTC
(In reply to Rolf Eike Beer from comment #3)
> Created attachment 842925 [details, diff] [details, diff]
> proposed patch
> 
> Please try if this patch is enough or there is something more lurking.

This works.
Comment 5 Rolf Eike Beer archtester 2023-01-11 15:14:05 UTC
Fixed in 663b87e4db5c07978452dd6b008c55847c83878f.
Comment 6 Larry the Git Cow gentoo-dev 2023-03-20 05:36:04 UTC
The bug has been closed via the following commit(s):

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

commit 8b4861aa18c6c0bd2860bbb859ae9238416b243b
Author:     Rolf Eike Beer <eike@sf-mail.de>
AuthorDate: 2022-12-24 13:18:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-20 05:31:58 +0000

    net-mail/vpopmail: add missing headers in configure tests
    
    Closes: https://bugs.gentoo.org/885873
    Closes: https://bugs.gentoo.org/900192
    Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
    Closes: https://github.com/gentoo/gentoo/pull/30231
    Signed-off-by: Sam James <sam@gentoo.org>

 ...33-add-missing-headers-in-configure-tests.patch | 40 ++++++++++++++++++++++
 net-mail/vpopmail/vpopmail-5.4.33-r9.ebuild        |  1 +
 2 files changed, 41 insertions(+)