Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883603 - dev-perl/Net-FreeDB-0.100.0-r1 fails to compile (CLANG-STRICTER-SYSTEM): linux.h:54:24: error: call to undeclared function read_toc; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Summary: dev-perl/Net-FreeDB-0.100.0-r1 fails to compile (CLANG-STRICTER-SYSTEM): linu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-29 16:06 UTC by Agostino Sarubbo
Modified: 2024-11-19 14:02 UTC (History)
0 users

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


Attachments
build.log (build.log,47.95 KB, text/plain)
2022-11-29 16:06 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 2022-11-29 16:06:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-perl/Net-FreeDB-0.100.0-r1 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-29 16:06:18 UTC
Created attachment 838071 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-19 14:02:26 UTC
The bug has been closed via the following commit(s):

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

commit 539da9b0ab9486281859611c1b5cf3bdeda39fb6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 14:01:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 14:01:44 +0000

    dev-perl/Net-FreeDB: C99 fix, use gnudb
    
    freedb.freedb.org -> gnudb.gnudb.org, as freedb is gone.
    
    Closes: https://bugs.gentoo.org/883603
    Signed-off-by: Sam James <sam@gentoo.org>

 ...00.0-r1.ebuild => Net-FreeDB-0.100.0-r2.ebuild} | 11 +++-
 .../Net-FreeDB/files/Net-FreeDB-0.100.0-c99.patch  | 69 ++++++++++++++++++++++
 .../files/Net-FreeDB-0.100.0-gnudb.patch           | 52 ++++++++++++++++
 3 files changed, 129 insertions(+), 3 deletions(-)