Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895050 - dev-libs/libspt-1.1-r4 fails to compile (MUSL-CLANG-SYSTEM): sptagent.c:1035:5: error: call to undeclared function gettimeofday; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: dev-libs/libspt-1.1-r4 fails to compile (MUSL-CLANG-SYSTEM): sptagent.c:1035:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
: 920642 (view as bug list)
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-02-17 08:16 UTC by Agostino Sarubbo
Modified: 2024-11-07 20:15 UTC (History)
0 users

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


Attachments
build.log (build.log,55.80 KB, text/plain)
2023-02-17 08:16 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-17 08:16:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libspt-1.1-r4 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-17 08:16:34 UTC
Created attachment 851964 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-05 08:16:44 UTC
*** Bug 920642 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2024-11-07 20:15:45 UTC
The bug has been closed via the following commit(s):

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

commit 45316ada568cb0962417ba4b68727d35ee0d049d
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-07 20:14:41 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-07 20:15:24 +0000

    dev-libs/libspt: fix compilation with musl
    
    Closes: https://bugs.gentoo.org/895050
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-libs/libspt/files/libspt-gettimeofday.patch | 14 ++++++++++++++
 dev-libs/libspt/libspt-1.1-r4.ebuild            |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)