libbsd: requires explicit linux-headers
==> Installing libbsd-0.11.7-clbahtdt2ul677ecme5hdmah5gvybzn3 [23/37]
==> Using cached archive: /home/user/.spack/cache/_source-cache/archive/9b/9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261.tar.xz
==> No patches needed for libbsd
==> libbsd: Executing phase: 'autoreconf'
==> libbsd: Executing phase: 'configure'
==> libbsd: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j4' 'V=1'
4 errors found in build log:
490 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT wcslcpy.l
o -MD -MP -MF .deps/wcslcpy.Tpo -c wcslcpy.c -fPIC -DPIC -o .libs/wcslcpy.o
491 cc1: warning: command line option '-Wregister' is valid for C++/ObjC++ but not for C
492 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT getentrop
y.lo -MD -MP -MF .deps/getentropy.Tpo -c getentropy.c -fPIC -DPIC -o .libs/getentropy.o
493 cc1: warning: command line option '-Wregister' is valid for C++/ObjC++ but not for C
494 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT wcslcpy.l
o -MD -MP -MF .deps/wcslcpy.Tpo -c wcslcpy.c -o wcslcpy.o >/dev/null 2>&1
495 In file included from getentropy.c:28:
>> 496 getentropy_linux.c:53:10: fatal error: linux/types.h: No such file or directory
497 #include <linux/types.h>
498 ^~~~~~~~~~~~~~~
499 compilation terminated.
>> 500 make[2]: *** [Makefile:658: getentropy.lo] Error 1
501 make[2]: *** Waiting for unfinished jobs....
502 libtool: compile: /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I.. -isystem ../include/bsd/
-include ../config.h -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED -D__REENTRANT -g -O2 -Wall -We
xtra -Wbad-function-cast -Wc99-c11-compat -Wcast-align -Wdeclaration-after-statement -Wduplicated
-branches -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self -Wlogical-not-paren
theses -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wnest
ed-externs -Wno-missing-field-initializers -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dere
ference -Wold-style-definition -Wpointer-arith -Wregister -Wrestrict -Wshadow -Wshift-negative-va
lue -Wsizeof-array-argument -Wstrict-prototypes -Wswitch-bool -Wvla -Wwrite-strings -MT vis.lo -M
D -MP -MF .deps/vis.Tpo -c vis.c -o vis.o >/dev/null 2>&1
503 make[2]: Leaving directory '/tmp/user/spack-stage/spack-stage-libbsd-0.11.7-clbahtdt2ul677ecme5hd
mah5gvybzn3/spack-src/src'
>> 504 make[1]: *** [Makefile:413: all-recursive] Error 1
505 make[1]: Leaving directory '/tmp/user/spack-stage/spack-stage-libbsd-0.11.7-clbahtdt2ul677ecme5hd
mah5gvybzn3/spack-src'
>> 506 make: *** [Makefile:345: all] Error 2
See build log for details:
/tmp/user/spack-stage/spack-stage-libbsd-0.11.7-clbahtdt2ul677ecme5hdmah5gvybzn3/spack-build-out.txt