error messages: include whole spec for "no externals found" message (#12070)
* Provide better error message when matching externals are found for package marked not buildable
This commit is contained in:
		@@ -587,6 +587,6 @@ class NoBuildError(spack.error.SpackError):
 | 
			
		||||
       no satisfactory external versions can be found"""
 | 
			
		||||
 | 
			
		||||
    def __init__(self, spec):
 | 
			
		||||
        msg = ("The spec '%s' is configured as not buildable, "
 | 
			
		||||
        msg = ("The spec\n    '%s'\n    is configured as not buildable, "
 | 
			
		||||
               "and no matching external installs were found")
 | 
			
		||||
        super(NoBuildError, self).__init__(msg % spec.name)
 | 
			
		||||
        super(NoBuildError, self).__init__(msg % spec)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user