[Spice-devel] Minute bug fix for spice 0.12.4 for Debian based linux

sujay sujaybiz at gmail.com
Wed Mar 4 08:25:27 PST 2015


Hi,

I recently found downloading spice source (version 0.12.4) on Ubuntu
14.04.2 Linux from Ubuntu repo creates an error as shown below

{{{
$ 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://in.archive.ubuntu.com/ubuntu/ trusty/main spice
0.12.4-0nocelt2 (dsc) [2,236 B]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty/main spice
0.12.4-0nocelt2 (tar) [1,719 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty/main spice
0.12.4-0nocelt2 (diff) [23.0 kB]
Fetched 1,744 kB in 3s (487 kB/s)
gpgv: Signature made Friday 08 November 2013 09:25:11 PM IST 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
}}}

Close verification of the error i found it was problem with the creation of
the patch named "link-server-test-with-libm-libpthread.patch", which needs
to be corrected as following:
{{{
--- orig.link-server-test-with-libm-libpthread.patch    2015-03-04
21:38:43.148064124 +0530
+++ link-server-test-with-libm-libpthread.patch 2015-03-04
21:39:01.952157368 +0530
@@ -1,4 +1,5 @@
-Compile server/test/* with -lm -lpthread option, or compile will fail---
a/server/tests/Makefile.am
+Compile server/test/* with -lm -lpthread option, or compile will fail
+--- a/server/tests/Makefile.am
 +++ b/server/tests/Makefile.am
 @@ -17,6 +17,7 @@
  LDADD =
}}}

Hope this could be updated in future releases, if i am posting in a wrong
listing. Let me know

-Sujay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150304/f8e08706/attachment.html>


More information about the Spice-devel mailing list