Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895046 - dev-libs/libmba-0.9.1-r4 fails to compile (MUSL-CLANG-SYSTEM): daemon.c:76:12: error: call to undeclared function getdtablesize; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: dev-libs/libmba-0.9.1-r4 fails to compile (MUSL-CLANG-SYSTEM): daemon.c:76:12...
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.9.1-r5
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-17 08:16 UTC by Agostino Sarubbo
Modified: 2024-10-29 20:27 UTC (History)
0 users

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


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

Issue: dev-libs/libmba-0.9.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:26 UTC
Created attachment 851960 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-17 08:16:28 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


clang-16: error: no such file or directory: 'src/daemon.pic.o'
line 337: No such file or directory: libmba.so.0.9.1
src/daemon.c:76:12: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2023-12-30 17:43:51 UTC
The bug has been closed via the following commit(s):

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

commit 87f1773f5a8f9b963093a52183e642fb50615dac
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-10-31 17:50:55 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2023-12-30 17:42:22 +0000

    dev-libs/libmba: Fix call to undeclared function getdtablesize
    
    and update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/895046
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33611
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../files/libmba-0.9.1-clang16-build-fix.patch     | 11 +++++
 dev-libs/libmba/libmba-0.9.1-r5.ebuild             | 47 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)