Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897858 - net-dialup/rp-l2tp-0.4-r4 fails to compile (MUSL-CLANG-SYSTEM): cmd-control.c:53:5: error: call to undeclared library function memset with type void (void , int, unsigned long); ISO C99 and later do not support implicit function declarations [-Wimplicit-
Summary: net-dialup/rp-l2tp-0.4-r4 fails to compile (MUSL-CLANG-SYSTEM): cmd-control.c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-26 08:21 UTC by Agostino Sarubbo
Modified: 2023-12-11 13:30 UTC (History)
0 users

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


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

Issue: net-dialup/rp-l2tp-0.4-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-26 08:21:57 UTC
Created attachment 854760 [details]
build.log

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

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

commit 5583406b1cc81b4d7e657a1deb704b59730e40e5
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-19 13:57:04 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-12-11 13:30:27 +0000

    net-dialup/rp-l2tp: Fix call to undeclared library function memset
    
    Closes: https://bugs.gentoo.org/897858
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32926
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/rp-l2tp-0.4-clang16-build-fix.patch      | 11 ++++++
 net-dialup/rp-l2tp/rp-l2tp-0.4-r5.ebuild           | 43 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)