[genivi-dlt] [meta-ivi] [PATCH] dlt-daemon: remove obsolete gzipnative bbclass inheritance

Stephen Lawrence stephen.lawrence at renesas.com
Mon Apr 10 13:59:20 EDT 2017


Hi,

As discussed in the BIT I have raised JIRA ticket DLT-4 [1] for this issue of zip build 
dependencies in the dlt-daemon build.

[1] https://at.projects.genivi.org/jira/browse/DLT-4

Regards

Steve

> -----Original Message-----
> From: genivi-meta-ivi [mailto:genivi-meta-ivi-bounces at lists.genivi.org] On
> Behalf Of Gunnar Andersson
> Sent: 23 March 2017 21:51
> To: meta-ivi mailing list <genivi-meta-ivi at lists.genivi.org>; Oleksandr
> Kravchuk <oleksandr.kravchuk at pelagicore.com>; yong-
> il.joh at windriver.com
> Cc: genivi-diagnostic-log-and-trace-request at lists.genivi.org
> Subject: Re: [meta-ivi] [PATCH] dlt-daemon: remove obsolete gzipnative
> bbclass inheritance
> 
> Me again.  Now about the actual problem...
> 
> On Thu, 2017-03-23 at 13:24 +0100, Gunnar Andersson wrote:
> > On Tue, 2017-03-21 at 16:34 +0100, Oleksandr Kravchuk wrote:
> > > gzipnative class is obsolete and has been removed from Poky "Morty"
> 2.2.
> >
> 
> > I would note that go.cd build currently fails on dlt-daemon and it
> > complains about some missing gzip.  Please see ref [1]
> >
> > It's possible this works on other computers builds due to some packages
> > being installed but it should work on a clean machine also I guess?
> > /bin/gzip does exist on the agent for what it's worth but it might be
> > something different I don't know.
> 
> So I looked again and the CMakefile clearly looks for a gzip program in some
> known directories like /bin and /usr/bin.  As I said it exists on the agent
> host directory in /bin/gzip as far as I could see, but maybe this is not
> what is being searched when running in Yocto with some kind of chroot?
> 
> From what I can tell it's the gzip program it is looking for, not zlib.
> 
> >
> > Does the recipe need to depend on something more?  I'm guessing it
> needs
> > gzip or zlib to be a "-native" package maybe?
> 
> So again I wonder, would be worthwhile to add gzip-native instead, if
> there's some issue with pigz?  I mean gzipnative class had that also didn't
> it?  Just thinking out loud here..
> 
> (I'm adding the DLT list also to the conversation)
> 
> Is anyone else getting the same build failure locally or is it only in the
> CI build?
> 
> >
> > It certainly looks suspicious in relation to this patch.  Do you have any
> > idea Oleksandr?  (You can log in with the guest account that is written on
> > the login page).
> >
> >
> > - Gunnar
> > [1] https://go.genivi.org/go/tab/build/detail/yocto-baseline-next/8/Build/
> > 1/
> > init_and_bitbake
> >
> >
> > >
> > > Signed-off-by: Oleksandr Kravchuk
> <oleksandr.kravchuk at pelagicore.com>
> > > ---
> > >  meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta-ivi/recipes-extended/dlt-daemon/dlt-
> daemon_2.11.1.bb
> > > b/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb
> > > index 91ed440..a20df2a 100644
> > > --- a/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb
> > > +++ b/meta-ivi/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb
> > > @@ -13,7 +13,7 @@ LICENSE = "MPLv2"
> > >  LIC_FILES_CHKSUM =
> > > "file://LICENSE.txt;md5=99ba60c3fad7eaf8c56bca6dd75cba09 \
> > >                      file://MPL.txt;md5=ccdb2761cef70c8b2612624c323f89dc
> > > "
> > >
> > > -DEPENDS = "dbus zlib"
> > > +DEPENDS = "dbus zlib pigz-native"
> > >
> > >  SRCREV = "b8b3ea3a31f7deb681941a19878c82e7b7350ae7"
> > >  SRC_URI =
> > > "git://git.projects.genivi.org/${PN}.git;branch=v2.11.x;protocol=http \
> > > @@ -23,7 +23,7 @@ SRC_URI =
> > > "git://git.projects.genivi.org/${PN}.git;branch=v2.11.x;protocol=http
> > >             file://0004-Modify-systemd-config-directory.patch"
> > >  S = "${WORKDIR}/git"
> > >
> > > -inherit gzipnative autotools gettext cmake systemd
> > > +inherit autotools gettext cmake systemd
> > >
> > >  PACKAGES += "${PN}-systemd"
> > >  SYSTEMD_PACKAGES = "${PN} ${PN}-systemd"
> >
> >
> _______________________________________________
> genivi-meta-ivi mailing list
> genivi-meta-ivi at lists.genivi.org
> http://lists.genivi.org/mailman/listinfo/genivi-meta-ivi


More information about the genivi-diagnostic-log-and-trace mailing list