Skip to content

Installation issue: go-bootstrap fails on monterey (x86_64) #29011

@sethrj

Description

@sethrj

Steps to reproduce the issue

$ spack spec -I go-bootstrap
Input spec
--------------------------------
 -   go-bootstrap

Concretized
--------------------------------
 -   [email protected]%[email protected] arch=darwin-monterey-x86_64
[+]      ^[email protected]%[email protected]+man+nls+perl~svn~tcltk arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected] patches=35c449281546376449766f92d49fc121ca50e330e60fefcfc9be2af3253082c2,7793209b33013dc0f81208718c68440c5aae80e7a1c4b8d336e382525af791a7,a49dd5bac3b62daa0ff688ab4d508d71dbd2f4f8d7e2a02321926346161bf3ee arch=darwin-monterey-x86_64
[+]              ^[email protected]%[email protected]+sigsegv patches=9dc5fbd0d5cb1037ab1e6d0ecc74a30df218d0a94bdd5a02759a97f62daca573,bfdffa7c2eb01021d5849b36972c069693654ad826c1a20b53534009a4ec7a89 arch=darwin-monterey-x86_64
[+]                  ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]              ^[email protected]%[email protected]+cpanm+shared+threads arch=darwin-monterey-x86_64
[+]                  ^[email protected]%[email protected]+cxx~docs+stl patches=b231fcc4d5cff05e5c3a4814f6a5af0e9a966428dc2176540d2c05aff41de522 arch=darwin-monterey-x86_64
[+]                  ^[email protected]%[email protected]~debug~pic+shared arch=darwin-monterey-x86_64
[+]                      ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]                          ^[email protected]%[email protected] libs=shared,static arch=darwin-monterey-x86_64
[+]                  ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]                      ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]                          ^[email protected]%[email protected]~symlinks+termlib abi=none arch=darwin-monterey-x86_64
[+]                              ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]                  ^[email protected]%[email protected]+optimize+pic+shared arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2~nghttp2 tls=secure_transport arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected]~libbsd arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz arch=darwin-monterey-x86_64
[+]              ^[email protected]%[email protected]~python arch=darwin-monterey-x86_64
[+]                  ^[email protected]%[email protected]~pic libs=shared,static arch=darwin-monterey-x86_64
[+]              ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]              ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected] arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected]~docs certs=system arch=darwin-monterey-x86_64
[+]          ^[email protected]%[email protected]~jit+multibyte arch=darwin-monterey-x86_64

Error message

==> Error: ProcessError: Command exited with status 2:
    '/usr/local/bin/bash' 'make.bash'

and in the log:

fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x3ed895)
	/rnsdhpc/code/spack/opt/spack/apple-clang-13.0.0/go-bootstrap/tdt5b4q/src/runtime/panic.go:491 +0xad fp=0x7ff7bfefbaf0 sp=0x7ff7bfefbac0
runtime.goenvs()
	/rnsdhpc/code/spack/opt/spack/apple-clang-13.0.0/go-bootstrap/tdt5b4q/src/runtime/os_darwin.c:104 +0x70 fp=0x7ff7bfefbb08 sp=0x7ff7bfefbaf0
runtime.schedinit()
	/rnsdhpc/code/spack/opt/spack/apple-clang-13.0.0/go-bootstrap/tdt5b4q/src/runtime/proc.c:141 +0x5f fp=0x7ff7bfefbb30 sp=0x7ff7bfefbb08
runtime.rt0_go(0x7ff7bfefbb60, 0x4, 0x7ff7bfefbb60, 0x1000, 0x4, 0x7ff7bfefc048, 0x7ff7bfefc10f, 0x7ff7bfefc115, 0x7ff7bfefc118, 0x0, ...)
	/rnsdhpc/code/spack/opt/spack/apple-clang-13.0.0/go-bootstrap/tdt5b4q/src/runtime/asm_amd64.s:95 +0x116 fp=0x7ff7bfefbb38 sp=0x7ff7bfefbb30

Information on your system

  • Spack: 0.17.1-1184-e68182dcb4
  • Python: 3.8.5
  • Platform: darwin-monterey-skylake
  • Concretizer: clingo

Additional information

Go bootstrap also failed on bigsur/M1, but this failure is on an x86 machine. At this point I think we really need spack bootstrap to add a version of go... @alalazo ? 😬

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