Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899938 - net-analyzer/isic-0.07-r2 has implicit function declarations in configure logs (GCC-13-SYSTEM)
Summary: net-analyzer/isic-0.07-r2 has implicit function declarations in configure log...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2023-03-06 16:18 UTC by Agostino Sarubbo
Modified: 2025-02-10 09:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,47.12 KB, text/plain)
2023-03-06 16:18 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-06 16:18:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/isic-0.07-r2 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
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 16:18:30 UTC
Created attachment 856400 [details]
build.log

build log and emerge --info
Comment 2 NHO 2025-02-05 16:15:50 UTC
Fails to compile with GCC-15:

configure:642: checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -ggdb -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs) works
configure:658: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -ggdb  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs conftest.c  1>&5
configure:655:1: error: return type defaults to 'int' [-Wimplicit-int]
  655 | main(){return(0);}
      | ^~~~
configure: failed program was:

#line 653 "configure"
#include "confdefs.h"

main(){return(0);}
Comment 3 NHO 2025-02-05 16:41:26 UTC
Simply running autoreconf or upgrading configure.ac doesn't work - straight autoupgrade procudes non-viable configure.ac
Comment 4 Larry the Git Cow gentoo-dev 2025-02-10 09:43:03 UTC
The bug has been closed via the following commit(s):

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

commit 7dcd5fded7966a1c18b179addb6e00841a4bdb48
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-05 16:55:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:41:32 +0000

    net-analyzer/isic: fix configure for modern C
    
    Straight-up autoreconf fails, autoupdate produces non-viable configure.
    Also make build system respect our DESTDID, which also replaces sed
    with a patch
    
    Closes: https://bugs.gentoo.org/874531
    Closes: https://bugs.gentoo.org/899938
    Closes: https://bugs.gentoo.org/836081
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40453
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/isic/files/isic-0.07-configure.patch | 39 +++++++++++++++++++++++
 net-analyzer/isic/isic-0.07-r3.ebuild             | 35 ++++++++++++++++++++
 2 files changed, 74 insertions(+)