x86_64-gentoo-linux-musl-gcc -I. -I/usr/include/ruby-2.4.0/x86_64-linux-musl -I/usr/include/ruby-2.4.0/ruby/backward -I/usr/include/ruby-2.4.0 -I. -I../../include -I../../src/os/linux -U_FILE_OFFSET_BITS -DRB_HAS_RE_ERROR -DRB_RUBY_19 -fPIC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fno-strict-aliasing -fPIC -std=gnu89 -I/usr/include/tirpc -o linux_sigar.o -c linux_sigar.c linux_sigar.c: In function sigar_disk_usage_get: linux_sigar.c:1468:36: error: HZ undeclared (first use in this function) 1468 | tput = ((double)ios) * HZ / interval; | ^~ linux_sigar.c:1468:36: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- gcc-config -l: [1] 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 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Mar 21 10:38:37 UTC 2020 /var/db/repos/musl Sat Mar 21 03:09:12 UTC 2020 emerge -qpvO dev-ruby/sigar [ebuild N ] dev-ruby/sigar-0.7.3 USE="-test" RUBY_TARGETS="ruby24 ruby25 -ruby26 -ruby27"
Created attachment 623814 [details] emerge-info.txt
Created attachment 623816 [details] dev-ruby:sigar-0.7.3:20200321-111915.log
Created attachment 623818 [details] emerge-history.txt
Created attachment 623820 [details] environment
Created attachment 623822 [details] etc.portage.tbz2
https://git.alpinelinux.org/aports/tree/community/sigar/0001-fix-compilation-with-musl-libc.patch
tinderbox_musl has reproduced this issue with version 0.7.3-r1 - Updating summary.