Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886455 - sci-libs/libnova-0.16.0:: parallax.c:67:2: error: call to undeclared function ln_get_earth_centre_dist; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Summary: sci-libs/libnova-0.16.0:: parallax.c:67:2: error: call to undeclared function...
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: fixed in 0.16.0
Keywords:
Depends on:
Blocks: c99-porting gcc-14 935416
  Show dependency tree
 
Reported: 2022-12-17 08:31 UTC by Agostino Sarubbo
Modified: 2024-10-29 18:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,102.34 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:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/libnova-0.16.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:31:11 UTC
Created attachment 843181 [details]
build.log

build log and emerge --info
Comment 2 jannis 2024-06-24 04:56:00 UTC
Also happens with gcc-14
Comment 3 Andreas Sturmlechner gentoo-dev 2024-08-06 19:36:55 UTC
Affects us via sci-astronomy/kstars and sci-libs/indilib.
Comment 4 Larry the Git Cow gentoo-dev 2024-08-06 20:09:55 UTC
The bug has been closed via the following commit(s):

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

commit b7ea809f76f0505df21958345793aa13495533f3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-08-06 19:53:11 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-08-06 20:09:38 +0000

    sci-libs/libnova: update EAPI 7 -> 8, fix build w/ GCC-14
    
    Closes: https://bugs.gentoo.org/886455
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-libs/libnova/files/libnova-0.16.0-cflags.patch | 23 +++++++++++++++++++++
 sci-libs/libnova/files/libnova-0.16.0-gcc14.patch  | 24 ++++++++++++++++++++++
 sci-libs/libnova/libnova-0.16.0.ebuild             | 12 +++++------
 3 files changed, 53 insertions(+), 6 deletions(-)