Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900380 - sys-apps/man-db-2.12.0 has implicit function declarations in configure logs (CLANG-17-SYSTEM)
Summary: sys-apps/man-db-2.12.0 has implicit function declarations in configure logs (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: fixed in 2.12.1
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-03-08 14:05 UTC by Agostino Sarubbo
Modified: 2024-11-03 17:01 UTC (History)
0 users

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


Attachments
build.log (build.log,504.16 KB, text/plain)
2023-03-08 14:05 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-03-08 14:05:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/man-db-2.11.2 has implicit function declarations in configure logs (CLANG-17-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CLANG-17-SYSTEM) in the summary means that the bug was found on a machine that runs clang-17 but this bug MAY or MAY NOT BE related to the new compiler
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-08 14:05:06 UTC
Created attachment 856816 [details]
build.log

build log and emerge --info
Comment 2 connor-gh 2023-11-23 06:46:55 UTC
This is harmless in regards to security, but it'd be nice to fix.

The functions that are implicitly declared are:

unreachable() -- tested for in the configure only (perhaps it falls back to __builtin_unreachable() ?)

MIN -- macro tested for in the configure only

_snprintf -- obviously not used and probably just here for OS X weirdness

alignof -- only supported in c2x and clang does not default to that for obvious reasons. _Alignof works though

static_assert -- same reason as above, _Static_Assert works
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-05 08:47:17 UTC
gcc14_tinderbox has reproduced this issue with version 2.12.0 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-07 06:17:36 UTC
The bug has been closed via the following commit(s):

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

commit 74b43280d288e0f1de73316e394aaa0773f3ffe5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-06 17:20:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-07 06:16:08 +0000

    sys-apps/man-db: add 2.12.1
    
    Closes: https://bugs.gentoo.org/900380
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/man-db/Manifest             |   1 +
 sys-apps/man-db/man-db-2.12.1.ebuild | 208 +++++++++++++++++++++++++++++++++++
 sys-apps/man-db/man-db-9999.ebuild   |   7 +-
 3 files changed, 215 insertions(+), 1 deletion(-)
Comment 5 Larry the Git Cow gentoo-dev 2024-11-03 17:01:10 UTC
The bug has been referenced in the following commit(s):

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

commit d597761a7254b14bad5f9d9cd7d3a1a63c6fcaf3
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-03 16:59:36 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-03 16:59:36 +0000

    sys-apps/man-db: drop 2.11.2, 2.12.0
    
    Bug: https://bugs.gentoo.org/900380
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-apps/man-db/Manifest             |   2 -
 sys-apps/man-db/man-db-2.11.2.ebuild | 203 ----------------------------------
 sys-apps/man-db/man-db-2.12.0.ebuild | 206 -----------------------------------
 3 files changed, 411 deletions(-)