Skip to contentSkip to conversation

spice: Upgrade 0.14.0 -> 0.14.1

PATCH Superseded He Zhe 2 participants 4 messages Sep 4, 2018 – Sep 5, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

He Zhe

author
#0 lore raw

PATCH 1/1 spice: Upgrade 0.14.0 -> 0.14.1

Adjust location of spice-common source as new spice asks spice-common to be put under "subprojects" directory.

---
 meta-networking/recipes-support/spice/spice_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta-networking/recipes-support/spice/spice_git.bb +5 -4
index 38b8bf306..022a09e19 100644
@@ -13,18 +13,19 @@ architectures."
 LICENSE = "BSD & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-PV = "0.14.0+git${SRCPV}"
+PV = "0.14.1+git${SRCPV}"
 
-SRCREV_spice = "f1050bfc76c9c4146257e087baf74e0b62d7d218"
-SRCREV_spice-common = "95743f40a2da39e0a19859c305e69e2c99d39e42"
+SRCREV_spice = "eaa07ef15cfc3bf57a69da2576af66f028787774"
+SRCREV_spice-common = "6b93b3fce8909b836ef1d1434d191900d8aa00be"
 
 SRCREV_FORMAT = "spice_spice-common"
 
 SRC_URI = " \
     git://anongit.freedesktop.org/spice/spice;name=spice \
-    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
+    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common \
     file://0001-Convert-pthread_t-to-be-numeric.patch \
 "
+
 FOO = "\
     file://0001-build-allow-separated-src-and-build-dirs.patch \
 "
Signature · 1 line
2.11.0
#1 lore raw

Fails to build ( with clang )
http://errors.yoctoproject.org/Errors/Details/190549/

Quoted 45 lines · He Zhe

Adjust location of spice-common source as new spice asks spice-common to be put under "subprojects" directory.

---
 meta-networking/recipes-support/spice/spice_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta-networking/recipes-support/spice/spice_git.bb +5 -5
index 38b8bf306..022a09e19 100644
@@ -13,18 +13,19 @@ architectures."
 LICENSE = "BSD & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-PV = "0.14.0+git${SRCPV}"
+PV = "0.14.1+git${SRCPV}"
 
-SRCREV_spice = "f1050bfc76c9c4146257e087baf74e0b62d7d218"
-SRCREV_spice-common = "95743f40a2da39e0a19859c305e69e2c99d39e42"
+SRCREV_spice = "eaa07ef15cfc3bf57a69da2576af66f028787774"
+SRCREV_spice-common = "6b93b3fce8909b836ef1d1434d191900d8aa00be"
 
 SRCREV_FORMAT = "spice_spice-common"
 
 SRC_URI = " \
     git://anongit.freedesktop.org/spice/spice;name=spice \
-    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
+    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common \
     file://0001-Convert-pthread_t-to-be-numeric.patch \
 "
+
 FOO = "\
     file://0001-build-allow-separated-src-and-build-dirs.patch \
 "
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#2 lore raw

Hi Raj,

I tried to config it as nodistro+musl+clang, but got the following. Could you please help fix spice for clang by the way? Thanks.

ERROR: clang-native-6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0 do_patch: Command Error: 'quilt --quiltrc /build/spice/tmp-musl/work/x86_64-linux/clang-native/6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch 0009-clang-Driver-Avoid-invalidated-iterator-in-insertTar.patch
patching file tools/driver/driver.cpp
Hunk #1 FAILED at 212.
1 out of 1 hunk FAILED -- rejects in file tools/driver/driver.cpp
Patch 0009-clang-Driver-Avoid-invalidated-iterator-in-insertTar.patch can be reverse-applied
ERROR: clang-native-6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /build/spice/tmp-musl/work/x86_64-linux/clang-native/6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0/temp/log.do_patch.3654
ERROR: Task (virtual:native:/meta-clang/recipes-devtools/clang/clang_git.bb:do_patch) failed with exit code '1'

Zhe

Quoted 48 lines · Khem Raj

Fails to build ( with clang )
http://errors.yoctoproject.org/Errors/Details/190549/

Quoted 44 lines · He Zhe

Adjust location of spice-common source as new spice asks spice-common to be put under "subprojects" directory.

---
 meta-networking/recipes-support/spice/spice_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta-networking/recipes-support/spice/spice_git.bb +5 -5
index 38b8bf306..022a09e19 100644
@@ -13,18 +13,19 @@ architectures."
 LICENSE = "BSD & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-PV = "0.14.0+git${SRCPV}"
+PV = "0.14.1+git${SRCPV}"
 
-SRCREV_spice = "f1050bfc76c9c4146257e087baf74e0b62d7d218"
-SRCREV_spice-common = "95743f40a2da39e0a19859c305e69e2c99d39e42"
+SRCREV_spice = "eaa07ef15cfc3bf57a69da2576af66f028787774"
+SRCREV_spice-common = "6b93b3fce8909b836ef1d1434d191900d8aa00be"
 
 SRCREV_FORMAT = "spice_spice-common"
 
 SRC_URI = " \
     git://anongit.freedesktop.org/spice/spice;name=spice \
-    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
+    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common \
     file://0001-Convert-pthread_t-to-be-numeric.patch \
 "
+
 FOO = "\
     file://0001-build-allow-separated-src-and-build-dirs.patch \
 "
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 5 lines · He Zhe

Hi Raj,

I tried to config it as nodistro+musl+clang, but got the following. Could you please help fix spice for clang by the way? Thanks.

Quoted 10 lines

ERROR: clang-native-6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0 do_patch: Command Error: 'quilt --quiltrc /build/spice/tmp-musl/work/x86_64-linux/clang-native/6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0009-clang-Driver-Avoid-invalidated-iterator-in-insertTar.patch
patching file tools/driver/driver.cpp
Hunk #1 FAILED at 212.
1 out of 1 hunk FAILED -- rejects in file tools/driver/driver.cpp
Patch 0009-clang-Driver-Avoid-invalidated-iterator-in-insertTar.patch can be reverse-applied
ERROR: clang-native-6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /build/spice/tmp-musl/work/x86_64-linux/clang-native/6.0.1+gitAUTOINC+5136df4d08_2f27999df4-r0/temp/log.do_patch.3654
ERROR: Task (virtual:native:/meta-clang/recipes-devtools/clang/clang_git.bb:do_patch) failed with exit code '1'

user clang-7.0 branch

Quoted 53 lines

Zhe

Quoted 48 lines · Khem Raj

Fails to build ( with clang )
http://errors.yoctoproject.org/Errors/Details/190549/

Quoted 44 lines · He Zhe

Adjust location of spice-common source as new spice asks spice-common to be put under "subprojects" directory.

---
 meta-networking/recipes-support/spice/spice_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta-networking/recipes-support/spice/spice_git.bb +5 -5
index 38b8bf306..022a09e19 100644
@@ -13,18 +13,19 @@ architectures."
 LICENSE = "BSD & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-PV = "0.14.0+git${SRCPV}"
+PV = "0.14.1+git${SRCPV}"
 
-SRCREV_spice = "f1050bfc76c9c4146257e087baf74e0b62d7d218"
-SRCREV_spice-common = "95743f40a2da39e0a19859c305e69e2c99d39e42"
+SRCREV_spice = "eaa07ef15cfc3bf57a69da2576af66f028787774"
+SRCREV_spice-common = "6b93b3fce8909b836ef1d1434d191900d8aa00be"
 
 SRCREV_FORMAT = "spice_spice-common"
 
 SRC_URI = " \
     git://anongit.freedesktop.org/spice/spice;name=spice \
-    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
+    git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common \
     file://0001-Convert-pthread_t-to-be-numeric.patch \
 "
+
 FOO = "\
     file://0001-build-allow-separated-src-and-build-dirs.patch \
 "
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel