Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886463 - sci-libs/qfits-6.2.0 fails to compile (CLANG-STRICTER-SYSTEM): qextract.c:69:14: error: call to undeclared function qfits_query_n_ext; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Summary: sci-libs/qfits-6.2.0 fails to compile (CLANG-STRICTER-SYSTEM): qextract.c:69:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-17 08:37 UTC by Agostino Sarubbo
Modified: 2025-03-10 01:42 UTC (History)
0 users

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


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

Issue: sci-libs/qfits-6.2.0 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:37:48 UTC
Created attachment 843192 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-03-10 01:42:11 UTC
The bug has been closed via the following commit(s):

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

commit 728dfaa3ea51a3779e8a99881cbfacd395125c1c
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-27 16:27:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 01:38:53 +0000

    sci-libs/qfits: update EAPI 7 -> 8, add missing includes
    
    Update home page, add missing includes in tests, main library
    and custom m4 scripts for configure.
    
    Closes: https://bugs.gentoo.org/908483
    Closes: https://bugs.gentoo.org/886463
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40796
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/qfits/files/qfits-6.2.0-includes.patch    | 32 +++++++++++++++++++
 sci-libs/qfits/files/qfits-6.2.0-m4.patch          | 36 ++++++++++++++++++++++
 .../{qfits-6.2.0.ebuild => qfits-6.2.0-r1.ebuild}  | 22 +++++++++----
 3 files changed, 84 insertions(+), 6 deletions(-)