Subject: Three spaces for error messages instead of one
From: Ileana Dumitrescu <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 1 Jul 2024 18:39:04 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

It was reported [1] that error messages from a libtool invocation have
additional spaces after the package name before the error message. After
looking into this, it seems that gnulib-modules/bootstrap is the cause.

Here is an example:
libtool:   error: only absolute run-paths are allowed

Here is the relevant code in bootstrap:
```
# func_error ARG...
# -----------------
# Echo program name prefixed message to standard error.
func_error ()
{
     $debug_cmd

     $require_term_colors

     func_echo_infix_1 "  $tc_standout${tc_red}error$tc_reset" "$*" >&2
}

# func_fatal_error ARG...
# -----------------------
# Echo program name prefixed message to standard error, and exit.
func_fatal_error ()
{
     $debug_cmd

     func_error "$*"
     exit $EXIT_FAILURE
}
```

Is there a reason for the extra spacing, or could this be changed?

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71595

-- 
Ileana Dumitrescu

GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354