Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894544 - app-misc/detachtty-11.0.0 fails to compile (MUSL-CLANG-SYSTEM): detachtty.c:196:59: error: call to undeclared library function strerror with type char (int); ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration
Summary: app-misc/detachtty-11.0.0 fails to compile (MUSL-CLANG-SYSTEM): detachtty.c:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-15 09:41 UTC by Agostino Sarubbo
Modified: 2023-08-08 05:45 UTC (History)
1 user (show)

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


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

Issue: app-misc/detachtty-11.0.0 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-15 09:41:53 UTC
Created attachment 851206 [details]
build.log

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

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

commit 639d4a4dc311f12ab961e1d048f2e3e86ffc8413
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-08-08 05:40:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-08 05:43:13 +0000

    app-misc/detachtty: Fix call to undeclared library function strerror
    
    And EAPI update from 7 to 8
    
    Closes: https://bugs.gentoo.org/894544
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32159
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/detachtty/detachtty-11.0.0-r1.ebuild      | 30 +++++++++++++++
 .../files/detachtty-11.0.0-clang16-build-fix.patch | 43 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)