xfce4-panel: fix QA issue 'installed-vs-shipped'
PATCH 1/1 xfce4-panel: fix QA issue 'installed-vs-shipped'
Since commit 5f31db601408 [xfce4-panel: upgrade 4.12.2 -> 4.13.3] we are getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel:
Files/directories were installed but not shipped in any package:
/usr/lib64/xfce4/panel/plugins/liblauncher.la
/usr/lib64/xfce4/panel/plugins/libdirectorymenu.la
...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
---
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.13.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.13.3.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee" DEPENDS = "libxfce4util garcon libxfce4ui xfconf exo gtk+ gtk+3 dbus cairo virtual/libx11 libxml2 libwnck3 vala-native" -inherit xfce gtk-doc gobject-introspection distro_features_check gtk-icon-cache +inherit xfce gtk-doc gobject-introspection distro_features_check gtk-icon-cache remove-libtool REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.7.4
Quoted 14 lines · Mark Asselstine
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] we are getting a QA Warnings/Erros for 'installed-vs-shipped':ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Quoted 6 lines
Signed-off-by Mark Asselstine <[email protected]>---
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
various classes recipes: Remove FILES entries for dbg/dev packages
...
meta-xfce/classes/xfce.bbclass +0 -0
@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*
${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"
-
-FILES_${PN}-dev += "${libdir}/xfce4/*/*.la"
-FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"
...
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
Andreas
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"
Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Quoted 2 lines
Andreas
Quoted 61 lines · Mark Asselstine
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---
Quoted 6 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Just hit another one
---
ERROR: gtk-xfce-engine-3.2.0-r0 do_package: QA Issue: gtk-xfce-engine:
Files/directories were installed but not shipped in any package:
/usr/lib64/gtk-3.0/3.0.0/theming-engines/libxfce.la /usr/lib64/gtk-2.0/2.10.0/engines/libxfce.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
---
Andreas, seeing as you didn't hit the 'installed-vs-shipped' QA issue with thunar recipe I suspect the reason you didn't see this is not related to remove-libtool but rather that you have disabled the 'installed-vs-shipped' QA check itself.
MarkA
Quoted 12 lines
Quoted 3 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 70 lines · Mark Asselstine
Quoted 61 lines · Mark Asselstine
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---Quoted 6 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Quoted 14 lines
Just hit another one
---
ERROR: gtk-xfce-engine-3.2.0-r0do_package: QA Issue: gtk-xfce-engine:
Files/directories were installed but not shipped in any package:
/usr/lib64/gtk-3.0/3.0.0/theming-engines/libxfce.la/usr/lib64/gtk-2.0/2.10.0/engines/libxfce.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
---
Andreas, seeing as you didn't hit the 'installed-vs-shipped' QA issue with thunar recipe I suspect the reason you didn't see this is not related to remove-libtool but rather that you have disabled the 'installed-vs-shipped' QA check itself.
And xfce4-session now too. I found a reference from a few years back related to remove-libtool use on a per recipe basis
(http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html),
so definitely some concerns being expressed using this on a per recipe basis. On the other hand this just seems like we are setting traps for ourselves. If we compare to another common class, rm_work, I can pretty much toggle rm_work on or off and recipes are expected to just work in either case. This is definitely not the case with remove-libtool which gives the impression of being optional but if not enabled and I do basic QA checks I will get failures, as is evident in my current build.
MarkA
Quoted 16 lines
MarkA
Quoted 12 lines
Quoted 3 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Mark
It seems your distro is not inheriting it globally. Here I have INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
Quoted 123 lines · Mark Asselstine
Quoted 70 lines · Mark Asselstine
Quoted 61 lines · Mark Asselstine
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---Quoted 6 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Quoted 14 lines
Just hit another one
---
ERROR: gtk-xfce-engine-3.2.0-r0do_package: QA Issue: gtk-xfce-engine:
Files/directories were installed but not shipped in any package:
/usr/lib64/gtk-3.0/3.0.0/theming-engines/libxfce.la/usr/lib64/gtk-2.0/2.10.0/engines/libxfce.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
---
Andreas, seeing as you didn't hit the 'installed-vs-shipped' QA issue with thunar recipe I suspect the reason you didn't see this is not related to remove-libtool but rather that you have disabled the 'installed-vs-shipped' QA check itself.And xfce4-session now too. I found a reference from a few years back related to remove-libtool use on a per recipe basis
(http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html),
so definitely some concerns being expressed using this on a per recipe basis. On the other hand this just seems like we are setting traps for ourselves. If we compare to another common class,rm_work, I can pretty much togglerm_workon or off and recipes are expected to just work in either case. This is definitely not the case with remove-libtool which gives the impression of being optional but if not enabled and I do basic QA checks I will get failures, as is evident in my current build.MarkA
Quoted 16 lines
MarkA
Quoted 12 lines
Quoted 3 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"
So is remove-libtool a recipe or a distro option?
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
--Mark
Quoted 125 lines
Quoted 123 lines · Mark Asselstine
Quoted 70 lines · Mark Asselstine
Quoted 61 lines · Mark Asselstine
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---Quoted 6 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Quoted 14 lines
Just hit another one
---
ERROR: gtk-xfce-engine-3.2.0-r0do_package: QA Issue: gtk-xfce-engine:
Files/directories were installed but not shipped in any package:
/usr/lib64/gtk-3.0/3.0.0/theming-engines/libxfce.la/usr/lib64/gtk-2.0/2.10.0/engines/libxfce.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
---
Andreas, seeing as you didn't hit the 'installed-vs-shipped' QA issue with thunar recipe I suspect the reason you didn't see this is not related to remove-libtool but rather that you have disabled the 'installed-vs-shipped' QA check itself.And xfce4-session now too. I found a reference from a few years back related to remove-libtool use on a per recipe basis
(http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html),
so definitely some concerns being expressed using this on a per recipe basis. On the other hand this just seems like we are setting traps for ourselves. If we compare to another common class,rm_work, I can pretty much togglerm_workon or off and recipes are expected to just work in either case. This is definitely not the case with remove-libtool which gives the impression of being optional but if not enabled and I do basic QA checks I will get failures, as is evident in my current build.MarkA
Quoted 16 lines
MarkA
Quoted 12 lines
Quoted 3 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 9 lines · Mark Hatle
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
Quoted 9 lines
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
since we make it as part of meta/conf/distro/defaultsetup.conf its a default policy, its perfectly fine for a distro to disregard that however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.
Quoted 128 lines
--Mark
Quoted 125 lines
Quoted 123 lines · Mark Asselstine
Quoted 70 lines · Mark Asselstine
Quoted 61 lines · Mark Asselstine
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---Quoted 6 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Quoted 14 lines
Just hit another one
---
ERROR: gtk-xfce-engine-3.2.0-r0do_package: QA Issue: gtk-xfce-engine:
Files/directories were installed but not shipped in any package:
/usr/lib64/gtk-3.0/3.0.0/theming-engines/libxfce.la/usr/lib64/gtk-2.0/2.10.0/engines/libxfce.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
---
Andreas, seeing as you didn't hit the 'installed-vs-shipped' QA issue with thunar recipe I suspect the reason you didn't see this is not related to remove-libtool but rather that you have disabled the 'installed-vs-shipped' QA check itself.And xfce4-session now too. I found a reference from a few years back related to remove-libtool use on a per recipe basis
(http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html),
so definitely some concerns being expressed using this on a per recipe basis. On the other hand this just seems like we are setting traps for ourselves. If we compare to another common class,rm_work, I can pretty much togglerm_workon or off and recipes are expected to just work in either case. This is definitely not the case with remove-libtool which gives the impression of being optional but if not enabled and I do basic QA checks I will get failures, as is evident in my current build.MarkA
Quoted 16 lines
MarkA
Quoted 12 lines
Quoted 3 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 20 lines · Khem Raj
Quoted 9 lines · Mark Hatle
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
Quoted 9 lines
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
Quoted 6 lines
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.
Andreas,
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
MarkA
Quoted 133 lines
Quoted 128 lines
--Mark
Quoted 125 lines
Quoted 123 lines · Mark Asselstine
Quoted 70 lines · Mark Asselstine
Quoted 61 lines · Mark Asselstine
Quoted 21 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
Quoted 18 lines · <[email protected]> wrote:
Since commit
5f31db601408[xfce4-panel: upgrade 4.12.2 -> 4.13.3] weare getting a QA Warnings/Erros for 'installed-vs-shipped':
ERROR: xfce4-panel-4.13.3-r0 do_package: QA Issue: xfce4-panel: Files/directories were installed but not shipped in any package: /usr/lib64/xfce4/panel/plugins/liblauncher.la /usr/lib64/xfce4/panel/plugins/libdirectorymenu.la ...From various OE documents the .la files should not be packaged in either the main recipe package or the -dev package unless required. So inherit 'remove-libtool' to have all the .la files cleaned up as they don't appear to be necessary.
Signed-off-by Mark Asselstine <[email protected]>---
Quoted 7 lines
Quoted 3 lines
This error is currently only seen on master-next since the xfce4-panel upgrade commit is yet to make it into master. As such this fix is only applicable to master-next.
I think it was not the upgrade -> 4.13.3 commit but later commit / same series
Sure, I can update the commit log and send a V2 but first let's sort out the remainder.
Quoted 14 lines
various classes recipes: Remove FILES entries for dbg/dev packages
...meta-xfce/classes/xfce.bbclass +0
-0@@ -12,11 +12,3 @@ DEPENDS += "intltool-native" FILES_${PN} += "${datadir}/icons/* ${datadir}/applications/*${libdir}/xfce4/modules/*.so*"
FILES_${PN}-doc += "${datadir}/xfce4/doc"meta-xfce/classes/xfce.bbclass +0
-3- -FILES_${PN}-dev += "${libdir}/xfce4/*/*.la" -FILES_${PN}-dev += "${libdir}/xfce4/*/*/*.la"Quoted 5 lines
My builds have remove-libtool enabled so I did not see this QA warning/error.
Isn't remove-libtool enabled by default since pyro/2.3 - so that this patch is obsolete (and all the other same kind coming later)?
The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not enabled by default.
</note>
---Quoted 6 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
MarkA
Quoted 14 lines
Just hit another one
---
ERROR: gtk-xfce-engine-3.2.0-r0do_package: QA Issue: gtk-xfce-engine:
Files/directories were installed but not shipped in any package:
/usr/lib64/gtk-3.0/3.0.0/theming-engines/libxfce.la/usr/lib64/gtk-2.0/2.10.0/engines/libxfce.la
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.
---
Andreas, seeing as you didn't hit the 'installed-vs-shipped' QA issue with thunar recipe I suspect the reason you didn't see this is not related to remove-libtool but rather that you have disabled the 'installed-vs-shipped' QA check itself.And xfce4-session now too. I found a reference from a few years back related to remove-libtool use on a per recipe basis
(http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106323.html),
so definitely some concerns being expressed using this on a per recipe basis. On the other hand this just seems like we are setting traps for ourselves. If we compare to another common class,rm_work, I can pretty much togglerm_workon or off and recipes are expected to just work in either case. This is definitely not the case with remove-libtool which gives the impression of being optional but if not enabled and I do basic QA checks I will get failures, as is evident in my current build.MarkA
Quoted 16 lines
MarkA
Quoted 12 lines
Quoted 3 lines
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 29 lines · Mark Asselstine
Quoted 20 lines · Khem Raj
Quoted 9 lines · Mark Hatle
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
Quoted 9 lines
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
Quoted 6 lines
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.
Quoted 6 lines
Andreas,
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
This is in default features so I would not recommend revert, distros not using this feature are in best position to fix it, as I said before those patches are acceptable.
Quoted 33 lines · Khem Raj
Quoted 31 lines · Mark Asselstine
Quoted 20 lines · Khem Raj
Quoted 9 lines · Mark Hatle
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
Quoted 9 lines
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
Quoted 6 lines
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.Andreas,
Quoted 9 lines
Quoted 4 lines
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
This is in default features so I would not recommend revert, distros not using this feature are in best position to fix it, as I said before those patches are acceptable.
I'm confused. If you say it's a default option, and if you DON'T use it, then you are responsible for fixing this. I take that as you want patches to fix the issue.
The revert will return the original code that packages the .la files (if they exist) and is the 'patch'.
Right now we have a broken situation where it doesn't work, and a ton of .bbappends would be needed for a custom distro, and these bbappends would make it difficult to pass a Yocto Project compliance test.
(I don't really care either way if someone includes or doesn't .la files in a distribution -- just that since it's even an option -- both sides of the option should work. I'm also fine with saying OE only tests one side of the option, but that means patches should be accepted for the other side.)
--Mark
Quoted 32 lines · Mark Hatle
Quoted 31 lines · Khem Raj
Quoted 29 lines · Mark Asselstine
Quoted 26 lines · Khem Raj
Quoted 9 lines · Mark Hatle
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
Quoted 9 lines
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Andreas,
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
I prefer not to apply the patch (Or Khem shall I send a revert?). It is not a good idea to break builds for distros not following a recommendation. Anyway the mentioned patch was a cleanup: It is not worth to break things by a minor cleanup.
Andreas
Quoted 1 line · EDT Andreas Müller
On Mon, Jun 18, 2018 at 8:55 PM, Mark Hatle <[email protected]>
Quoted 6 lines · wrote:
Quoted 6 lines · Khem Raj
Quoted 5 lines
On Mon, Jun 18, 2018 at 11:09 AM Mark Asselstine
Quoted 2 lines · <[email protected]> wrote:
Quoted 1 line · Khem Raj
On Mon, Jun 18, 2018 at 10:54 AM Mark Hatle <[email protected]>
Quoted 32 lines · wrote:
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
I'm asking because doing this half-way is causing a lot of confusion.
Quoted 7 lines
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that
however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Andreas,
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
Quoted 4 lines
I prefer not to apply the patch (Or Khem shall I send a revert?). It is not a good idea to break builds for distros not following a recommendation. Anyway the mentioned patch was a cleanup: It is not worth to break things by a minor cleanup.
The patch doesn't just cleanup .la but also some .debug files, so I suppose it doesn't have to be a full revert. I can put together something which just gets things going with a return to including .la files in FILES if people would prefer that approach.
MarkA
Quoted 2 lines
Andreas
Quoted 47 lines · Mark Asselstine
Quoted 1 line · EDT Andreas Müller
On Mon, Jun 18, 2018 at 8:55 PM, Mark Hatle <[email protected]>
Quoted 6 lines · wrote:
Quoted 6 lines · Khem Raj
Quoted 5 lines
On Mon, Jun 18, 2018 at 11:09 AM Mark Asselstine
Quoted 2 lines · <[email protected]> wrote:
Quoted 1 line · Khem Raj
On Mon, Jun 18, 2018 at 10:54 AM Mark Hatle <[email protected]>
Quoted 32 lines · wrote:
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 24 lines
Quoted 10 lines · Khem Raj
Quoted 4 lines
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
I'm asking because doing this half-way is causing a lot of confusion.
Quoted 7 lines
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that
however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Andreas,
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
Quoted 4 lines
I prefer not to apply the patch (Or Khem shall I send a revert?). It is not a good idea to break builds for distros not following a recommendation. Anyway the mentioned patch was a cleanup: It is not worth to break things by a minor cleanup.
Quoted 7 lines
The patch doesn't just cleanup .la but also some .debug files, so I suppose it doesn't have to be a full revert. I can put together something which just gets things going with a return to including .la files in FILES if people would prefer that approach.
MarkA
Would be great if you could do that - thanks in advance
Andreas
Hi Mark
Quoted 40 lines · Mark Hatle
Quoted 38 lines · Khem Raj
Quoted 35 lines · Mark Asselstine
Quoted 20 lines · Khem Raj
Quoted 9 lines · Mark Hatle
Quoted 4 lines · Khem Raj
Hi Mark
It seems your distro is not inheriting it globally. Here I have
INHERIT_DISTRO?= "debian devshell sstate license remove-libtool"So is remove-libtool a recipe or a distro option?
Quoted 9 lines
I'm asking because doing this half-way is causing a lot of confusion.
If it's a distro option, then the recipes should work without it being set. If it's a recipe option, then the recipes that need it should use it.
Right now it doesn't seem to be working with these recipes because they don't package the .la files UNLESS it's enabled. So the fix is either to package them (by default) or inherit the remove-libtool.
Quoted 6 lines
since we make it as part of
meta/conf/distro/defaultsetup.confits a default policy, its perfectly fine for a distro to disregard that however, then you fall into a non-default case. I am willing to accept per recipe patches but I would recommend to consider it as a distro feature for your distro.Andreas,
Can you revert your "various classes recipes: Remove FILES entries for dbg/dev packages" then? If this is a distro feature then these recipes need to build without the QA issue and without the remove-libtool distro feature being set.
Quoted 8 lines
Quoted 4 lines
This is in default features so I would not recommend revert, distros not using this feature are in best position to fix it, as I said before those patches are acceptable.
I'm confused. If you say it's a default option, and if you DON'T use it, then you are responsible for fixing this. I take that as you want patches to fix the issue.
I want to encourage folks to use the default distro policy as much as possible.
Quoted 8 lines
The revert will return the original code that packages the .la files (if they exist) and is the 'patch'.
Right now we have a broken situation where it doesn't work, and a ton of .bbappends would be needed for a custom distro, and these bbappends would make it difficult to pass a Yocto Project compliance test.
I understand that, thats where I said, patches are acceptable to fix the fallouts for
custom distros but we should not block.
Quoted 6 lines
(I don't really care either way if someone includes or doesn't .la files in a distribution -- just that since it's even an option -- both sides of the option should work. I'm also fine with saying OE only tests one side of the option, but that means patches should be accepted for the other side.)
--Mark
Quoted 18 lines · Mark Asselstine
Quoted 7 lines · EDT Andreas Müller
On Mon, Jun 18, 2018 at 4:45 PM, Mark Asselstine
My builds have remove-libtool enabled so I did not see this QA warning/error.Isn't remove-libtool enabled by default since pyro/2.3 - so that this
patch is obsolete (and all the other same kind coming later)?The documentation still indicates:
---
<note>
The <filename>remove-libtool</filename> class is not
enabled by
default.
</note>
---
Quoted 5 lines
So as far as I know this still needs to be handled recipe to recipe by inheriting the remove-libtool class in the affected recipes. I have done builds without manipulating the generated local.conf which seem to confirm this but I could be wrong. Add RP who might have some guidance.
Removing the libtool files became the project default a while ago (Jan 2017):
meta/conf/distro/defaultsetup.conf:INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
so I suspect you're in the minority not using that now.
Cheers,
Richard
On Mon, Jun 18, 2018 at 11:42 PM, Richard Purdie <[email protected]> wrote:
Off-Topic / FYI for me gmail considered your email spam
Quoted 7 lines
Removing the libtool files became the project default a while ago (Jan 2017):
meta/conf/distro/defaultsetup.conf:INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
so I suspect you're in the minority not using that now.
Maybe true. But breaking builds consumes resources on many sides - this thread is a good example
The more I think about this:
* Why is remove-libtool something a distro can override? If causing trouble it can be deactivated recipe-wise.
- or
* does anybody see a problem with inherit remove-libtool for all xfce recipes in xfce.bbclass?
Andreas
Quoted 13 lines · Andreas Müller
On Mon, Jun 18, 2018 at 11:42 PM, Richard Purdie <[email protected]> wrote:
Off-Topic / FYI for me gmail considered your email spamQuoted 7 lines
Removing the libtool files became the project default a while ago (Jan 2017):
meta/conf/distro/defaultsetup.conf:INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
so I suspect you're in the minority not using that now.
Maybe true. But breaking builds consumes resources on many sides - this thread is a good example
Quoted 1 line
Quoted 6 lines
The more I think about this:
* Why is remove-libtool something a distro can override? If causing trouble it can be deactivated recipe-wise.
That was my feeling as well as we were having this discussion, without digging into the history it felt as if this should have been made core functionality and not optional, especially given the opportunity for recipes to opt out. At any rate I am about to send a commit to get things buildable for when the 'remove-libtool' distro feature is absent and as long as it remains optional I suppose all recipes should function with and without the feature.
MarkA
Quoted 10 lines
- or
* does anybody see a problem with inherit remove-libtool for all xfce recipes in xfce.bbclass?Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 23 lines · Mark Asselstine
Quoted 13 lines · Andreas Müller
On Mon, Jun 18, 2018 at 11:42 PM, Richard Purdie <[email protected]> wrote:
Off-Topic / FYI for me gmail considered your email spamQuoted 7 lines
Removing the libtool files became the project default a while ago (Jan 2017):
meta/conf/distro/defaultsetup.conf:INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
so I suspect you're in the minority not using that now.
Maybe true. But breaking builds consumes resources on many sides - this thread is a good example
Quoted 1 line
Quoted 6 lines
The more I think about this:
* Why is remove-libtool something a distro can override? If causing trouble it can be deactivated recipe-wise.
Quoted 8 lines
That was my feeling as well as we were having this discussion, without digging into the history it felt as if this should have been made core functionality and not optional, especially given the opportunity for recipes to opt out. At any rate I am about to send a commit to get things buildable for when the 'remove-libtool' distro feature is absent and as long as it remains optional I suppose all recipes should function with and without the feature.
Richard,
initially its good to have it overridable, so give some soak time so a weak assignment
was right thing IMO so the distros could have some time to soak it. but may be its
time to enforce it in oe-core.
Mark
I would also also suggest that you switch to using it in your distro, as well besides the
patches which is fine.
Quoted 17 lines
MarkA
Quoted 10 lines
- or
* does anybody see a problem with inherit remove-libtool for all xfce recipes in xfce.bbclass?Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 28 lines · Mark Asselstine
Quoted 16 lines · Andreas Müller
On Mon, Jun 18, 2018 at 11:42 PM, Richard Purdie <[email protected]> wrote:
Off-Topic / FYI for me gmail considered your email spamQuoted 9 lines
Removing the libtool files became the project default a while ago (Jan
2017):meta/conf/distro/defaultsetup.conf:INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
so I suspect you're in the minority not using that now.
Maybe true. But breaking builds consumes resources on many sides - this thread is a good example
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/conf/distro
/defaultsetup.conf?id=3e2a47fdfceccd5f8832235b7a2df83076e84a98The more I think about this:
* Why is remove-libtool something a distro can override? If causing trouble it can be deactivated recipe-wise.
Quoted 7 lines
That was my feeling as well as we were having this discussion, without digging into the history it felt as if this should have been made core functionality and not optional, especially given the opportunity for recipes to opt out. At any rate I am about to send a commit to get things buildable for when the 'remove-libtool' distro feature is absent and as long as it remains optional I suppose all recipes should function with and without the feature.
There are many different features which "distro maintainers" can turn on/off which can break the builds. I was always reluctant to add the libtool change but we reached the point where it simply no longer made sense to keep those files around, they caused more problems than it was worth effort for.
Its not a setting I'd recommend anyone use now because as you're finding, the .la handling metadata is bitrotting. As with many things in the project, its "at your own risk and maintenance burden". Its not a combination I have any plans to add tests for.
The better solution would be to drop all the .la file FILES directives and handle .la files in a similar way to the way we handle debug files into -dbg packages. If anyone cares at this point.
Cheers,
Richard
Quoted 43 lines · Richard Purdie
Quoted 28 lines · Mark Asselstine
Quoted 16 lines · Andreas Müller
On Mon, Jun 18, 2018 at 11:42 PM, Richard Purdie <[email protected]> wrote:
Off-Topic / FYI for me gmail considered your email spamQuoted 9 lines
Removing the libtool files became the project default a while ago (Jan
2017):meta/conf/distro/defaultsetup.conf:INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
so I suspect you're in the minority not using that now.
Maybe true. But breaking builds consumes resources on many sides - this thread is a good example
Quoted 1 line
Quoted 8 lines
Quoted 3 lines
http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/conf/distro
/defaultsetup.conf?id=3e2a47fdfceccd5f8832235b7a2df83076e84a98The more I think about this:
* Why is remove-libtool something a distro can override? If causing trouble it can be deactivated recipe-wise.
Quoted 7 lines
That was my feeling as well as we were having this discussion, without digging into the history it felt as if this should have been made core functionality and not optional, especially given the opportunity for recipes to opt out. At any rate I am about to send a commit to get things buildable for when the 'remove-libtool' distro feature is absent and as long as it remains optional I suppose all recipes should function with and without the feature.
There are many different features which "distro maintainers" can turn on/off which can break the builds. I was always reluctant to add the libtool change but we reached the point where it simply no longer made sense to keep those files around, they caused more problems than it was worth effort for.
Quoted 9 lines
Its not a setting I'd recommend anyone use now because as you're finding, the .la handling metadata is bitrotting. As with many things in the project, its "at your own risk and maintenance burden". Its not a combination I have any plans to add tests for.
The better solution would be to drop all the .la file FILES directives and handle .la files in a similar way to the way we handle debug files into -dbg packages. If anyone cares at this point.
Not worth the effort IMO
Quoted 10 lines
Cheers,
Richard
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel