Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898542 - sys-apps/cinit-0.2.1 fails to compile (MUSL-CLANG-SYSTEM): connect_sock.c:28:4: 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-func
Summary: sys-apps/cinit-0.2.1 fails to compile (MUSL-CLANG-SYSTEM): connect_sock.c:28:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 0.2.1-r1
Keywords: PullRequest
: 715954 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-01 08:07 UTC by Agostino Sarubbo
Modified: 2024-10-30 21:15 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.80 KB, text/plain)
2023-03-01 08:07 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-03-01 08:07:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/cinit-0.2.1 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-03-01 08:07:44 UTC
Created attachment 855350 [details]
build.log

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

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

commit ed4d598b5ebe5eabaa7e07f3be76bd12b8c3a4d7
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-13 14:58:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-06-18 12:16:39 +0000

    sys-apps/cinit: Fix call to undeclared library function
    
    And another build error on musl
    
    Closes: https://bugs.gentoo.org/898542
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31417
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sys-apps/cinit/cinit-0.2.1-r1.ebuild               | 42 +++++++++++++++++++++
 .../files/cinit-0.2.1-musl-clang16-build-fix.patch | 43 ++++++++++++++++++++++
 2 files changed, 85 insertions(+)
Comment 3 Petr Vaněk gentoo-dev 2024-09-17 16:01:25 UTC
*** Bug 715954 has been marked as a duplicate of this bug. ***