All of lore.kernel.org
 help / color / mirror / Atom feed
* building netdata: "No package 'zlib' found"
@ 2017-02-13 17:01 Robert P. J. Day
  2017-02-14 14:19 ` Jack Mitchell
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2017-02-13 17:01 UTC (permalink / raw)
  To: OpenEmbedded Development mailing list


  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?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

* Re: building netdata: "No package 'zlib' found"
  2017-02-13 17:01 building netdata: "No package 'zlib' found" Robert P. J. Day
@ 2017-02-14 14:19 ` Jack Mitchell
  2017-02-15 12:23   ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Jack Mitchell @ 2017-02-14 14:19 UTC (permalink / raw)
  To: openembedded-devel

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?
>
> rday

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.

Cheers,
Jack

---
Tuxable Ltd
http://www.tuxable.co.uk
Embedded Linux Consultancy


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

* Re: building netdata: "No package 'zlib' found"
  2017-02-14 14:19 ` Jack Mitchell
@ 2017-02-15 12:23   ` Robert P. J. Day
  2017-02-15 12:49     ` Jack Mitchell
  2017-02-15 13:45     ` Martin Jansa
  0 siblings, 2 replies; 5+ messages in thread
From: Robert P. J. Day @ 2017-02-15 12:23 UTC (permalink / raw)
  To: openembedded-devel


  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
========================================================================




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

* Re: building netdata: "No package 'zlib' found"
  2017-02-15 12:23   ` Robert P. J. Day
@ 2017-02-15 12:49     ` Jack Mitchell
  2017-02-15 13:45     ` Martin Jansa
  1 sibling, 0 replies; 5+ messages in thread
From: Jack Mitchell @ 2017-02-15 12:49 UTC (permalink / raw)
  To: openembedded-devel



On 15/02/17 12:23, Robert P. J. Day 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?

Submit the patch which fixes the recipe and removes the blacklist. As 
for a wide sweeping plan, I imagine recipes will get blacklisted until 
someone who is actively using them notices and submits the patch to fix. 
There isn't the time available to fix all the recipes and then run-time 
test them to make sure that the fix has actually worked.

>
>   also, if there's no objection, i can submit a patch that adds a
> recipe for the far more recent netdata-1.5.0.

I'm sure this would be welcomed.

>
>   thoughts?
>
> rday
>


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

* Re: building netdata: "No package 'zlib' found"
  2017-02-15 12:23   ` Robert P. J. Day
  2017-02-15 12:49     ` Jack Mitchell
@ 2017-02-15 13:45     ` Martin Jansa
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2017-02-15 13:45 UTC (permalink / raw)
  To: openembedded-devel

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2017-02-15 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 17:01 building netdata: "No package 'zlib' found" Robert P. J. Day
2017-02-14 14:19 ` Jack Mitchell
2017-02-15 12:23   ` Robert P. J. Day
2017-02-15 12:49     ` Jack Mitchell
2017-02-15 13:45     ` Martin Jansa

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.