[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
Dan Streetman
1927161 at bugs.launchpad.net
Tue May 4 21:13:30 UTC 2021
Public bug reported:
[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
[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
Status: New
** Affects: openssl (Ubuntu Groovy)
Importance: Low
Status: New
** Affects: openssl (Ubuntu Hirsute)
Importance: Low
Status: New
** Affects: openssl (Ubuntu Impish)
Importance: Low
Status: New
** Description changed:
[impact]
openssl doesn't build 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 --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
[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.
** Also affects: openssl (Ubuntu Impish)
Importance: Undecided
Status: New
** Also affects: openssl (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: openssl (Ubuntu Groovy)
Importance: Undecided
Status: New
** Changed in: openssl (Ubuntu Groovy)
Importance: Undecided => Low
** Changed in: openssl (Ubuntu Hirsute)
Importance: Undecided => Low
** Changed in: openssl (Ubuntu Impish)
Importance: Undecided => Low
** Description changed:
[impact]
- openssl doesn't build properly because of a badly-constructed patch
+ 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
[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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
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:
New
Status in openssl source package in Groovy:
New
Status in openssl source package in Hirsute:
New
Status in openssl source package in Impish:
New
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
[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 foundations-bugs
mailing list