The source package for spice contains a malformed patch such that dpkg-source cannot extract it. This is fixed in later releases by removing the specific patch, but it would be useful for the Trusty package to be fixed.
$ apt-get source spice
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'spice' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/collab-maint/spice.git
Need to get 1,744 kB of source archives.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main spice 0.12.4-0nocelt2 (dsc) [2,236 B]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main spice 0.12.4-0nocelt2 (tar) [1,719 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main spice 0.12.4-0nocelt2 (diff) [23.0 kB]
Fetched 1,744 kB in 0s (2,169 kB/s)
gpgv: Signature made Fri 08 Nov 2013 10:55:11 AM EST using RSA key ID 68C097BC
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./spice_0.12.4-0nocelt2.dsc
dpkg-source: info: extracting spice in spice-0.12.4
dpkg-source: info: unpacking spice_0.12.4.orig.tar.bz2
dpkg-source: info: unpacking spice_0.12.4-0nocelt2.debian.tar.gz
dpkg-source: info: applying fix-tests-warnings.patch
dpkg-source: info: applying make-celt-to-be-optional.patch
dpkg-source: info: applying link-server-test-with-libm-libpthread.patch
dpkg-source: info: fuzz is not allowed when applying patches
dpkg-source: info: if patch 'link-server-test-with-libm-libpthread.patch' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: error: expected ^--- in line 2 of diff `spice-0.12.4/debian/patches/link-server-test-with-libm-libpthread.patch'
Unpack command 'dpkg-source -x spice_0.12.4-0nocelt2.dsc' failed.
Check if the 'dpkg-dev' package is installed.
E: Child process failed
The issue is a simple missing newline in the patch itself.
The source package for spice contains a malformed patch such that dpkg-source cannot extract it. This is fixed in later releases by removing the specific patch, but it would be useful for the Trusty package to be fixed.
$ apt-get source spice debian. org/collab- maint/spice. git us.archive. ubuntu. com/ubuntu/ trusty/main spice 0.12.4-0nocelt2 (dsc) [2,236 B] us.archive. ubuntu. com/ubuntu/ trusty/main spice 0.12.4-0nocelt2 (tar) [1,719 kB] us.archive. ubuntu. com/ubuntu/ trusty/main spice 0.12.4-0nocelt2 (diff) [23.0 kB] 0.12.4- 0nocelt2. dsc 12.4.orig. tar.bz2 12.4-0nocelt2. debian. tar.gz warnings. patch to-be-optional. patch test-with- libm-libpthread .patch test-with- libm-libpthread .patch' is correctly applied by quilt, use 'quilt refresh' to update it 0.12.4/ debian/ patches/ link-server- test-with- libm-libpthread .patch' 12.4-0nocelt2. dsc' failed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'spice' packaging is maintained in the 'Git' version control system at:
git://anonscm.
Need to get 1,744 kB of source archives.
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 1,744 kB in 0s (2,169 kB/s)
gpgv: Signature made Fri 08 Nov 2013 10:55:11 AM EST using RSA key ID 68C097BC
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./spice_
dpkg-source: info: extracting spice in spice-0.12.4
dpkg-source: info: unpacking spice_0.
dpkg-source: info: unpacking spice_0.
dpkg-source: info: applying fix-tests-
dpkg-source: info: applying make-celt-
dpkg-source: info: applying link-server-
dpkg-source: info: fuzz is not allowed when applying patches
dpkg-source: info: if patch 'link-server-
dpkg-source: error: expected ^--- in line 2 of diff `spice-
Unpack command 'dpkg-source -x spice_0.
Check if the 'dpkg-dev' package is installed.
E: Child process failed
The issue is a simple missing newline in the patch itself.