bug#81479: 31.0.91; test failures because 'xargs -0' does not work on Solaris 10
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Ping! > Cc: [email protected] > Date: Sat, 25 Jul 2026 09:13:29 +0300 > From: Eli Zaretskii <[email protected]> > > > Date: Fri, 24 Jul 2026 13:54:58 -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. > > > > Some xref-* tests failed, I think because they invoked ‘xargs -0’, which > > POSIX didn’t standardize until POSIX.1-2024. Might be worth skipping > > those on pre-2024 platforms. > > > > Here's the relevant part of the log file: > > > > Test xref-matches-in-files-includes-matches-from-all-the-files backtrace: > > signal(user-error (#("Search failed with status 2: xargs: illegal op > > user-error("Search failed with status %d: %s" 2 #("xargs: illegal op > > xref--parse-hits("^\\(?:\\(?1:[^\0\n]+\\)\\(?3:\0\\)\\(?2:[0-9]+\\): > > xref-matches-in-files("bar" ("/var/run/rpc_door/eggert/emacs-31.0.91 > > #f(compiled-function () #<bytecode 0x14a89b23>)() > > #f(compiled-function () #<bytecode -0x63d2553>)() > > handler-bind-1(#f(compiled-function () #<bytecode -0x63d2553>) (t) # > > ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test > > ert-run-test(#s(ert-test :name xref-matches-in-files-includes-matche > > ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m > > ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n > > ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) ( > > ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un > > eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( > > command-line-1(("-L" ":../../emacs-31.0.91/test" "-l" "ert" "--eval" > > command-line() > > normal-top-level() > > Test xref-matches-in-files-includes-matches-from-all-the-files condition: > > (user-error "Search failed with status 2: xargs: illegal option -- 0") > > FAILED 12/13 > > xref-matches-in-files-includes-matches-from-all-the-files (0.030504 sec) > > at ../../emacs-31.0.91/test/lisp/progmodes/xref-tests.el:80 > > Test xref-matches-in-files-trims-summary-for-matches-on-same-line backtrace: > > signal(user-error (#("Search failed with status 2: xargs: illegal op > > user-error("Search failed with status %d: %s" 2 #("xargs: illegal op > > xref--parse-hits("^\\(?:\\(?1:[^\0\n]+\\)\\(?3:\0\\)\\(?2:[0-9]+\\): > > xref-matches-in-files("match" ("/var/run/rpc_door/eggert/emacs-31.0. > > #f(compiled-function () #<bytecode -0x10859e4f>)() > > #f(compiled-function () #<bytecode -0x63d2553>)() > > handler-bind-1(#f(compiled-function () #<bytecode -0x63d2553>) (t) # > > ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test > > ert-run-test(#s(ert-test :name xref-matches-in-files-trims-summary-f > > ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m > > ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n > > ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) ( > > ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un > > eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( > > command-line-1(("-L" ":../../emacs-31.0.91/test" "-l" "ert" "--eval" > > command-line() > > normal-top-level() > > Test xref-matches-in-files-trims-summary-for-matches-on-same-line condition: > > (user-error "Search failed with status 2: xargs: illegal option -- 0") > > FAILED 13/13 > > xref-matches-in-files-trims-summary-for-matches-on-same-line (0.241987 > > sec) at ../../emacs-31.0.91/test/lisp/progmodes/xref-tests.el:89 > > Dmitry, could you please look into these? > > > >