Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885873 - 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
Summary: net-mail/vpopmail-5.4.33-r9 fails to compile (CLANG-STRICTER-SYSTEM): configu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rolf Eike Beer
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-14 11:16 UTC by Agostino Sarubbo
Modified: 2023-03-20 05:36 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,55.32 KB, text/plain)
2022-12-14 11:16 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,70.27 KB, text/plain)
2022-12-14 11:16 UTC, Agostino Sarubbo
Details
proposed patch (0001-add-missing-headers-in-configure-tests.patch,907 bytes, patch)
2022-12-15 20:37 UTC, Rolf Eike Beer
Details | Diff

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