Skip to content

Updated spack 'develop' fails to build libsigesgv on RHEL6 with native [email protected] (wrong arch) #13248

@bartlettroscoe

Description

@bartlettroscoe

snl-atdm-issue

I just tried upgrading Spack by pulling the Spack 'develop' version:

cf9de05 "multimethods: avoid calling caller_locals() in Python 3 (#13238)"
Author: Todd Gamblin <[email protected]>
Date:   Thu Oct 17 06:40:23 2019 -0700 (3 hours ago)

M       lib/spack/spack/multimethod.py
M       lib/spack/spack/package.py

Running:

$ ./atdm-spack/spack/bin/spack  install  -j20

with this spack.yaml file:

spack.yaml
# Spack env file to build a compiler using Spack
#
# NOTE: Spack will not only read this file but will also write to it so make
# sure you create a copy before spack uses it!
#
spack:
  # Packages to build (ordered mostly by dependencies)
  specs: [
    [email protected],
    ]
  modules:
    tcl:
      hash_length: 0
      naming_scheme: spack-${PACKAGE}/${VERSION}
      whitelist:
        - gcc
      blacklist:
        - '%[email protected]'
      all:
        conflict:
          - '{name}'
        filter:
          environment_blacklist: [CPATH, LIBRARY_PATH]
        environment:
          set:
            ${PACKAGE}_ROOT: ${PREFIX}
      verbose: false
  packages:
    all:
      compiler: [[email protected]]

  include:
    - packages_tools_for_compiler_build.yaml
    - common_options.yaml

NOTE: packages_tools_for_compiler_build.yaml is empty and:

common_options.yaml is:

mirrors:
  local_filesystem: file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror
config:
  misc_cache: .spack/cache

it showed the following error:

==> Installing libsigsegv
==> Searching for binary cache of libsigsegv
==> Finding buildcaches in /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/build_cache
==> No binary for libsigsegv found: installing from source
curl: (37) Couldn't open file /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching from file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz failed.
==> Fetching https://ftpmirror.gnu.org/libsigsegv/libsigsegv-2.12.tar.gz
==> Staging archive: /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/libsigsegv-2.12.tar.gz
==> Created stage in /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t
==> No patches needed for libsigsegv
==> Building libsigsegv [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 77:
    '/tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src/configure' '--prefix=/home/rabartl/Spack.base3/atdm-spack/spack/opt/spack/linux-rhel6-haswell/gcc-4.4.7/libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t' '--enable-shared'

2 errors found in build log:
     8     checking for a thread-safe mkdir -p... /bin/mkdir -p
     9     checking for gawk... gawk
     10    checking whether make sets $(MAKE)... yes
     11    checking whether make supports nested variables... yes
     12    checking for gcc... /home/rabartl/Spack.base3/atdm-spack/spack/lib/s
           pack/env/gcc/gcc
     13    checking whether the C compiler works... no
  >> 14    configure: error: in `/tmp/rabartl/spack-stage/spack-stage-libsigseg
           v-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src':
  >> 15    configure: error: C compiler cannot create executables
     16    See `config.log' for more details

See build log for details:
  /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-build-out.txt

The full output is shown below.

Full spack install output
==> Concretized [email protected]
 -   i446xkz  [email protected]%[email protected]~binutils languages=c,c++,fortran ~nvptx patches=51aebe82afc9a0433ca3503a36592edf5ca769b1433986919cfb9ae2ddf3e343 ~piclibs~strip arch=linux-rhel6-haswell
 -   5wln5gl      ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   sidqv37          ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   6ebd7qb              ^[email protected]%[email protected] patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 +sigsegv arch=linux-rhel6-haswell
 -   4wg47p4                  ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   nqlcjvd              ^[email protected]%[email protected]+cpanm+shared+threads arch=linux-rhel6-haswell
 -   ztgcm72                  ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   frribg6                      ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   cxc3lta                          ^[email protected]%[email protected]~symlinks~termlib arch=linux-rhel6-haswell
 -   icmdwkr                              ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   vvars5j          ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   xmpzwlz          ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   obxrdps      ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   suz2poy      ^[email protected]%[email protected] arch=linux-rhel6-haswell
 -   bkqhlr7          ^[email protected]%[email protected] patches=66a5d58364113a21405fc53f4a48f4e8 arch=linux-rhel6-haswell
 -   zmpvci4      ^[email protected]%[email protected]+optimize+pic+shared arch=linux-rhel6-haswell

==> Updating view at /home/rabartl/Spack.base3/.spack-env/view
==> Installing environment /home/rabartl/Spack.base3
==> Installing libsigsegv
==> Searching for binary cache of libsigsegv
==> Finding buildcaches in /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/build_cache
==> No binary for libsigsegv found: installing from source
curl: (37) Couldn't open file /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching from file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz failed.
==> Fetching https://ftpmirror.gnu.org/libsigsegv/libsigsegv-2.12.tar.gz
==> Staging archive: /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/libsigsegv-2.12.tar.gz
==> Created stage in /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t
==> No patches needed for libsigsegv
==> Building libsigsegv [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 77:
    '/tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src/configure' '--prefix=/home/rabartl/Spack.base3/atdm-spack/spack/opt/spack/linux-rhel6-haswell/gcc-4.4.7/libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t' '--enable-shared'

2 errors found in build log:
     8     checking for a thread-safe mkdir -p... /bin/mkdir -p
     9     checking for gawk... gawk
     10    checking whether make sets $(MAKE)... yes
     11    checking whether make supports nested variables... yes
     12    checking for gcc... /home/rabartl/Spack.base3/atdm-spack/spack/lib/s
           pack/env/gcc/gcc
     13    checking whether the C compiler works... no
  >> 14    configure: error: in `/tmp/rabartl/spack-stage/spack-stage-libsigseg
           v-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src':
  >> 15    configure: error: C compiler cannot create executables
     16    See `config.log' for more details

See build log for details:
  /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-build-out.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions