Steps to reproduce the issue
$ spack spec -I gettext
Input spec
--------------------------------
- gettext
Concretized
--------------------------------
- gettext@0.22.5%gcc@14.1.1+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-fedora40-zen2
[+] ^bzip2@1.0.8%gcc@14.1.1~debug~pic+shared build_system=generic arch=linux-fedora40-zen2
[+] ^diffutils@3.10%gcc@14.1.1 build_system=autotools arch=linux-fedora40-zen2
[+] ^gcc-runtime@14.1.1%gcc@14.1.1 build_system=generic arch=linux-fedora40-zen2
[e] ^glibc@2.39%gcc@14.1.1 build_system=autotools arch=linux-fedora40-zen2
[+] ^gmake@4.4.1%gcc@14.1.1~guile build_system=generic arch=linux-fedora40-zen2
[+] ^libxml2@2.10.3%gcc@14.1.1+pic~python+shared build_system=autotools arch=linux-fedora40-zen2
[+] ^pkgconf@2.2.0%gcc@14.1.1 build_system=autotools arch=linux-fedora40-zen2
[+] ^zlib-ng@2.1.6%gcc@14.1.1+compat+new_strategies+opt+pic+shared build_system=autotools arch=linux-fedora40-zen2
[+] ^ncurses@6.5%gcc@14.1.1~symlinks+termlib abi=none build_system=autotools patches=7a351bc arch=linux-fedora40-zen2
[+] ^tar@1.34%gcc@14.1.1 build_system=autotools zip=pigz arch=linux-fedora40-zen2
[+] ^pigz@2.8%gcc@14.1.1 build_system=makefile arch=linux-fedora40-zen2
[+] ^zstd@1.5.6%gcc@14.1.1+programs build_system=makefile compression=none libs=shared,static arch=linux-fedora40-zen2
[+] ^xz@5.4.6%gcc@14.1.1~pic build_system=autotools libs=shared,static arch=linux-fedora40-zen2
Error message
Error message
==> Installing gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk [14/14]
==> No binary for gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk found: installing from source
==> Fetching https://ftpmirror.gnu.org/gettext/gettext-0.22.5.tar.xz
==> Ran patch() for gettext
==> gettext: Executing phase: 'autoreconf'
==> gettext: Executing phase: 'configure'
==> gettext: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
'make' '-j16' 'V=1'
6 errors found in build log:
7548 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an
alyzer -c get_progname_of.c
7549 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an
alyzer -c getprogname.c
7550 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an
alyzer -c html-ostream.c
7551 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an
alyzer -c html-styled-ostream.c
7552 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an
alyzer -c ialloc.c
7553 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an
alyzer -c iconv-ostream.c
>> 7554 iconv-ostream.c:311:3: error: initialization of 'void (*)(struct any_ostream_representation *, ostream_flush_scope_t)' from incompatible pointer type 'void (*)(str
uct any_ostream_representation *)' [-Wincompatible-pointer-types]
7555 311 | iconv_ostream__flush,
7556 | ^~~~~~~~~~~~~~~~~~~~
7557 iconv-ostream.c:311:3: note: (near initialization for 'iconv_ostream_vtable.flush')
>> 7558 make[4]: *** [Makefile:6192: config.h] Error 1
7559 make[4]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src/libtextstyle/lib'
>> 7560 make[3]: *** [Makefile:1999: all-recursive] Error 1
7561 make[3]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src/libtextstyle'
>> 7562 make[2]: *** [Makefile:1927: all] Error 2
7563 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src/libtextstyle'
>> 7564 make[1]: *** [Makefile:408: all-recursive] Error 1
7565 make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src'
>> 7566 make: *** [Makefile:364: all] Error 2
See build log for details:
/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-build-out.txt
Information on your system
- Spack: 0.23.0.dev0 (bda1d94)
- Python: 3.12.3
- Platform: linux-fedora40-zen2
- Concretizer: clingo
Additional information
CC maintainers: @michaelkuhn
General information
Steps to reproduce the issue
Error message
Error message
==> Installing gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk [14/14] ==> No binary for gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk found: installing from source ==> Fetching https://ftpmirror.gnu.org/gettext/gettext-0.22.5.tar.xz ==> Ran patch() for gettext ==> gettext: Executing phase: 'autoreconf' ==> gettext: Executing phase: 'configure' ==> gettext: Executing phase: 'build' ==> Error: ProcessError: Command exited with status 2: 'make' '-j16' 'V=1' 6 errors found in build log: 7548 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an alyzer -c get_progname_of.c 7549 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an alyzer -c getprogname.c 7550 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an alyzer -c html-ostream.c 7551 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an alyzer -c html-styled-ostream.c 7552 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an alyzer -c ialloc.c 7553 /opt/spack/lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -Iglib -DIN_LIBTEXTSTYLE -I./libcroco -DDEPENDS_ON_LIBICONV=1 -g -O2 -w -fno-an alyzer -c iconv-ostream.c >> 7554 iconv-ostream.c:311:3: error: initialization of 'void (*)(struct any_ostream_representation *, ostream_flush_scope_t)' from incompatible pointer type 'void (*)(str uct any_ostream_representation *)' [-Wincompatible-pointer-types] 7555 311 | iconv_ostream__flush, 7556 | ^~~~~~~~~~~~~~~~~~~~ 7557 iconv-ostream.c:311:3: note: (near initialization for 'iconv_ostream_vtable.flush') >> 7558 make[4]: *** [Makefile:6192: config.h] Error 1 7559 make[4]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src/libtextstyle/lib' >> 7560 make[3]: *** [Makefile:1999: all-recursive] Error 1 7561 make[3]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src/libtextstyle' >> 7562 make[2]: *** [Makefile:1927: all] Error 2 7563 make[2]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src/libtextstyle' >> 7564 make[1]: *** [Makefile:408: all-recursive] Error 1 7565 make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-src' >> 7566 make: *** [Makefile:364: all] Error 2 See build log for details: /tmp/root/spack-stage/spack-stage-gettext-0.22.5-2iorhlloiyodk4fmkrg7ywvendw5gbvk/spack-build-out.txtInformation on your system
Additional information
CC maintainers: @michaelkuhn
General information
spack debug reportand reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>and @mentioned any maintainers