Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894192 - app-admin/conky-1.19.8 fails to compile (MUSL-CLANG-SYSTEM): libtcp-portmon.cc:30:10: fatal error: cstdio file not found
Summary: app-admin/conky-1.19.8 fails to compile (MUSL-CLANG-SYSTEM): libtcp-portmon.c...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-13 15:13 UTC by Agostino Sarubbo
Modified: 2024-03-15 07:57 UTC (History)
0 users

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


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

Issue: app-admin/conky-1.17.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-13 15:13:27 UTC
Created attachment 850700 [details]
build.log

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


FAILED: src/CMakeFiles/conky.dir/c++wrap.cc.o 
FAILED: src/CMakeFiles/conky.dir/colours.cc.o 
FAILED: src/CMakeFiles/conky.dir/combine.cc.o 
FAILED: src/CMakeFiles/conky.dir/common.cc.o 
FAILED: src/CMakeFiles/conky.dir/conky.cc.o 
FAILED: src/CMakeFiles/conky.dir/core.cc.o 
FAILED: src/CMakeFiles/conky.dir/cpu.cc.o 
FAILED: src/CMakeFiles/conky.dir/main.cc.o 
FAILED: src/CMakeFiles/tcp-portmon.dir/libtcp-portmon.cc.o 
/var/tmp/portage/app-admin/conky-1.17.0/work/conky-1.17.0/src/libtcp-portmon.cc:30:10: fatal error: 'cstdio' file not found
Comment 3 Daniel Pielmeier gentoo-dev 2023-10-07 13:00:43 UTC
I don't have a musl system but I guess this is more related to clang. I can not reproduce this issue when compiling conky with clang.


For clang cstdio is shipped by libc++ (sys-libs/libcxx). I can provoke this error here by temporary renaming the include file.

In your log I see -stdlib=libc++ is set properly as COMPILE_OPTION by the build system. Still fails to find the includes.

Could this be caused by the tinderbox setup.
Comment 4 Agostino Sarubbo gentoo-dev 2024-01-30 11:23:11 UTC
python-3.12_tinderbox has reproduced this issue with version 1.19.6-r2 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2024-03-15 07:57:33 UTC
clang-lld_tinderbox has reproduced this issue with version 1.19.8 - Updating summary.