How to install rrdtool-per package?
My Yocto build failed and it seems to be looking for "rrdtool-perl" package. I've added package "rrdtool" into my "INSTALL_APPEND" variable but it still fail. The logs is in below. Could someone helped me to find the correct recipe to install it?
"""
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Wed 01 Jul 2020 09:34:21 AM UTC.
Last metadata expiration check: 0:00:01 ago on Wed 01 Jul 2020 09:34:22 AM UTC.
No module defaults found
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- nothing provides rrdtool-perl needed by rpimonitor-2.13-r0.arm1176jzfshf_vfp
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
ERROR: Logfile of failure stored in: /home/ingemar/yocto/sdk/build/tmp/work/raspberrypi0_wifi-poky-linux-gnueabi/rpi-image/1.0-r0/temp/log.do_rootfs.27003
ERROR: Task (/home/ingemar/yocto/sdk/build/../build/meta-rpi/recipes-core/images/rpi-image.bb:do_rootfs) failed with exit code '1'
"""
Howdy!
Looks very much like you'll need to set up PACKAGECONFIG of rrdtool, then it should provide rrdtool-perl.
Greetz
Am 01.07.2020 um 11:50 schrieb [email protected]:
Quoted 42 lines
My Yocto build failed and it seems to be looking for "rrdtool-perl" package. I've added package "rrdtool" into my "
INSTALL_APPEND" variable but it still fail. The logs is in below. Could someone helped me to find the correct recipe to install it?"""
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Wed 01 Jul 2020 09:34:21 AM UTC.
Last metadata expiration check: 0:00:01 ago on Wed 01 Jul 2020 09:34:22 AM UTC.
No module defaults found
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- nothing provides rrdtool-perl needed by
rpimonitor-2.13-r0.arm1176jzfshf_vfp(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
ERROR: Logfile of failure stored in:
/home/ingemar/yocto/sdk/build/tmp/work/raspberrypi0_wifi-poky-linux-gnueabi/rpi-image/1.0-r0/temp/log.do_rootfs.27003ERROR: Task (/home/ingemar/yocto/sdk/build/../build/meta-rpi/recipes-core/images/rpi-image.bb:do_rootfs) failed with exit code '1'
"""
Signature · 12 lines
_____________________________________________________________ R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen Fon: +49 8444 9204-0 Fax: +49 8444 9204-50 www.rsi-elektrotechnik.de _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548
Hello Josef
Thanks for you reply!
From your link, it seems rrdtool recipe already give an alias as rrdtool-perl, is it correct?
Then shall I add PACKAGECONFIG in .bbappend file for rrdtool? Or i shall add in my own recipe?
Howdy!
Am 01.07.2020 um 13:04 schrieb [email protected]:
Quoted 5 lines
Hello Josef
Thanks for you reply!
From your link, it seems rrdtool recipe already give an alias asrrdtool-perl, is it correct?
Exactly. If activated, then the rrdtool recipe already procides the rrdtool-perl package.
Quoted 2 lines
Then shall I add PACKAGECONFIG in .bbappend file for rrdtool? Or i shall add in my own recipe?
The correct place to do this is your DISTRO conf file.
Greetz
Signature · 12 lines
_____________________________________________________________ R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen Fon: +49 8444 9204-0 Fax: +49 8444 9204-50 www.rsi-elektrotechnik.de _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548
Quoted 2 lines · Josef Holzmayr
The correct place to do this is your DISTRO conf file.
Is this the correct way to set up it?
PACKAGECONFIG_pn-rrdtool="rrdtool rrdtool-perl"
Howdy!
Am 01.07.2020 um 14:05 schrieb [email protected]:
Quoted 7 lines · Josef Holzmayr
The correct place to do this is your DISTRO conf file.
Is this the correct way to set up it?
PACKAGECONFIG_pn-rrdtool="rrdtool rrdtool-perl"
Please see
https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#var-PACKAGECONFIG
Section "configuration file"
Greetz
Signature · 12 lines
_____________________________________________________________ R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen Fon: +49 8444 9204-0 Fax: +49 8444 9204-50 www.rsi-elektrotechnik.de _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548
Quoted 11 lines · Josef Holzmayr
Howdy!
Am 01.07.2020 um 14:05 schrieb [email protected]:
Quoted 6 lines · Josef Holzmayr
The correct place to do this is your DISTRO conf file.
Is this the correct way to set up it?
Quoted 10 lines
Quoted 1 line
PACKAGECONFIG_pn-rrdtool="rrdtool rrdtool-perl"
Please see
https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#var-PACKAGECONFIG
Section "configuration file"
I've added "PACKAGECONFIG_pn-rrdtool" into my distro conf file but still get same result.
I also tried adding .bbappend but it doesn't help.
My distro conf file is in below, could you see any issue in it?
*include conf/distro/poky.conf*
*DISTRO = "rpi"**DISTRO_NAME = "rpi"**DISTRO_VERSION = "1.0"*
*PACKAGECONFIG_pn-rrdtool = "perl systemd"*
*# Use systemd as init manager**DISTRO_FEATURES_append = " virtualization systemd bluez5 bluetooth wifi ssh-server-openssl"* *DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"* *VIRTUAL-RUNTIME_init_manager = "systemd"*
*VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"*
Quoted 16 lines
Greetz
--
_____________________________________________________________
R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
Fon: +49 8444 9204-0
Fax: +49 8444 9204-50
www.rsi-elektrotechnik.de_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548
Quoted 35 lines · On Wed, Jul 01, 2020 at 07:26:00AM -0700, [email protected] wrote:
Quoted 11 lines · Josef Holzmayr
Howdy!
Am 01.07.2020 um 14:05 schrieb [email protected]:
Quoted 6 lines · Josef Holzmayr
The correct place to do this is your DISTRO conf file.
Is this the correct way to set up it?
Quoted 10 lines
Quoted 1 line
PACKAGECONFIG_pn-rrdtool="rrdtool rrdtool-perl"
Please see
https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#var-PACKAGECONFIG
Section "configuration file"
I've added "PACKAGECONFIG_pn-rrdtool" into my distro conf file but still get same result.
I also tried adding .bbappend but it doesn't help.
My distro conf file is in below, could you see any issue in it?
*include conf/distro/poky.conf*
*DISTRO = "rpi"**DISTRO_NAME= "rpi"**DISTRO_VERSION= "1.0"*
Quoted 8 lines
*PACKAGECONFIG_pn-rrdtool = "perl systemd"*
*# Use systemd as init manager*
*DISTRO_FEATURES_append= " virtualization systemd bluez5 bluetooth wifi ssh-server-openssl"**DISTRO_FEATURES_BACKFILL_CONSIDERED+= "sysvinit"* *VIRTUAL-RUNTIME_init_manager = "systemd"*
*VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"*
bitbake rrdtool -e and look for the line starting with PACKAGECONFIG. CHeck it's set to what you want, if not, look the lines above to understand why it's not set "correctly".
Quentin
Hi Quentin
I've execute command "bitbake rrdtool -e" to checked the result and find it's been set as I expected.
This rrdtool-perl is actually required by "rpimonitor", if I execute command "bitbake rpimonitor" and it would success. But when I execute command "bitbake mydistro ", it always say "nothing provides rrdtool-perl" at "do_rootfs" stage.
Is there any other suggestion?
ok. I've found the cause.
rrdtool-perl is empty so yocto doesn't generate rpm package for it.
I create another .bbappend file and add ALLOW_EMPTY_${PN}-perl = "1" and it works. Thanks for all the helps.