bug#81478: 31.0.91; faceup-files and regex-tests-PTESTS failures on 32-bit Solaris sparc

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Ping!

> Cc: [email protected]
> Date: Sat, 25 Jul 2026 12:47:45 +0300
> From: Eli Zaretskii <[email protected]>
> 
> > Date: Fri, 24 Jul 2026 13:54:55 -0700
> > From: Paul Eggert <[email protected]>
> > 
> > This follows up on bug#81465 "31.0.91; ‘make check’ failures on Solaris 
> > 10 sparc 32-bit" and I am splitting this issue off into a separate bug 
> > report.
> > 
> > faceup-files and regex-tests-PTESTS failed with diagnostics containing
> > weird encoding errors. Not sure why. Here's what the log said:
> 
> Can you show the error message for faceup-files tests?
> 
> For the regex-tests-PTESTS, does the patch below fix the problem?
> 
> diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el
> index 061fb73..9635f86 100644
> --- a/test/src/regex-emacs-tests.el
> +++ b/test/src/regex-emacs-tests.el
> @@ -105,7 +105,8 @@ regex-tests-generic-line
>  
>    `(with-temp-buffer
>      (modify-syntax-entry ?_ "w;; ") ; tests expect _ to be a word
> -    (insert-file-contents (concat regex-tests--resources-dir ,test-file))
> +    (let ((coding-system-for-read 'utf-8-unix))
> +      (insert-file-contents (concat regex-tests--resources-dir ,test-file)))
>      (let ((case-fold-search nil)
>            (line-number 1)
>            (whitelist-idx 0))
> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.