Skip to content

Installation issue: python3.8.0:3.8.2 %intel #16586

@becker33

Description

@becker33

Steps to reproduce the issue

$ spack install [email protected]%intel

Information on your system

$ spack debug report
* **Spack:** 0.13.3-2305-4b65efa
* **Python:** 3.7.2
* **Platform:** linux-rhel7-broadwell

$ cat ~/.spack/packages.yaml
packages:
  gettext:
    paths:
      [email protected]: /usr
    buildable: False

Additional information

This issue appears across multiple systems, and only with python 3.8. I've successfully built [email protected]%intel from the same setup.

This is the build output. I'll attach the files separately.

==> 26527: python: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j16'

1 error found in build log:
     2884    	echo "generate-posix-vars failed" ; \
     2885    	rm -f ./pybuilddir.txt ; \
     2886    	exit 1 ; \
     2887    fi
     2888    /bin/sh: line 5: 44681 Segmentation fault      (core dumped) LD_LIBRARY_PATH=/tmp/becker33/spack-stage/spack-stage-python-3.8.2-g4sexg3dzya7jki2uz3aihxn4
             2ux6lk5/spack-src/spack-build ./python -E -S -m sysconfig --generate-posix-vars
     2889    generate-posix-vars failed
  >> 2890    make: *** [pybuilddir.txt] Error 1

See build log for details:
  /var/tmp/becker33/spack-stage/spack-stage-python-3.8.2-g4sexg3dzya7jki2uz3aihxn42ux6lk5/spack-build-out.txt

==> Error: Failed to install python due to ChildError: ProcessError: Command exited with status 2:
    'make' '-j16'
1 error found in build log:
     2884    	echo "generate-posix-vars failed" ; \
     2885    	rm -f ./pybuilddir.txt ; \
     2886    	exit 1 ; \
     2887    fi
     2888    /bin/sh: line 5: 44681 Segmentation fault      (core dumped) LD_LIBRARY_PATH=/tmp/becker33/spack-stage/spack-stage-python-3.8.2-g4sexg3dzya7jki2uz3aihxn4
             2ux6lk5/spack-src/spack-build ./python -E -S -m sysconfig --generate-posix-vars
     2889    generate-posix-vars failed
  >> 2890    make: *** [pybuilddir.txt] Error 1

See build log for details:
  /var/tmp/becker33/spack-stage/spack-stage-python-3.8.2-g4sexg3dzya7jki2uz3aihxn42ux6lk5/spack-build-out.txt
Traceback (most recent call last):
  File "/g/g0/becker33/dev-spack/spack/lib/spack/spack/build_environment.py", line 813, in child_process
    return_value = function()
  File "/g/g0/becker33/dev-spack/spack/lib/spack/spack/installer.py", line 1123, in build_process
    phase(pkg.spec, pkg.prefix)
  File "/g/g0/becker33/dev-spack/spack/lib/spack/spack/package.py", line 108, in phase_wrapper
    phase(spec, prefix)
  File "/g/g0/becker33/dev-spack/spack/lib/spack/spack/build_systems/autotools.py", line 305, in build
    inspect.getmodule(self).make(*self.build_targets)
  File "/g/g0/becker33/dev-spack/spack/lib/spack/spack/build_environment.py", line 131, in __call__
    return super(MakeExecutable, self).__call__(*args, **kwargs)
  File "/g/g0/becker33/dev-spack/spack/lib/spack/spack/util/executable.py", line 189, in __call__
    proc.returncode, long_msg)
spack.util.executable.ProcessError: Command exited with status 2:
    'make' '-j16'

@adamjstewart you're listed as a maintainer on this

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