FTBFS: tests fail on s390x due to incorrect regexp on /proc/cpuinfo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git (Debian) |
Fix Released
|
Unknown
|
|||
git (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
git commit 29fb2ec384a867c
do { local @ARGV='
On s390x, the ^processor lines are like this:
processor 0: version = FF, identification = 148F67, machine = 2964
In other arches (I checked amd64, armhf and arm64), they are like this instead:
processor : 0
As a result, that function is returning 0 on s390x, and that value is used for the number of jobs the script should execute. Since it's zero, it exits without doing anything, and that breaks the test and the build[3] on s390x.
1. https:/
2. https:/
3. https:/
Related branches
- git-ubuntu bot: Approve
- Sergio Durigan Junior (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 49 lines (+29/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-cpuinfo-regexp.patch (+21/-0)
debian/patches/series (+1/-0)
Changed in git (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
description: | updated |
Changed in git (Debian): | |
status: | Unknown → New |
Changed in git (Debian): | |
status: | New → Fix Released |
This bug was fixed in the package git - 1:2.38.1-1ubuntu2
---------------
git (1:2.38.1-1ubuntu2) lunar; urgency=medium
* d/p/fix- cpuinfo- regexp. patch: fix cpuinfo regexp to accomodate the
way s390x shows it (LP: #1997475)
-- Andreas Hasenack <email address hidden> Tue, 22 Nov 2022 14:25:40 -0300