Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898308 - dev-lang/python-3.10.10_p2 has implicit function declarations in configure logs
Summary: dev-lang/python-3.10.10_p2 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 (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: false positive
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-28 11:19 UTC by Agostino Sarubbo
Modified: 2023-03-01 15:03 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,54.91 KB, application/x-xz)
2023-02-28 11:19 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-28 11:19:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/python-3.10.10_p2 has implicit function declarations in configure logs.
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-28 11:19:14 UTC
Created attachment 855132 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 23:46:13 UTC
 * QA Notice: Found the following implicit function declarations in configure logs:
 *   /var/tmp/portage/dev-lang/python-3.10.10_p2/work/Python-3.10.10/config.log:9196 - chflags
 *   /var/tmp/portage/dev-lang/python-3.10.10_p2/work/Python-3.10.10/config.log:9540 - lchflags

These are BSD functions.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 23:46:26 UTC
(In reply to Sam James from comment #2)
>  * QA Notice: Found the following implicit function declarations in
> configure logs:
>  *  
> /var/tmp/portage/dev-lang/python-3.10.10_p2/work/Python-3.10.10/config.log:
> 9196 - chflags
>  *  
> /var/tmp/portage/dev-lang/python-3.10.10_p2/work/Python-3.10.10/config.log:
> 9540 - lchflags
> 
> These are BSD functions.

we can e.g. fold these into the glibc cache vars we're planning
Comment 4 Larry the Git Cow gentoo-dev 2023-03-01 15:03:16 UTC
The bug has been closed via the following commit(s):

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

commit 3f5ab636b096ddc66b8ea093791fb9cdf62687ab
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-03-01 15:02:07 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-03-01 15:03:13 +0000

    dev-lang/python: Silence implicit func decl false positives
    
    Closes: https://bugs.gentoo.org/898308
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-lang/python/python-3.10.10_p2.ebuild    | 2 ++
 dev-lang/python/python-3.11.2_p1.ebuild     | 2 ++
 dev-lang/python/python-3.12.0_alpha5.ebuild | 2 ++
 dev-lang/python/python-3.8.16_p3.ebuild     | 2 ++
 dev-lang/python/python-3.9.16_p2.ebuild     | 2 ++
 5 files changed, 10 insertions(+)