Skip to content

Installation issue: [email protected] with system [email protected] (ubuntu 24.04) #2830

@skwde

Description

@skwde

Steps to reproduce the issue

$ spack -e compiler spec -l [email protected]+binutils
 -   t45r7s3  [email protected]+binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' patches:=1ee899a,4661e64,51aebe8,a9762dc,d4919d6 platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  zafx4rp      ^[email protected]~debuginfod+gas~gold~gprofng~headers~interwork+ld~libiberty~lto~nls~pgo+plugins build_system=autotools compress_debug_sections=zlib libs:=shared,static platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  3jrskcp          ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  hx6dpxu          ^[email protected]+compat+new_strategies+opt+pic+shared build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  2rhoia2          ^[email protected]+programs build_system=makefile compression:=none libs:=shared,static platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  e7yctbq      ^[email protected] build_system=generic platform=linux os=ubuntu24.04 target=x86_64_v4 
[+]  zzplg7x      ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  x3xsdxb          ^[email protected] build_system=autotools libs:=shared,static platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  qz6twzh      ^[email protected]~nls build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  klx4cqk          ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  4atrhzg          ^[email protected] build_system=autotools patches:=21f0a03 platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[e]  6wejs42      ^[email protected]~binutils+bootstrap~graphite~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++' platform=linux os=ubuntu24.04 target=x86_64 
[+]  zerenon      ^[email protected] build_system=generic platform=linux os=ubuntu24.04 target=x86_64_v4 
[e]  thy5vqo      ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64 
[+]  qivfefy      ^[email protected]~guile build_system=generic platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  jmzhwdy      ^[email protected]+cxx build_system=autotools libs:=shared,static platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  p2uewl7          ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 
[+]  nddxnmn          ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  d3k5kkq          ^[email protected]+sigsegv build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  axtnpv4      ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  sztrr2q          ^[email protected] build_system=autotools patches:=440b954 platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  wwipq5n      ^[email protected] build_system=autotools libs:=shared,static platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  655uphs      ^[email protected] build_system=autotools libs:=shared,static patches:=7a6dd71 platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  j6icibr      ^[email protected]+cpanm+opcode+open+shared+threads build_system=generic platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  2cvzsfk          ^[email protected]+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  qpsuaz4          ^[email protected]~debug~pic+shared build_system=generic platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  bvryaez          ^[email protected] build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  5zjb7ub      ^[email protected]~xs build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  icktzyi          ^[email protected]+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]
[+]  d4yvtjv              ^[email protected]~http+pic~python+shared build_system=autotools platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  fw6fmdu              ^[email protected] build_system=autotools zip=pigz platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  puze2lu                  ^[email protected] build_system=makefile platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  twdxgpw              ^[email protected]~pic build_system=autotools libs:=shared,static platform=linux os=ubuntu24.04 target=x86_64_v4 %[email protected]
[+]  ei2vba2          ^[email protected]~symlinks+termlib abi=none build_system=autotools patches:=7a351bc platform=linux os=ubuntu24.04 target=x86_64_v4 %c,[email protected]

Error message

Error message
==> Error: ProcessError: Command exited with status 2:
    '/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/gmake-4.4.1-qivfefyigbosnp7re57nlivbll2ufgk7/bin/make' '-j12' 'V=1'

5 errors found in build log:
     83177    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/recog.h: In member function '
              rtx_def* insn_gen_fn::operator()(rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx, rtx) const':
     83178    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/recog.h:317:170: warning: cas
              t between incompatible function types from 'insn_gen_fn::stored_funcptr' {aka 'rtx_def* (*)()'} to 'insn_gen_fn::f16' {aka 'rtx_def* (*)(rtx_d
              ef*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def
              *, rtx_def*)'} [-Wcast-function-type]
     83179      317 |   rtx operator () (rtx a0, rtx a1, rtx a2, rtx a3, rtx a4, rtx a5, rtx a6, rtx a7, rtx a8, rtx a9, rtx a10, rtx a11, rtx a12, rtx a13,
               rtx a14, rtx a15) const { return ((f16)func) (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15); }
     83180          |                                                                                                                                       
                                                 ^~~~~~~~~
     83181    /data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/compiler-wrapper-1.0-e7yctbqvme4oad2xnt5gynonq5omksj3/libexec/spack/gcc/g++ -c   -g -O
              1 -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing
              -format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. 
              -I. -I/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc -I/data/test-uss/2025/.
              cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/. -I/data/test-uss/2025/.cache/spack/stage/root/sp
              ack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../include -I/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.
              5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libcpp/include -I/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/gmp-6.3.0-jmzhw
              dywvzzml5bwoqouoadkb6kxvt7s/include -I/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/mpfr-3.1.6-655uphst6zrjff3fmenx2euxhmibdndz/incl
              ude -I/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/mpc-1.1.0-wwipq5noifcd4r6whqtgmjhz564ukz3c/include  -I/data/test-uss/2025/.cache
              /spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libdecnumber -I/data/test-uss/2025/.cache/spack/stag
              e/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libdecnumber/bid -I../libdecnumber -I/data/test-uss/2025/.cache
              /spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libbacktrace   -o rtl-error.o -MT rtl-error.o -MMD -
              MP -MF ./.deps/rtl-error.TPo /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/
              rtl-error.c
     83182    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/reload1.c: In function 'void 
              init_reload()':
  >> 83183    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/reload1.c:115:24: error: use 
              of an operand of type 'bool' in 'operator++' is forbidden in C++17
     83184      115 |   (this_target_reload->x_spill_indirect_levels)
     83185          |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
     83186    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/reload1.c:470:7: note: in exp
              ansion of macro 'spill_indirect_levels'
     83187      470 |       spill_indirect_levels++;
     83188          |       ^~~~~~~~~~~~~~~~~~~~~
     83189    /data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/compiler-wrapper-1.0-e7yctbqvme4oad2xnt5gynonq5omksj3/libexec/spack/gcc/g++ -c   -g -O
              1 -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing
              -format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. 
              -I. -I/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc -I/data/test-uss/2025/.
              cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/. -I/data/test-uss/2025/.cache/spack/stage/root/sp
              ack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../include -I/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.
              5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libcpp/include -I/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/gmp-6.3.0-jmzhw
              dywvzzml5bwoqouoadkb6kxvt7s/include -I/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/mpfr-3.1.6-655uphst6zrjff3fmenx2euxhmibdndz/incl
              ude -I/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/mpc-1.1.0-wwipq5noifcd4r6whqtgmjhz564ukz3c/include  -I/data/test-uss/2025/.cache
              /spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libdecnumber -I/data/test-uss/2025/.cache/spack/stag
              e/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libdecnumber/bid -I../libdecnumber -I/data/test-uss/2025/.cache
              /spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/../libbacktrace   -o rtl.o -MT rtl.o -MMD -MP -MF ./.de
              ps/rtl.TPo /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/rtl.c

     ...

     83245     3089 |     case STRICT_LOW_PART:
     83246          |     ^~~~
     83247    In file included from ./tm.h:48:
     83248    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/defaults.h:126:24: warning: i
              nvalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     83249      126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
     83250          |                        ^
  >> 83251    make[3]: *** [Makefile:1066: reload1.o] Error 1
     83252    make[3]: *** Waiting for unfinished jobs....
     83253    In file included from ./tm.h:27,
     83254                     from /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/rtlanal
              .c:24:
     83255    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/config/elfos.h:102:21: warnin
              g: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     83256      102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
     83257          |                     ^

     ...

     83428          |       ^~
     83429    /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/gcc/rtlanal.c:3867:5: note: here
     83430     3867 |     default:
     83431          |     ^~~~~~~
     83432    rm gcc.pod
     83433    make[3]: Leaving directory '/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/spack
              -build/gcc'
  >> 83434    make[2]: *** [Makefile:4372: all-stage1-gcc] Error 2
     83435    make[2]: Leaving directory '/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/spack
              -build'
  >> 83436    make[1]: *** [Makefile:20731: stage1-bubble] Error 2
     83437    make[1]: Leaving directory '/data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-src/spack
              -build'
  >> 83438    make: *** [Makefile:903: all] Error 2

See build log for details:
  /data/test-uss/2025/.cache/spack/stage/root/spack-stage-gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2/spack-build-out.txt

==> Error: gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2: ProcessError: Command exited with status 2:
    '/data/test-uss/2025/opt/spack/opt/spack/linux-x86_64_v4/gmake-4.4.1-qivfefyigbosnp7re57nlivbll2ufgk7/bin/make' '-j12' 'V=1'
==> Error: gcc-5.5.0-t45r7s3hwxtqkwv3wfrqfynnedact5j2: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).

Information on your system

Additional information

concretizer:
  unify: false
  reuse: false
  targets:
    granularity: generic

spack-build-out.txt
spack-build-env.txt

@alalazo @michaelkuhn

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions