[Bug 1927161] Re: 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
Dan Streetman
1927161 at bugs.launchpad.net
Wed May 5 11:48:45 UTC 2021
** Tags added: block-proposed-hirsute block-proposed-impish
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1927161
Title:
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
Status in openssl package in Ubuntu:
In Progress
Status in openssl source package in Groovy:
In Progress
Status in openssl source package in Hirsute:
In Progress
Status in openssl source package in Impish:
In Progress
Bug description:
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1927161/+subscriptions
More information about the Ubuntu-sponsors
mailing list