Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894562 - app-misc/screen-4.9.0-r1 fails to compile (MUSL-CLANG-SYSTEM): display.c:4034:13: error: call to undeclared function chmod; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: app-misc/screen-4.9.0-r1 fails to compile (MUSL-CLANG-SYSTEM): display.c:4034...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-15 09:43 UTC by Agostino Sarubbo
Modified: 2023-08-08 05:45 UTC (History)
2 users (show)

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


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

Issue: app-misc/screen-4.9.0-r1 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:43:48 UTC
Created attachment 851224 [details]
build.log

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

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

commit 0e9f132e4ae77a13b49113722c90fd2fb68a9183
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-08-08 05:42:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-08 05:44:04 +0000

    app-misc/screen: Fix call to undeclared function chmod
    
    Closes: https://bugs.gentoo.org/894562
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32184
    Signed-off-by: Sam James <sam@gentoo.org>

 .../screen/files/screen-4.9.0-clang16-chmod.patch  |  12 ++
 app-misc/screen/screen-4.9.0-r3.ebuild             | 148 +++++++++++++++++++++
 2 files changed, 160 insertions(+)