New comment by st3r4g on void-packages repository https://github.com/void-linux/void-packages/pull/16392#issuecomment-552808381 Comment: Some warnings due to `musl.patch`: ``` [53/898] Compiling C object 'lib/76b5a35@@igt-igt_aux_c@sta/igt_aux.c.o'. ../lib/igt_aux.c: In function 'igt_sigiter_start': ../lib/igt_aux.c:187:30: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from 'pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion] 187 | sev.sigev_notify_thread_id = __igt_sigiter.tid; | ^ ../lib/igt_aux.c: In function 'igt_start_siglatency': ../lib/igt_aux.c:1615:29: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from '__pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion] 1615 | sev.sigev_notify_thread_id = gettid(); | ^ ^ [182/898] Compiling C object 'tests/59830eb@@gem_close_race@exe/i915_gem_close_race.c.o'. ../tests/i915/gem_close_race.c:54: warning: "sigev_notify_thread_id" redefined 54 | #define sigev_notify_thread_id _sigev_un._tid | In file included from ../lib/igt.h:30, from ../tests/i915/gem_close_race.c:28: ../lib/igt_aux.h:49: note: this is the location of the previous definition 49 | #define sigev_notify_thread_id sigev_notify_function | [434/898] Compiling C object 'benchmarks/cb1d2fd@@gem_syslatency@exe/gem_syslatency.c.o'. ../benchmarks/gem_syslatency.c: In function 'sys_wait': ../benchmarks/gem_syslatency.c:180:29: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from '__pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion] 180 | sev.sigev_notify_thread_id = gettid(); | ^ ``` There's still the problem that the build sometimes hangs, tried adding `disable_parallel_build=yes` but no success. I could reach the end when manually chrooting though.