This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=69b05bf23ca28f2ea99ac3c395206c434e3fa068 commit 69b05bf23ca28f2ea99ac3c395206c434e3fa068 Author: Guillem Jover <[email protected]> AuthorDate: Fri Jan 23 00:27:36 2026 +0100 dpkg-source: Do not error out on empty fields The documentation for debian/control states that empty fields are ignored there, which makes sense for fields that contain substvars, but not so much for other fields. But as this is a long standing documented behavior, it should be considered a regression, given that it is making other packages unintentionally fail to build. Fixes: commit a77d00af63a2c8084df991c360d84280e52428c5 Closes: #1125985 --- scripts/dpkg-source.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 578fde6de..2387b1f81 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -443,12 +443,12 @@ if ($options{opmode} =~ /^(build|print-format|(before|after)-build|commit)$/) { } my $maint; - if (defined $fields->{'Maintainer'}) { + if (length $fields->{'Maintainer'}) { $maint = field_parse_maintainer($fields); $fields->{'Maintainer'} = $maint->as_string(); } - if (defined $fields->{'Uploaders'}) { + if (length $fields->{'Uploaders'}) { my $uploaders = field_parse_uploaders($fields); $fields->{'Uploaders'} = $uploaders->as_string(); -- Dpkg.Org's dpkg

