$ git clone -n https://gitee.com/Weisson/device-mapper-multipath.git /var/lib/mock/dist-an8.8-build-317001-67598/root/chroot_tmpdir/scmroot/device-mapper-multipath Cloning into '/var/lib/mock/dist-an8.8-build-317001-67598/root/chroot_tmpdir/scmroot/device-mapper-multipath'... $ git reset --hard e141a2963999a6ad8aee03622f53b3c549f7dbb2 HEAD is now at e141a29 Starting in glibc-2.34 (commit 5d98a7da), PTHREAD_STACK_MIN is defined as sysconf(_SC_THREAD_STACK_MIN) if _GNU_SOURCE is defined. sysconf() returns a long and can, at least in theory, return -1. This change causes compilation to fail in setup_thread_attr() due to a comparision with different signedness, since stacksize is a size_t.