[Bug 1927161] [NEW] dpkg-source: error: diff 'openssl/debian/patches/pr12272.patch' patches files multiple times; split the diff in multiple files or merge the hunks into a single one
Launchpad Bug Tracker
1927161 at bugs.launchpad.net
Wed May 5 04:27:23 UTC 2021
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
[impact]
openssl doesn't build source properly because of a badly-constructed
patch
[test case]
$ pull-lp-source openssl groovy
...
$ cd openssl-1.1.1f/
$ quilt pop -a
...
$ dpkg-buildpackage -d -S
dpkg-buildpackage: info: source package openssl
dpkg-buildpackage: info: source version 1.1.1f-1ubuntu4.3
dpkg-buildpackage: info: source distribution groovy-security
dpkg-buildpackage: info: source changed by Marc Deslauriers <marc.deslauriers at ubuntu.com>
dpkg-source --before-build .
dpkg-source: warning: can't parse dependency perl:native
dpkg-source: error: diff 'openssl-1.1.1f/debian/patches/pr12272.patch' patches files multiple times; split the diff in multiple files or merge the hunks into a single one
dpkg-buildpackage: error: dpkg-source --before-build . subprocess returned exit status 25
Test builds are available in the following ppa:
https://launchpad.net/~mruffell/+archive/ubuntu/lp1927161-test
[regression potential]
any regression would likely cause a failed build or would affect the
functionality that patch pr12272 was added for, which is adding support
for Intel CET
[scope]
this is needed only for g and later
this is caused by the bad patch 'pr12272.patch' which is only included
in g/h/i, so this does not apply to f or earlier
[other info]
note that if the patches are applied, this bug is bypassed; i.e. if
'quilt pop -a' is removed from the test case above, the bug doesn't
reproduce. this is only a problem when the patches aren't already
applied and dpkg-buildpackage needs to call dpkg-source to apply the
patches.
** Affects: openssl (Ubuntu)
Importance: Low
Assignee: Matthew Ruffell (mruffell)
Status: In Progress
** Affects: openssl (Ubuntu Groovy)
Importance: Low
Assignee: Matthew Ruffell (mruffell)
Status: In Progress
** Affects: openssl (Ubuntu Hirsute)
Importance: Low
Assignee: Matthew Ruffell (mruffell)
Status: In Progress
** Affects: openssl (Ubuntu Impish)
Importance: Low
Assignee: Matthew Ruffell (mruffell)
Status: In Progress
** Tags: patch
--
dpkg-source: error: diff 'openssl/debian/patches/pr12272.patch' patches files multiple times; split the diff in multiple files or merge the hunks into a single one
https://bugs.launchpad.net/bugs/1927161
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list