Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896052 - mail-filter/procmail-3.22-r15 fails to compile (MUSL-CLANG-SYSTEM): _autotst.c:62:30: error: call to undeclared function killchildren; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: mail-filter/procmail-3.22-r15 fails to compile (MUSL-CLANG-SYSTEM): _autotst....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 3.22-r16
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-23 16:13 UTC by Agostino Sarubbo
Modified: 2024-10-30 11:14 UTC (History)
0 users

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


Attachments
build.log (build.log,53.58 KB, text/plain)
2023-02-23 16:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-23 16:13:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: mail-filter/procmail-3.22-r15 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-23 16:13:25 UTC
Created attachment 854112 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-23 16:13:26 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


_autotst.c:230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_autotst.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_autotst.c:82:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_autotst.c:62:30: error: call to undeclared function 'killchildren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2023-12-02 07:13:10 UTC
The bug has been closed via the following commit(s):

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

commit e92325dddea86232ac9577049695a9f11522a58c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-02 06:05:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-02 07:10:15 +0000

    mail-filter/procmail: update EAPI 6 -> 8, gnu89, no LTO
    
    * Filter LTO (bug #859517, bug #874375 - the latter is a somewhat real bug but
      it only happens with races and not worth fixing for procmail anyway given
      the first bug & it's dead)
    
    * Set -std=gnu89 (bug #875251, bug #896052) for modern C compilers.
    
    Closes: https://bugs.gentoo.org/859517
    Closes: https://bugs.gentoo.org/875251
    Closes: https://bugs.gentoo.org/896052
    Closes: https://bugs.gentoo.org/874375
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/procmail/procmail-3.22-r16.ebuild | 135 ++++++++++++++++++++++++++
 1 file changed, 135 insertions(+)