x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include -I/include/zlib -I/include -I/usr/include/openssl -I/usr/include -I/include/zlib -I/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -W -Wall -Wunused-value -DOPENSSL_NO_KRB5 -O2 -pipe -march=native -c -o handler.o handler.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include -I/include/zlib -I/include -I/usr/include/openssl -I/usr/include -I/include/zlib -I/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -W -Wall -Wunused-value -DOPENSSL_NO_KRB5 -O2 -pipe -march=native -c -o hash.o hash.c hash.c:57:9: error: unknown type name u_int32_t 57 | private u_int32_t fnv_32_buf(void *buf, size_t len, u_int32_t hval); | ^~~~~~~~~ hash.c:57:56: error: unknown type name u_int32_t ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200425-233309 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 (uninstalled) [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Apr 26 15:53:38 UTC 2020 /var/db/repos/musl Sat Apr 25 04:44:36 UTC 2020 emerge -qpvO app-benchmarks/siege [ebuild N ] app-benchmarks/siege-4.0.5 USE="ssl -libressl"
Created attachment 634732 [details] emerge-info.txt
Created attachment 634734 [details] app-benchmarks:siege-4.0.5:20200426-180742.log
Created attachment 634736 [details] emerge-history.txt
Created attachment 634738 [details] environment
Created attachment 634740 [details] etc.portage.tbz2
Created attachment 634742 [details] logs.tbz2
Created attachment 634744 [details] temp.tbz2
Upstream should consider using portable POSIX-compatible integer types as defined in https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html .
Just tested on a chrooted musl build and I'm able to build it without change u_int32_t. Musl also checks for u_int32_t and accept it as valid. ... checking for u_int32_t... yes ...
Created attachment 704997 [details] emerge --info
Created attachment 705000 [details] build.log
Fixed in 4.0.8: https://github.com/JoeDog/siege/commit/53329443a90646503ddbac1e12f40143d445b414