In file included from /var/tmp/portage/sci-libs/indilib-1.8.3/work/indi-1.8.3/libs/webcam/v4l2_base.h:35, from /var/tmp/portage/sci-libs/indilib-1.8.3/work/indi-1.8.3/libs/webcam/v4l2_base.cpp:23: /var/tmp/portage/sci-libs/indilib-1.8.3/work/indi-1.8.3/libs/stream/streammanager.h:199:35: error: mode_t has not been declared 199 | int mkpath(std::string s, mode_t mode); | ^~~~~~ ninja: build stopped: subcommand failed. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.41.1 * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 14 Mar 2020 12:39:55 +0000 emerge -qpvO sci-libs/indilib [ebuild N ] sci-libs/indilib-1.8.3 USE="-ogg -test -websocket"
Created attachment 618976 [details] emerge-info.txt
Created attachment 618978 [details] emerge-history.txt
Created attachment 618980 [details] environment
Created attachment 618982 [details] etc.portage.tbz2
Created attachment 618984 [details] logs.tbz2
Created attachment 618986 [details] sci-libs:indilib-1.8.3:20200314-145617.log
Created attachment 618988 [details] temp.tbz2
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
I guess there is a musl tracker bug report that this one should block?
Looks like a case similar to first part of eg. https://www.spinics.net/lists/linux-bluetooth/msg43071.html so I suspect you need to #include <sys/stat.h> in the appropriate place(s).
Please test 1.8.8.