Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 897954 - net-misc/utelnetd-0.1.11-r3 fails to compile (MUSL-CLANG-SYSTEM): utelnetd.c:226:13: error: call to undeclared function getpt; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: net-misc/utelnetd-0.1.11-r3 fails to compile (MUSL-CLANG-SYSTEM): utelnetd.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 18:20 UTC by Agostino Sarubbo
Modified: 2023-07-16 08:03 UTC (History)
0 users

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


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

Issue: net-misc/utelnetd-0.1.11-r3 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 18:20:43 UTC
Created attachment 854856 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-07-16 08:03:51 UTC
The bug has been closed via the following commit(s):

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

commit 6f6d959362debaa25cb7b0247d33acc822d7a0f7
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-26 10:33:16 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-07-16 08:03:28 +0000

    net-misc/utelnetd: Fix call to undeclared function getpt
    
    Closes: https://bugs.gentoo.org/897954
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31613
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/utelnetd-0.1.11-musl-getgt.patch         | 14 ++++++++
 net-misc/utelnetd/utelnetd-0.1.11-r4.ebuild        | 38 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)