Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922951 - mail-mta/opensmtpd-7.4.0_p1 fails to compile: getdtablecount.c:35:13: error: implicit declaration of function snprintf [-Wimplicit-function-declaration]
Summary: mail-mta/opensmtpd-7.4.0_p1 fails to compile: getdtablecount.c:35:13: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-26 07:58 UTC by Agostino Sarubbo
Modified: 2024-04-14 16:09 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,204.62 KB, text/plain)
2024-01-26 07:58 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 2024-01-26 07:58:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: mail-mta/opensmtpd-7.4.0_p1 fails to compile.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-26 07:58:42 UTC
Created attachment 883153 [details]
build.log

build log and emerge --info
Comment 2 jy6x2b32pie9 2024-04-01 07:51:03 UTC
Upstream issue: https://github.com/OpenSMTPD/OpenSMTPD/issues/1249
Comment 3 jy6x2b32pie9 2024-04-01 23:04:28 UTC
Upstream fix differs only in order of includes
https://github.com/OpenSMTPD/OpenSMTPD/commit/29ac79854c618d1ad8bc449894685fdf51d5efb0
Comment 4 Larry the Git Cow gentoo-dev 2024-04-14 16:09:00 UTC
The bug has been closed via the following commit(s):

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

commit 650f13dce660ef67fd90b7e6134a9ab79fa36c2c
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-04-01 07:51:45 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-04-14 16:06:28 +0000

    mail-mta/opensmtpd: Add missing include
    
    Fixes GCC-14 build error implicit declaration of function snprintf
    
    Closes: https://bugs.gentoo.org/922951
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36035
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../opensmtpd/files/opensmtpd-7.4.0-missing-include.patch     | 11 +++++++++++
 mail-mta/opensmtpd/opensmtpd-7.4.0_p1.ebuild                  |  2 ++
 2 files changed, 13 insertions(+)