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.deslauri...@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.deslauri...@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.deslauri...@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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1927161/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to