Public bug reported:

Binary package hint: dpkg

Here is example output:

Copying back the cached apt archive contents
Copying source file
    -> copying [dbus_1.1.20-1ubuntu3.dsc]
    -> copying [./dbus_1.1.20.orig.tar.gz]
    -> copying [./dbus_1.1.20-1ubuntu3.diff.gz]
Extracting source
dpkg-source: warning: extracting unsigned source package 
(./dbus_1.1.20-1ubuntu3.dsc)
dpkg-source: extracting dbus in dbus-1.1.20
dpkg-source: unpacking dbus_1.1.20.orig.tar.gz
dpkg-source: applying ./dbus_1.1.20-1ubuntu3.diff.gz
dpkg-source: failure: remove patch backup file 
dbus-1.1.20/debian/patches/03_fix_inotify.patch.dpkg-orig: No such file or 
directory
pbuilder: Failed extracting the source


Here is the relevant slice of code from /usr/bin/dpkg-source:

    for $fn (keys %filepatched) {
        my $ftr = "$newdirectory/" . substr($fn, length($expectprefix) + 1);
        utime($now, $now, $ftr) ||
            syserr(_g("cannot change timestamp for %s"), $ftr);
        $ftr.= ".dpkg-orig";
        unlink($ftr) || syserr(_g("remove patch backup file %s"), $ftr);
    }

Why it wants to delete a .dpkg-orig file that is not patched during the
patch process... BEATS ME but I can't build my packages and I need,
really need, to build those packages to make my system functional again.

Environment particularities: ZFS filesystem.  This should have no impact
whatsoever.

[EMAIL PROTECTED]: ~/Projects/dbus/deb $
dpkg -l dpkg-dev | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Nombre                                     Versión                          
                 Descripción
+++-==========================================-==================================================-============================================
ii  dpkg-dev                                   1.14.16.6ubuntu4                 
                  package building tools for Debian

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: dpkg
  
  Here is example output:
  
  Copying back the cached apt archive contents
  Copying source file
      -> copying [dbus_1.1.20-1ubuntu3.dsc]
      -> copying [./dbus_1.1.20.orig.tar.gz]
      -> copying [./dbus_1.1.20-1ubuntu3.diff.gz]
  Extracting source
  dpkg-source: warning: extracting unsigned source package 
(./dbus_1.1.20-1ubuntu3.dsc)
  dpkg-source: extracting dbus in dbus-1.1.20
  dpkg-source: unpacking dbus_1.1.20.orig.tar.gz
  dpkg-source: applying ./dbus_1.1.20-1ubuntu3.diff.gz
  dpkg-source: failure: remove patch backup file 
dbus-1.1.20/debian/patches/03_fix_inotify.patch.dpkg-orig: No such file or 
directory
  pbuilder: Failed extracting the source
  
  
  Here is the relevant slice of code from /usr/bin/dpkg-source:
  
      for $fn (keys %filepatched) {
          my $ftr = "$newdirectory/" . substr($fn, length($expectprefix) + 1);
          utime($now, $now, $ftr) ||
              syserr(_g("cannot change timestamp for %s"), $ftr);
          $ftr.= ".dpkg-orig";
-         unlink($ftr) || syserr(_g("remove patch backup file %s"), $ftr); 
Rudd-O next line
+         unlink($ftr) || syserr(_g("remove patch backup file %s"), $ftr);
      }
  
  Why it wants to delete a .dpkg-orig file that is not patched during the
  patch process... BEATS ME but I can't build my packages and I need,
  really need, to build those packages to make my system functional again.
  
  Environment particularities: ZFS filesystem.  This should have no impact
  whatsoever.
+ 
+ [EMAIL PROTECTED]: ~/Projects/dbus/deb $
+ dpkg -l dpkg-dev | cat
+ Desired=Unknown/Install/Remove/Purge/Hold
+ | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
+ |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
+ ||/ Nombre                                     Versión                        
                   Descripción
+ 
+++-==========================================-==================================================-============================================
+ ii  dpkg-dev                                   1.14.16.6ubuntu4               
                    package building tools for Debian

-- 
dpkg-source errors out when attempting to delete .dpkg-orig files
https://bugs.launchpad.net/bugs/241633
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to