Skip to content

Add better reporting for the use of old formatting style #39294

@kc9qey

Description

@kc9qey

Steps to reproduce

svcdeltaswmgt@dt-login03 0.17.1]$ spack spec xerces-c
==> Warning: config:terminal_title has been replaced by install_status and is ignored
Input spec
--------------------------------
 -   xerces-c

Concretized
--------------------------------
 -   [email protected]%[email protected] build_system=autotools cxxstd=default netaccessor=curl transcoder=gnuiconv arch=linux-rhel8-zen3
[e]      ^[email protected]%[email protected]~gssapi~ldap~libidn2~librtmp~libssh+libssh2+nghttp2 build_system=autotools libs=shared,static tls=mbedtls,openssl arch=linux-rhel8-zen3
[+]      ^[email protected]%[email protected] libs=shared,static arch=linux-rhel8-zen3

[svcdeltaswmgt@dt-login03 0.17.1]$ spack install xerces-c%[email protected]
==> Warning: config:terminal_title has been replaced by install_status and is ignored
[+] /usr (external curl-7.61.1-ljruki2ikiqsewcogfj7o5hh6kqxuyix)
[+] /sw/spack/deltacpu-2022-03/apps/libiconv/1.16-gcc-11.2.0-va3oiyg
==> Error: Attempted to format attribute compilername.Spec  has no attribute compilername
[svcdeltaswmgt@dt-login03 0.17.1]$ 
[svcdeltaswmgt@dt-login03 0.17.1]$ spack --version
0.21.0.dev0 (ea9c488897a8729e31461731e9df934db8c27205)
[svcdeltaswmgt@dt-login03 0.17.1]$ 

Error message

==> Error: Attempted to format attribute compilername.Spec has no attribute compilername``

Information on your system

[svcdeltaswmgt@dt-login03 0.17.1]$ spack debug report

  • Spack: 0.21.0.dev0 (ea9c488)
  • Python: 3.6.8
  • Platform: linux-rhel8-zen3
    ==> Warning: config:terminal_title has been replaced by install_status and is ignored
  • Concretizer: clingo

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions