Skip to content

GCC easybuild installation fails #5061

@puneet336

Description

@puneet336

Hi Team ,
I am trying to build GCC 14 shipped with easyconfig 5,1,0 on RHEL 9.5
here are the errors -

[tec_t1_easybuild@server ~]$ eb GCC-14.3.0.eb  --robot
== Temporary log file in case of crash /tmp/eb-bel4vcmg/easybuild-4ltxd71l.log
== resolving dependencies ...
== processing EasyBuild easyconfig /CHBS/apps/EB/software/EasyBuild/5.1.0/easybuild/easyconfigs/m/M4/M4-1.4.20.eb
== building and installing M4/1.4.20...
  >> installation prefix: /CHBS/apps/EB/software/M4/1.4.20
== fetching files and verifying checksums...
  >> download succeeded: https://ftpmirror.gnu.org/gnu/m4/m4-1.4.20.tar.gz
  >> sources:
  >> /home/tec_t1_easybuild/.local/easybuild/sources/m/M4/m4-1.4.20.tar.gz [SHA256: 6ac4fc31ce440debe63987c2ebbf9d7b6634e67a7c3279257dc7361de8bdb3ef]
  >> download failed: https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=28ea239c53a2d5d8800c472bc2452eaa16e37af2

WARNING: Failed to download recent config.guess to /home/tec_t1_easybuild/.local/easybuild/sources/generic/eb_v5.1.0/ConfigureMake/config.guess

== ... (took 8 secs)
== creating build dir, resetting environment...
  >> build dir: /home/tec_t1_easybuild/.local/easybuild/build/M4/1.4.20/system-system
== ... (took < 1 sec)
== unpacking...
  >> running shell command:
        tar xzf /home/tec_t1_easybuild/.local/easybuild/sources/m/M4/m4-1.4.20.tar.gz
        [started at: 2025-12-01 23:15:05]
        [working dir: /home/tec_t1_easybuild/.local/easybuild/build/M4/1.4.20/system-system]
        [output and state saved to /tmp/eb-bel4vcmg/run-shell-cmd-output/tar-_jujsdm8]
  >> command completed: exit 0, ran in 00h00m04s
== ... (took 4 secs)
== patching...
== ... (took < 1 sec)
== preparing...
== ... (took < 1 sec)
== configuring...
  >> download failed: https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=28ea239c53a2d5d8800c472bc2452eaa16e37af2

WARNING: Failed to download recent config.guess to /home/tec_t1_easybuild/.local/easybuild/sources/generic/eb_v5.1.0/ConfigureMake/config.guess


WARNING: No config.guess available, not setting '--build' option for configure step
EasyBuild attempts to download a recent config.guess but seems to have failed!

  >> running shell command:
        ./configure --prefix=/CHBS/apps/EB/software/M4/1.4.20 --enable-c++ CPPFLAGS=-fgnu89-inline
        [started at: 2025-12-01 23:15:10]
        [working dir: /home/tec_t1_easybuild/.local/easybuild/build/M4/1.4.20/system-system/m4-1.4.20]
        [output and state saved to /tmp/eb-bel4vcmg/run-shell-cmd-output/configure-2egpmgzu]
  >> command completed: exit 0, ran in 00h00m39s
== ... (took 40 secs)
== building...
  >> running shell command:
        make  -j 16
        [started at: 2025-12-01 23:15:49]
        [working dir: /home/tec_t1_easybuild/.local/easybuild/build/M4/1.4.20/system-system/m4-1.4.20]
        [output and state saved to /tmp/eb-bel4vcmg/run-shell-cmd-output/make-6qf_r3az]
  >> command completed: exit 0, ran in 00h00m03s
== ... (took 3 secs)
== testing...
== ... (took < 1 sec)
== installing...
  >> running shell command:
        make install
        [started at: 2025-12-01 23:15:53]
        [working dir: /home/tec_t1_easybuild/.local/easybuild/build/M4/1.4.20/system-system/m4-1.4.20]
        [output and state saved to /tmp/eb-bel4vcmg/run-shell-cmd-output/make-v22omllx]
  >> command completed: exit 0, ran in 00h00m01s
== ... (took 1 secs)
== taking care of extensions...
== ... (took < 1 sec)
== restore after iterating...
== ... (took < 1 sec)
== postprocessing...
== ... (took < 1 sec)
== sanity checking...
  >> file 'bin/m4' found: OK
  >> loading modules: M4/1.4.20...
== ... (took < 1 sec)
== FAILED: Installation ended unsuccessfully: Sanity check failed: No '(RPATH)' found in 'readelf -d' output for /CHBS/apps/EB/software/M4/1.4.20/bin/m4 (took 57 secs)
== Results of the build can be found in the log file(s) /tmp/eb-bel4vcmg/easybuild-M4-1.4.20-20251201.231457.FzSmH.log
== Summary:
   * [FAILED]  M4/1.4.20
   * [SKIPPED] zlib/1.3.1
   * [SKIPPED] M4/1.4.19
   * [SKIPPED] Bison/3.8.2
   * [SKIPPED] flex/2.6.4
   * [SKIPPED] binutils/2.44
   * [SKIPPED] GCCcore/14.3.0
   * [SKIPPED] zlib/1.3.1-GCCcore-14.3.0
   * [SKIPPED] help2man/1.49.3-GCCcore-14.3.0
   * [SKIPPED] M4/1.4.20-GCCcore-14.3.0
   * [SKIPPED] Bison/3.8.2-GCCcore-14.3.0
   * [SKIPPED] flex/2.6.4-GCCcore-14.3.0
   * [SKIPPED] binutils/2.44-GCCcore-14.3.0
   * [SKIPPED] GCC/14.3.0
ERROR: Installation of M4-1.4.20.eb failed: "Sanity check failed: No '(RPATH)' found in 'readelf -d' output for /CHBS/apps/EB/software/M4/1.4.20/bin/m4"
[tec_t1_easybuild@server ~]$ ll /CHBS/apps/EB/software/M4/1.4.20/bin/m4"
>
[tec_t1_easybuild@server  ~]$ ll /CHBS/apps/EB/software/M4/1.4.20/bin/m4
-rwxr-xr-x. 1 tec_t1_easybuild user 1008480 Dec  1 23:15 /CHBS/apps/EB/software/M4/1.4.20/bin/m4

please advice.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions