[oe] building netdata: "No package 'zlib' found"

Martin Jansa martin.jansa at gmail.com
Wed Feb 15 13:45:33 UTC 2017


http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111123.html

On Wed, Feb 15, 2017 at 1:23 PM, Robert P. J. Day <rpjday at crashcourse.ca>
wrote:

>
>   i was going to start a new thread for this, then remembered this
> post i was going to respond to:
>
> On Tue, 14 Feb 2017, Jack Mitchell wrote:
>
> > On 13/02/17 17:01, Robert P. J. Day wrote:
> > >
> > >   i'm building a totally stock core-image-minimal for qemuppc with
> > > latest poky checkout, and when i try to add the existing "netdata"
> > > recipe to the mix, i get:
> > >
> > > | configure: error: Package requirements (zlib) were not met:
> > > |
> > > | No package 'zlib' found
> > > |
> > > | Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > > | installed software in a non-standard prefix.
> > > |
> > > | Alternatively, you may set the environment variables ZLIB_CFLAGS
> > > | and ZLIB_LIBS to avoid the need to call pkg-config.
> > > | See the pkg-config man page for more details.
> > >
> > >   apart from fixing this, how could this recipe ever have built
> > > before? i realize the current recipe for netdata is almost a year
> > > old, but should it still not build?
> >
> > Recipe specific sysroots. Zlib is so common that it was probably
> > already available in the shared sysroot to be compiled against, now
> > there is no access to the shared sysroot it can't be found and
> > fails. So this was always a dependency bug but one that was probably
> > never triggered.
>
>   a couple questions. a couple days ago, all i did was add the line:
>
>   DEPENDS = "zlib"
>
> to the netdata_git.bb recipe file, and that trivially solved the
> problem. i just updated my poky checkout, built again, and the build
> failed since, as i notice from monday, a bunch of recipes (including
> netdata) have been blacklisted because of (unsurprisingly) failure to
> build:
>
>   $ git show b7f480c
>
> so what should one do here?
>
>   for that recipe, i can submit a patch which adds the DEPENDS line
> and removes the blacklisting. or is there a more wide-sweeping plan to
> fix recipes that are now missing build-time dependencies based on
> recipe-specific sysroots?
>
>   also, if there's no objection, i can submit a patch that adds a
> recipe for the far more recent netdata-1.5.0.
>
>   thoughts?
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list