dpkg-source warns missing XSBC-Original-Maintainer for -0ubuntu1 version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The XSBC-Original-
However, dpkg-source warns that this field is missing but it does not make sense since the maintainer *is* the original maintainer as long as it does not exist in Debian. Expected behavior would be for the warning to not appear in this case.
Steps to reproduce:
1. Create a package with a -0ubuntu1 version in d/changelog and no XSBC-Original-
2. Build the package using dpkg-buildpackage -us -uc
3. Watch the warning appear as dpkg-source is called from dpkg-buildpackage
I have tried to apply the following patch to dpkg-1.
diff -Nru dpkg-1.
--- dpkg-1.
+++ dpkg-1.
@@ -63,7 +63,7 @@
}
}
- unless ($fields-
+ unless ($fields-
}
}
description: | updated |
description: | updated |
That change is not correct, because there are plenty of 0ubuntu uploads of newer upstream versions that should have the field set, so you'd need to analyse debian/changelog and check if all previous uploads where Ubuntu ones to hide the warning, and I'm not sure that makes a lot of sense vs just ignoring the warning in your head.