Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 900495

Summary: app-misc/libdatovka-0.2.1 fails to compile (MUSL-CLANG-SYSTEM): server_cli.c:91:28: error: call to undeclared function getopt; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31402
https://gitlab.nic.cz/datovka/libdatovka/-/issues/23
https://github.com/gentoo/gentoo/pull/32782
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-09 08:22:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/libdatovka-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-09 08:22:41 UTC
Created attachment 856905 [details]
build.log

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

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

commit 8aeae769df213e72f4e0e3fa72cb42e2dcd04d1d
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-14 18:28:22 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-09-14 18:30:05 +0000

    app-misc/libdatovka: add 0.4.0
    
    and EAPI 7 -> 8
    
    Closes: https://github.com/gentoo/gentoo/pull/31402
    Closes: https://bugs.gentoo.org/900495
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32782
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-misc/libdatovka/Manifest                |  1 +
 app-misc/libdatovka/libdatovka-0.4.0.ebuild | 55 +++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)