Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898106 - sci-astronomy/pal-0.9.8 fails to compile (MUSL-CLANG-SYSTEM): palDfltin.c:185:3: error: call to undeclared library function strlcpy with type unsigned long (char , const char , unsigned long); ISO C99 and later do not support implicit function declaratio
Summary: sci-astronomy/pal-0.9.8 fails to compile (MUSL-CLANG-SYSTEM): palDfltin.c:185...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-27 10:05 UTC by Agostino Sarubbo
Modified: 2023-11-27 09:27 UTC (History)
0 users

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


Attachments
build.log (build.log,58.82 KB, text/plain)
2023-02-27 10:05 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-02-27 10:05:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-astronomy/pal-0.9.8 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-27 10:05:25 UTC
Created attachment 854964 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-11-27 09:27:48 UTC
The bug has been closed via the following commit(s):

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

commit 6af47f1b26b6dc37a9e9f366f97887190c22bc78
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-10-30 15:39:33 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-11-27 09:27:34 +0000

    sci-astronomy/pal: Fix call to undeclared library function strlcpy
    
    Closes: https://bugs.gentoo.org/898106
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31558
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../pal/files/pal-0.9.8-fix-strlcpy-musl.patch     | 14 ++++++++
 sci-astronomy/pal/pal-0.9.8-r1.ebuild              | 38 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)