Skip to contentSkip to conversation

xfce4-session: exclude machine-host dependency with SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

PATCH In review Martin Jansa 2 participants 4 messages Nov 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfce4-session: exclude machine-host dependency with SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

* this whole machine-host is very bad idea, all changes from postinst
will be removed when netbase package is upgraded (it has CONFFILES
set but most users won't know that this entry was appended by
machine-host package)
* see:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: xfce4-session different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] to ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash 7b3f9a883729dfe908e17980476d10e2
changed to
meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash f51309cb641c82a6d8e2dc5387bb6484
Hash for dependent task xfce4-sessionmachine-host.bb.do_packagedata changed from 7b3f9a883729dfe908e17980476d10e2 to f51309cb641c82a6d8e2dc5387bb6484

---
 meta-xfce/conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta-xfce/conf/layer.conf +4 -0
index 55bcef6..64b1077 100644
@@ -17,3 +17,7 @@ LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "gnome-layer"
 LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "meta-python"
+
+SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
+  xfce4-session->machine-host \
+"
Signature · 1 line
2.6.3
#1 lore raw
Quoted 24 lines · Martin Jansa

* this whole machine-host is very bad idea, all changes from postinst
will be removed when netbase package is upgraded (it has CONFFILES
set but most users won't know that this entry was appended by
machine-host package)
* see:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: xfce4-session different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] to ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash 7b3f9a883729dfe908e17980476d10e2
changed to
meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash f51309cb641c82a6d8e2dc5387bb6484
Hash for dependent task xfce4-sessionmachine-host.bb.do_packagedata changed from 7b3f9a883729dfe908e17980476d10e2 to f51309cb641c82a6d8e2dc5387bb6484

---
 meta-xfce/conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta-xfce/conf/layer.conf +0 -0
index 55bcef6..64b1077 100644

meta-xfce/conf/layer.conf LAYERDEPENDS_xfce-layer += "openembedded-layer"

Quoted 8 lines
meta-xfce/conf/layer.conf +4 -1
@@ -17,3 +17,7 @@ LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "gnome-layer"
 LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "meta-python"
+
+SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
+  xfce4-session->machine-host \
+"
--

I missed that - there should be another way to go for this problem. Two questions

* What exactly does SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS do? I checked your original patch in oe-core but do not understand what the result of setting SIGGEN_EXCLUDE_.. is.
* How much time do you give me to come around with a proper solution - without machine-host quirk? I would like to avoid getting this into jethro.

Andreas

#2 lore raw
Quoted 36 lines · Andreas Müller
Quoted 24 lines · Martin Jansa

* this whole machine-host is very bad idea, all changes from postinst
will be removed when netbase package is upgraded (it has CONFFILES
set but most users won't know that this entry was appended by
machine-host package)
* see:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: xfce4-session different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] to ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash 7b3f9a883729dfe908e17980476d10e2
changed to
meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash f51309cb641c82a6d8e2dc5387bb6484
Hash for dependent task xfce4-sessionmachine-host.bb.do_packagedata changed from 7b3f9a883729dfe908e17980476d10e2 to f51309cb641c82a6d8e2dc5387bb6484

---
 meta-xfce/conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta-xfce/conf/layer.conf +0 -0
index 55bcef6..64b1077 100644

meta-xfce/conf/layer.conf LAYERDEPENDS_xfce-layer += "openembedded-layer"

Quoted 8 lines
meta-xfce/conf/layer.conf +4 -1
@@ -17,3 +17,7 @@ LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "gnome-layer"
 LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "meta-python"
+
+SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
+  xfce4-session->machine-host \
+"
--

I missed that - there should be another way to go for this problem. Two questions

Quoted 3 lines

* What exactly does SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS do? I checked your original patch in oe-core but do not understand what the result of setting SIGGEN_EXCLUDE_.. is.

http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-SIGGEN_EXCLUDERECIPES_ABISAFE

Does this help? In short it will prevent sstate signature handler in including the task signatures of recipes included in these variables.

SIGGEN_EXCLUDERECIPES_ABISAFE excludes it from everywhere SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS excludes it only when counting signature of given recipes.

Quoted 3 lines

* How much time do you give me to come around with a proper solution - without machine-host quirk? I would like to avoid getting this into jethro.

machine-host recipe is already in jethro (released yesterday) or do you want to avoid this SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS addition? I want to get all these fixes for signatures and dependencies soon - I'm tempted blocking new changes to meta-oe layers and not updating oe-core until the reports are clean - the issues were reported months ago and very few fixes were sent since then.

Adding SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS doesn't make machine-host quirk works, I would prefer you find proper solution and then we'll get rid of both machine-host and SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS, ok?

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 51 lines · Martin Jansa
Quoted 36 lines · Andreas Müller
Quoted 24 lines · Martin Jansa

* this whole machine-host is very bad idea, all changes from postinst
will be removed when netbase package is upgraded (it has CONFFILES
set but most users won't know that this entry was appended by
machine-host package)
* see:
http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: xfce4-session different signature for task do_package_write_ipk.sigdata between qemux86copy and qemux86
runtaskdeps changed from ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] to ['dbusdbus_1.8.20.bb.do_packagedata', 'opkg-utilsopkg-utils_git.bb.do_populate_sysroot:virtual:native', 'pseudopseudo_1.7.4.bb.do_populate_sysroot:virtual:native', 'upowerupower_0.9.14.bb.do_packagedata', 'xfce4-sessionmachine-host.bb.do_packagedata', 'xfce4-sessionxfce4-session_4.12.1.bb.do_package', 'xfce4-sessionxfce4-session_4.12.1.bb.do_packagedata', 'xorg-appiceauth_1.0.7.bb.do_packagedata', 'xorg-appxinit_1.3.4.bb.do_packagedata'] meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash 7b3f9a883729dfe908e17980476d10e2
changed to
meta-openembedded/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb.do_packagedata with hash f51309cb641c82a6d8e2dc5387bb6484
Hash for dependent task xfce4-sessionmachine-host.bb.do_packagedata changed from 7b3f9a883729dfe908e17980476d10e2 to f51309cb641c82a6d8e2dc5387bb6484

---
 meta-xfce/conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)
meta-xfce/conf/layer.conf +0 -0
index 55bcef6..64b1077 100644

meta-xfce/conf/layer.conf LAYERDEPENDS_xfce-layer += "openembedded-layer"

Quoted 8 lines
meta-xfce/conf/layer.conf +4 -1
@@ -17,3 +17,7 @@ LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "gnome-layer"
 LAYERDEPENDS_xfce-layer += "openembedded-layer"
 LAYERDEPENDS_xfce-layer += "meta-python"
+
+SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
+  xfce4-session->machine-host \
+"
--

I missed that - there should be another way to go for this problem. Two questions

Quoted 3 lines

* What exactly does SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS do? I checked your original patch in oe-core but do not understand what the result of setting SIGGEN_EXCLUDE_.. is.

http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-SIGGEN_EXCLUDERECIPES_ABISAFE

Does this help? In short it will prevent sstate signature handler in including the task signatures of recipes included in these variables.

SIGGEN_EXCLUDERECIPES_ABISAFE excludes it from everywhere SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS excludes it only when counting signature of given recipes.

Quoted 6 lines
Quoted 3 lines

* How much time do you give me to come around with a proper solution - without machine-host quirk? I would like to avoid getting this into jethro.

machine-host recipe is already in jethro (released yesterday) or do you want to avoid this SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS addition?

The machine-host solution - introduced by me if I remember correct - is crap (as you wrote more polite in commit message). I would like to remove this recipe and find another solution. Because of I am not able to tell when I can take care I suggest: Please continue as planned before my email. As soon as I have a solution I will send patches for master and pull-requests for jethro.

Andreas