cancel
Showing results for 
Search instead for 
Did you mean: 

Error bitbake compilation update_mandb

GabyGad
Visitor

Hello,

Hello,

I'm planning to integrate GPS: GNSS1 and install a web browser on an STM32MP157F-DK2, so I'm looking to add layers.

Before adding the layers, I thought it would be a good idea to follow this tutorial:
https://wiki.st.com/stm32mpu/index.php?title=STM32MPU_Distribution_Package&sfr=stm32mpu

I followed it to the letter.

I'm running Ubuntu 20.04 with all the required dependencies:
https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Install_the_SDK

I'm up to 80% of the st-image-weston bitbake when an error message appears:

```
ERROR: st-image-vendorfs-1.0-r0 do_rootfs: The postinstall intercept hook 'update_mandb' failed, details in /home/atem/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-vendorfs/1.0/temp/log.do_rootfs
ERROR: Logfile of failure stored in: /home/atem/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-vendorfs/1.0/temp/log.do_rootfs.3691741
ERROR: Task (/home/atem/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-st/images/st-image-vendorfs.bb:do_rootfs) failed with exit code '1'
```

So I went to look at the logs, and here's the end of it:

```
NOTE: Running intercept scripts:
NOTE: > Executing update_mandb intercept ...
NOTE: Exit code 2. Output:
sed: can't read /home/atem/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-vendorfs/1.0/rootfs/etc/man_db.conf: No such file or directory

ERROR: The postinstall intercept hook 'update_mandb' failed, details in /home/atem/Distribution-Package/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/st-image-vendorfs/1.0/temp/log.do_rootfs
DEBUG: Python function do_rootfs finished
```

Indeed, the “man_db.conf” file doesn't exist

Thank you for taking the time to read my message.
Sincerely

0 REPLIES 0