All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] systemd: fix PACKAGECONFIG for lz4
@ 2017-12-21  4:41 Robert Yang
  2017-12-21  4:41 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2017-12-21  4:41 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 978472c58629d1448399207873bbead96b27102e:

  image.bbclass: Add additional bb.debug to help track 12304 (2017-12-18 18:02:12 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/systemd_lz4
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/systemd_lz4

Robert Yang (1):
  systemd: fix PACKAGECONFIG for lz4

 meta/recipes-core/systemd/systemd_234.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] systemd: fix PACKAGECONFIG for lz4
  2017-12-21  4:41 [PATCH 0/1] systemd: fix PACKAGECONFIG for lz4 Robert Yang
@ 2017-12-21  4:41 ` Robert Yang
  2017-12-21  5:55   ` ChenQi
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2017-12-21  4:41 UTC (permalink / raw)
  To: openembedded-core

Fixed:
MACHINE = "qemux86-64"
PACKAGECONFIG_append_pn-systemd = "lz4"
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"

$ bitbake core-image-minimal
$ runqemu tmp/deploy/images/qemux86-64/ nographic
/sbin/init: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory

Add lz4 to RDEPENDS to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-core/systemd/systemd_234.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb
index 778b868..ed82c33 100644
--- a/meta/recipes-core/systemd/systemd_234.bb
+++ b/meta/recipes-core/systemd/systemd_234.bb
@@ -122,7 +122,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig"
 PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn"
 PACKAGECONFIG[localed] = "--enable-localed,--disable-localed"
 PACKAGECONFIG[logind] = "--enable-logind,--disable-logind"
-PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
+PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4,lz4"
 PACKAGECONFIG[machined] = "--enable-machined,--disable-machined"
 PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
 PACKAGECONFIG[microhttpd] = "--enable-microhttpd,--disable-microhttpd,libmicrohttpd"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] systemd: fix PACKAGECONFIG for lz4
  2017-12-21  4:41 ` [PATCH 1/1] " Robert Yang
@ 2017-12-21  5:55   ` ChenQi
  2017-12-21 14:17     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: ChenQi @ 2017-12-21  5:55 UTC (permalink / raw)
  To: Robert Yang, openembedded-core

The problem seems to be that the lz4 packaging problem.
lz4-ptest is packages as liblz4 and is installed instead of the lz4 package.

Best Regards,
Chen Qi

On 12/21/2017 12:41 PM, Robert Yang wrote:
> Fixed:
> MACHINE = "qemux86-64"
> PACKAGECONFIG_append_pn-systemd = "lz4"
> DISTRO_FEATURES_append = " systemd"
> DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
>
> $ bitbake core-image-minimal
> $ runqemu tmp/deploy/images/qemux86-64/ nographic
> /sbin/init: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory
>
> Add lz4 to RDEPENDS to fix the problem.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>   meta/recipes-core/systemd/systemd_234.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_234.bb b/meta/recipes-core/systemd/systemd_234.bb
> index 778b868..ed82c33 100644
> --- a/meta/recipes-core/systemd/systemd_234.bb
> +++ b/meta/recipes-core/systemd/systemd_234.bb
> @@ -122,7 +122,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig"
>   PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn"
>   PACKAGECONFIG[localed] = "--enable-localed,--disable-localed"
>   PACKAGECONFIG[logind] = "--enable-logind,--disable-logind"
> -PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
> +PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4,lz4"
>   PACKAGECONFIG[machined] = "--enable-machined,--disable-machined"
>   PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
>   PACKAGECONFIG[microhttpd] = "--enable-microhttpd,--disable-microhttpd,libmicrohttpd"




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] systemd: fix PACKAGECONFIG for lz4
  2017-12-21  5:55   ` ChenQi
@ 2017-12-21 14:17     ` Burton, Ross
  2017-12-22  1:43       ` Robert Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2017-12-21 14:17 UTC (permalink / raw)
  To: ChenQi; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

On 21 December 2017 at 05:55, ChenQi <Qi.Chen@windriver.com> wrote:

> The problem seems to be that the lz4 packaging problem.
> lz4-ptest is packages as liblz4 and is installed instead of the lz4
> package.
>

So that's because lz4-ptest ships a copy of the build tree (so has a
liblz5.so.*) and is before lz4 in PACKAGES.

I've got a patch here to remove the ptest bits from lz4 as shipping an
entire build tree isn't a good idea, and will look at fixing debian.bbclass
so it doesn't consider libraries outside of $libdir et al.

Ross

[-- Attachment #2: Type: text/html, Size: 917 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] systemd: fix PACKAGECONFIG for lz4
  2017-12-21 14:17     ` Burton, Ross
@ 2017-12-22  1:43       ` Robert Yang
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2017-12-22  1:43 UTC (permalink / raw)
  To: Burton, Ross, ChenQi; +Cc: OE-core

Hi Ross,

On 12/21/2017 10:17 PM, Burton, Ross wrote:
> On 21 December 2017 at 05:55, ChenQi <Qi.Chen@windriver.com 
> <mailto:Qi.Chen@windriver.com>> wrote:
> 
>     The problem seems to be that the lz4 packaging problem.
>     lz4-ptest is packages as liblz4 and is installed instead of the lz4 package.
> 
> 
> So that's because lz4-ptest ships a copy of the build tree (so has a 
> liblz5.so.*) and is before lz4 in PACKAGES.
> 
> I've got a patch here to remove the ptest bits from lz4 as shipping an entire 
> build tree isn't a good idea, and will look at fixing debian.bbclass so it 
> doesn't consider libraries outside of $libdir et al.

Thank you very much.

// Robert

> 
> Ross


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-22  1:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21  4:41 [PATCH 0/1] systemd: fix PACKAGECONFIG for lz4 Robert Yang
2017-12-21  4:41 ` [PATCH 1/1] " Robert Yang
2017-12-21  5:55   ` ChenQi
2017-12-21 14:17     ` Burton, Ross
2017-12-22  1:43       ` Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.