Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894348 - sys-fs/lxcfs-5.0.3 fails to compile (MUSL-CLANG-SYSTEM): proc_loadavg.c:606:10: error: incompatible integer to pointer conversion returning int from a function with result type pthread_t (aka struct __pthread ) [-Wint-conversion]
Summary: sys-fs/lxcfs-5.0.3 fails to compile (MUSL-CLANG-SYSTEM): proc_loadavg.c:606:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-14 08:53 UTC by Agostino Sarubbo
Modified: 2023-09-05 07:31 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,71.01 KB, text/plain)
2023-02-14 08:53 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-14 08:53:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/lxcfs-5.0.3 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-14 08:53:38 UTC
Created attachment 851062 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: liblxcfs.so.p/src_proc_loadavg.c.o 
../lxcfs-5.0.3/src/proc_loadavg.c:606:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'pthread_t' (aka 'struct __pthread *') [-Wint-conversion]
Comment 3 Larry the Git Cow gentoo-dev 2023-09-05 07:31:12 UTC
The bug has been closed via the following commit(s):

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

commit cd73ce1d3249c9259abfc8a8b9a74e29a8b3cfa7
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-05 04:21:04 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-09-05 07:30:34 +0000

    sys-fs/lxcfs: Fix incompatible integer to pointer conversion
    
    Closes: https://bugs.gentoo.org/894348
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32616
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...5.0.4-fix-incompatible-pointer-conversion.patch | 19 +++++
 sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild                 | 84 ++++++++++++++++++++++
 2 files changed, 103 insertions(+)