bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch-2.7.6.200-be8b build feedback


From: Nelson H. F. Beebe
Subject: patch-2.7.6.200-be8b build feedback
Date: Tue, 5 Nov 2024 15:29:47 -0700

I have now done builds of patch-2.7.6.200-be8b on 89 systems, of which
71 passed all tests.

The CentOS 7 (x86) and Solaris 10 (x86 and SPARC) systems need the
--disable-year2038 option; builds then succeeded, but two tests
failed:

        XFAIL: context-format
        XFAIL: dash-o-append

Those same two failures happened on Alpine 3.15 (x86_64), Fedora 37
(S/390x), FreeBSD 12.4 (AMD64), OpenIndiana Hipster (x86_64), openSUSE
Tumbleweed (x86_64), and Void Linux (x86, Musl C library).

Here are the log files from the Void Linux system:

% cat ./tests/context-format.log
* patch < ab.diff -- ok
* patch < ab.diff -- ok
* patch < ab.diff -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-patching file a
+/local/build/cc/patch-2.7.6.200-be8b/src/patch: **** replacement text or line 
numbers mangled in hunk at line 4
* echo `cat a` -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-a a a a a a a a a a
+a a a a a b a a a a a
* patch < ba.diff -- ok
* echo `cat a` -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-a a a a a b a a a a a
+a a a a a b b a a a a a
* patch < ab.diff -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-patching file a
+/local/build/cc/patch-2.7.6.200-be8b/src/patch: **** replacement text or line 
numbers mangled in hunk at line 4
* echo `cat a` -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-a a a a a a a a a a
+a a a a a a a a a a b
* patch < ba.diff -- ok
* echo `cat a` -- FAILED
--- expected
+++ got
@@ -1 +1 @@
-a a a a a a a a a a b
+a a a a a a a a a a b b
10 tests (4 passed, 6 failed)
XFAIL context-format (exit status: 1)

% cat ./tests/dash-o-append.log
* patch -o a.new a < a.diff -- FAILED
--- expected
+++ got
@@ -1,2 +1,4 @@
 patching file a.new (read from a)
 patching file a.new (read from a)
+Hunk #1 FAILED at 1.
+1 out of 1 hunk FAILED -- saving rejects to file a.new.rej
* cat a.new -- FAILED
--- expected
+++ got
@@ -1,2 +1,2 @@
 two
-three
+one
2 tests (0 passed, 2 failed)
XFAIL dash-o-append (exit status: 1)

Just in case lower-level tools are involved, on that system, I have
coreutils-8.32, diff-3.7, and sed-4.8.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                                                          -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]