Bug#912600: glibc-source: spin-lock.h not found when building
Package: glibc-source
Version: 2.24-11+deb9u3
Severity: serious
Justification: fails to build from source (but built successfully in the past)
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
glibc-source depends on no packages.
Versions of packages glibc-source recommends:
ii xz-utils 5.2.2-1.2+b1
glibc-source suggests no packages.
-- no debconf information
I've followed the instructions in the INSTALL file, at the step when I run make in the build directory, I got this problem:
In file included from libpthread/include/pthread/pthreadtypes.h:95:0,
from libpthread/sysdeps/pthread/bits/pthreadtypes.h:27,
from ./posix/sys/types.h:270,
from include/sys/types.h:1,
from misc/sys/uio.h:23,
from <stdin>:3:
libpthread/sysdeps/pthread/bits/condition.h:23:28: fatal error: bits/spin-lock.h: No such file or directory
#include <bits/spin-lock.h>
Reply to: