Source: git
Version: 1:2.49.0-2
Severity: serious
Tags: ftbfs

Even after the fix from https://bugs.debian.org/1102106, git ftbfs on
s390x. Filing as a separate bug because this is a different failure.

>From [1]:

| expecting success of 4014.200 '-c format.mboxrd format-patch':
|       sp=" " &&
|       cat >msg <<-INPUT_END &&
|       mboxrd should escape the body
|
|       From could trip up a loose mbox parser
|       >From extra escape for reversibility
|       >>From extra escape for reversibility 2
|       from lower case not escaped
|       Fromm bad speling not escaped
|        From with leading space not escaped
|
|       F
|       From
|       From$sp
|       From    $sp
|       From    $sp
|       INPUT_END
|
|       cat >expect <<-INPUT_END &&
|       >From could trip up a loose mbox parser
|       >>From extra escape for reversibility
|       >>>From extra escape for reversibility 2
|       from lower case not escaped
|       Fromm bad speling not escaped
|        From with leading space not escaped
|
|       F
|       From
|       From
|       From
|       From
|       INPUT_END
|
|       C=$(git commit-tree HEAD^^{tree} -p HEAD <msg) &&
|       git -c format.mboxrd format-patch --stdout -1 $C~1..$C >patch &&
|       git format-patch --pretty=mboxrd --stdout -1 $C~1..$C >compat &&
|       test_cmp patch compat &&
|       git grep -h --no-index -A11 \
|               "^>From could trip up a loose mbox parser" patch >actual &&
|       test_cmp expect actual
|
| --- expect    2025-05-29 16:44:17.156655735 +0000
| +++ actual    2025-05-29 16:44:17.164655735 +0000
| @@ -1,12 +1 @@
|  >From could trip up a loose mbox parser
| ->>From extra escape for reversibility
| ->>>From extra escape for reversibility 2
| -from lower case not escaped
| -Fromm bad speling not escaped
| - From with leading space not escaped
| -
| -F
| -From
| -From
| -From
| -From
| not ok 200 - -c format.mboxrd format-patch

[1] 
https://buildd.debian.org/status/fetch.php?pkg=git&arch=s390x&ver=1%3A2.49.0-2&stamp=1748537058&raw=0

Reply via email to