| Summary: | The postinstall intercept hook 'update_font_cache' failed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | zhang.bocheng | ||||
| Component: | bitbake | Assignee: | Anuj Mittal <anuj.mittal> | ||||
| Status: | RESOLVED NOTABUG | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | poky.bs.watcher, poky.watcher, randy.macleod | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 4.0.13 | ||||||
| Hardware: | x86 | ||||||
| OS: | x86_64 | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
zhang.bocheng
2023-08-02 09:09:49 UTC
System is WSL2 Ubuntu 22.04 Anuj, Can you take a look at this issue please? -- YP bug triage This bug may cause by mode or owner problems, I solve this problem by run all commands at as non-root user. I use root to clone and run others as a non-root user, it comes some right or owner problems and I use chmod/chown to make other commands can run and then get this bug. My WSL default start up user is root, so I do git clone -b kirkstone https://git.yoctoproject.org/poky git clone -b kirkstone https://git.yoctoproject.org/meta-intel-fpga source poky/oe-init-build-env ./build echo 'MACHINE = "cyclone5"' >> conf/local.conf echo 'BBLAYERS += " ${TOPDIR}/../meta-intel-fpga "' >> conf/bblayers.conf as root and found bitbake core-image-minimal can be run as a non-root only, so change to a non-root:test to run chmod -R 777 /cv chown -R test /cv sudo -s source poky/oe-init-build-env ./build export PATH=/cv/poky/bitbake/bin/: $PATH bitbake core-image-minimal and then get this problem |