building netdata: "No package 'zlib' found"
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
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 16 lines · Robert P. J. Day
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.
Quoted 5 lines
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
i was going to start a new thread for this, then remembered this
post i was going to respond to:
Quoted 21 lines · Jack Mitchell
Quoted 16 lines · Robert P. J. Day
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.Quoted 3 lines
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?
Quoted 5 lines
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
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 43 lines · Robert P. J. Day
i was going to start a new thread for this, then remembered this
post i was going to respond to:Quoted 21 lines · Jack Mitchell
Quoted 16 lines · Robert P. J. Day
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.Quoted 3 lines
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?Quoted 5 lines
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:
Quoted 8 lines
$ git show b7f480cso 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.
Quoted 3 lines
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.
Quoted 5 lines
thoughts?
rday
http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111123.html
Quoted 76 lines · Robert P. J. Day
i was going to start a new thread for this, then remembered this
post i was going to respond to:Quoted 21 lines · Jack Mitchell
Quoted 16 lines · Robert P. J. Day
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.Quoted 3 lines
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?Quoted 5 lines
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 b7f480cso 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.caTwitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday========================================================================
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel