Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 898360

Summary: app-arch/libarchive-3.6.1-r1 has implicit function declarations in configure logs (GCC-13-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-28 11:50:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/libarchive-3.6.1-r1 has implicit function declarations in configure logs (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-28 11:50:50 UTC
Created attachment 855182 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 15:35:48 UTC
FWICS this check is gone in 3.6.2, and disappears after I autoconf 3.6.1… so I guess it comes from autoconf itself or sth?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 16:09:58 UTC
That said, I can reproduce a bunch of other implicit func decls locally.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 16:35:40 UTC
(In reply to Michał Górny from comment #3)
> That said, I can reproduce a bunch of other implicit func decls locally.

Ok, so the others are false positives from checking for SHA* hashes in libc.
Comment 5 Larry the Git Cow gentoo-dev 2023-02-28 16:36:23 UTC
The bug has been referenced in the following commit(s):

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

commit e623d0417924e0989baefcd3292d59c22609b413
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-02-28 16:11:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-02-28 16:36:18 +0000

    app-arch/libarchive: eautoconf to fix makedev implicit decl
    
    Bug: https://bugs.gentoo.org/898360
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-arch/libarchive/libarchive-3.6.1-r1.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)