Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886457 - sci-libs/mc-1.5 fails to compile (CLANG-STRICTER-SYSTEM): estim.c:714:18: error: call to undeclared function Aprx_markRefineDorfler; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Summary: sci-libs/mc-1.5 fails to compile (CLANG-STRICTER-SYSTEM): estim.c:714:18: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2022-12-17 08:31 UTC by Agostino Sarubbo
Modified: 2025-02-10 09:43 UTC (History)
0 users

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


Attachments
build.log (build.log,96.31 KB, text/plain)
2022-12-17 08:31 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-12-17 08:31:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/mc-1.5 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-12-17 08:31:21 UTC
Created attachment 843184 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-02-10 09:43:04 UTC
The bug has been closed via the following commit(s):

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

commit 97a986e9259e131eeba3b567bc2679588d18cd87
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-30 14:06:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 09:42:25 +0000

    sci-libs/mc: update EAPI 7 -> 8, port to C99
    
    Missing function declaration. Builds with -std=gnu23 on gcc-14
    
    Closes: https://bugs.gentoo.org/886457
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40332
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/mc/files/mc-1.5-missing-decl.patch     | 13 +++++++++++++
 sci-libs/mc/{mc-1.5.ebuild => mc-1.5-r1.ebuild} |  5 +++--
 2 files changed, 16 insertions(+), 2 deletions(-)