libxcrypt: requires explicit linux-headers
==> Installing libxcrypt-4.4.35-ql5vgzq332zdt5mq327ijhkimgf2hsuj [33/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/a8/a8c935505b55f1df0d17f8bfd59468c7c6709a1d31831b0f8e3e045ab8fd455d.tar.xz
==> Applied patch /opt/spack/var/spack/repos/builtin/packages/libxcrypt/commit-95d56e0.patch
==> libxcrypt: Executing phase: 'autoreconf'
==> libxcrypt: Executing phase: 'configure'
==> libxcrypt: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j4' 'V=1'
3 errors found in build log:
238 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-sha256.lo -MD -MP -MF lib/.deps/libcrypt_la-alg-
sha256.Tpo -c lib/alg-sha256.c -o lib/libcrypt_la-alg-sha256.o >/dev/null 2>&1
239 mv -f lib/.deps/libcrypt_la-alg-sha1.Tpo lib/.deps/libcrypt_la-alg-sha1.Plo
240 /bin/sh ./libtool --tag=CC --mode=compile /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.
-I./lib -DIN_LIBCRYPT -Wall -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wc
ast-qual -Wconversion -Wformat=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -W
logical-op -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-
style-definition -Wpointer-arith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wun
def -Wvla -Wwrite-strings -Wpedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-yescrypt-opt.lo -MD
-MP -MF lib/.deps/libcrypt_la-alg-yescrypt-opt.Tpo -c -o lib/libcrypt_la-alg-yescrypt-opt.lo `tes
t -f 'lib/alg-yescrypt-opt.c' || echo './'`lib/alg-yescrypt-opt.c
241 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-sha512.lo -MD -MP -MF lib/.deps/libcrypt_la-alg-
sha512.Tpo -c lib/alg-sha512.c -o lib/libcrypt_la-alg-sha512.o >/dev/null 2>&1
242 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-yescrypt-opt.lo -MD -MP -MF lib/.deps/libcrypt_l
a-alg-yescrypt-opt.Tpo -c lib/alg-yescrypt-opt.c -fPIC -DPIC -o lib/.libs/libcrypt_la-alg-yescry
pt-opt.o
243 In file included from lib/alg-yescrypt-opt.c:101:
>> 244 lib/alg-yescrypt-platform.c:25:10: fatal error: linux/mman.h: No such file or directory
245 #include <linux/mman.h> /* for MAP_HUGE_2MB */
246 ^~~~~~~~~~~~~~
247 compilation terminated.
>> 248 make[1]: *** [Makefile:2011: lib/libcrypt_la-alg-yescrypt-opt.lo] Error 1
249 make[1]: *** Waiting for unfinished jobs....
250 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I./lib -DIN_LIBCRYPT -Wa
ll -Wextra -Walloc-zero -Walloca -Wbad-function-cast -Wcast-align -Wcast-qual -Wconversion -Wform
at=2 -Wformat-overflow=2 -Wformat-signedness -Wformat-truncation=1 -Wlogical-op -Wmissing-declara
tions -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpointer-a
rith -Wrestrict -Wshadow -Wstrict-overflow=2 -Wstrict-prototypes -Wundef -Wvla -Wwrite-strings -W
pedantic -fno-plt -g -O2 -MT lib/libcrypt_la-alg-yescrypt-common.lo -MD -MP -MF lib/.deps/libcryp
t_la-alg-yescrypt-common.Tpo -c lib/alg-yescrypt-common.c -o lib/libcrypt_la-alg-yescrypt-common.
o >/dev/null 2>&1
251 mv -f lib/.deps/libcrypt_la-alg-sha512.Tpo lib/.deps/libcrypt_la-alg-sha512.Plo
252 mv -f lib/.deps/libcrypt_la-alg-sha256.Tpo lib/.deps/libcrypt_la-alg-sha256.Plo
253 mv -f lib/.deps/libcrypt_la-alg-yescrypt-common.Tpo lib/.deps/libcrypt_la-alg-yescrypt-common.Plo
254 make[1]: Leaving directory '/tmp/user/spack-stage/spack-stage-libxcrypt-4.4.35-ql5vgzq332zdt5mq32
7ijhkimgf2hsuj/spack-src'
>> 255 make: *** [Makefile:1349: all] Error 2
See build log for details:
/tmp/user/spack-stage/spack-stage-libxcrypt-4.4.35-ql5vgzq332zdt5mq327ijhkimgf2hsuj/spack-build-out.txt