Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894522 - app-laptop/mbpfan-2.2.1-r1 fails to compile (MUSL-CLANG-SYSTEM): util.c:13:9: error: call to undeclared function vsyslog; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: app-laptop/mbpfan-2.2.1-r1 fails to compile (MUSL-CLANG-SYSTEM): util.c:13:9:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-15 07:58 UTC by Agostino Sarubbo
Modified: 2023-08-19 12:51 UTC (History)
0 users

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


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

Issue: app-laptop/mbpfan-2.2.1-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 07:58:23 UTC
Created attachment 851198 [details]
build.log

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

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

commit b3e8f62a30787aac0e52615f3a40f361eb3f64fa
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-08-03 10:13:12 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-08-19 12:51:08 +0000

    app-laptop/mbpfan: Fix call to undeclared function vsyslog
    
    Upstream PR: https://github.com/linux-on-mac/mbpfan/pull/261
    
    Closes: https://bugs.gentoo.org/894522
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32154
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/mbpfan-2.3.0-clang16-build-fix.patch     | 12 +++++
 app-laptop/mbpfan/mbpfan-2.3.0-r1.ebuild           | 51 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)