opensbi: do_install() fails for visionfive2
moto-timo opened this issue · 2 comments
Description
As part of an attempt to show off RISC-V boards for the upcoming ELC conference in Prague, I am trying to build oe-doom-demo
for visionfive2
.
The opensbi
recipe is trying to remove files that have not been populated by make install
.
Steps to reproduce the issue:
git clone -b visionfive2 https://github.com/moto-timo/oe-doom-demo.git
git submodule update --init --recursive
. init-build-env
export BUILD_DEVICE=visionfive2
bitbake -k core-image-doom
Describe the results you received:
So far, the only build failure is from opensbi:do_install
:
NOTE: make -j 24 FW_TEXT_START=0x40000000 FW_PAYLOAD_PATH=.../build-oe-doom-demo/tmp-glibc/deploy/images/visionfive2/u-boot.bin FW_FDT_PATH=.../build-oe-doom-demo/tmp-glibc/deploy/images/visionfive2/jh7110-visionfive-v2.dtb DESTDIR=.../build-oe-doom-demo/tmp-glibc/work/riscv64-oe-linux/opensbi/1.2-r0/image install
INSTALL include
INSTALL lib64/lp64/libsbi.a
rm: cannot remove '.../build-oe-doom-demo/tmp-glibc/work/riscv64-oe-linux/opensbi/1.2-r0/image/lib*': No such file or directory
WARNING: .../build-oe-doom-demo/tmp-glibc/work/riscv64-oe-linux/opensbi/1.2-r0/temp/run.do_install.2905118:159 exit 1 from 'rm -r .../build-oe-doom-demo/tmp-glibc/work/riscv64-oe-linux/opensbi/1.2-r0/image/lib*'
WARNING: Backtrace (BB generated script):
#1: do_install, .../build-oe-doom-demo/tmp-glibc/work/riscv64-oe-linux/opensbi/1.2-r0/temp/run.do_install.2905118, line 159
#2: main, .../build-oe-doom-demo/tmp-glibc/work/riscv64-oe-linux/opensbi/1.2-r0/temp/run.do_install.2905118, line 208
Describe the results you expected:
opensbi
should build to completion.
Additional information you deem important (e.g. issue happens only occasionally):
The files/directories being removed do not seem to exist at all, even though do_compile()
succeeded.
Additional details (revisions used, host distro, etc.):
Revisions: "master" (mickledore+)
Host: ubuntu-22.04
Confirmed this has nothing to do with oe-doom-demo
. The same failure mode is seen with my visionfive2-wip branch.
git clone -b visionfive2-wip https://github.com/moto-timo/meta-riscv.git
kas build meta-riscv/visionfive2.yml -- -k
In addition, the following license file failures are seen (#411):
WARNING: vdec-module-1.0-r0 do_populate_lic: QA Issue: vdec-module: No generic license file exists for: ChipsMedia_VisionFive2 in any provider [license-exists]
WARNING: jpu-module-1.0-r0 do_populate_lic: QA Issue: jpu-module: No generic license file exists for: ChipsMedia_VisionFive2 in any provider [license-exists]
WARNING: venc-module-1.0-r0 do_populate_lic: QA Issue: venc-module: No generic license file exists for: ChipsMedia_VisionFive2 in any provider [license-exists]
WARNING: linux-firmware-visionfive2-wave511-1.0-r0 do_populate_lic: QA Issue: linux-firmware-visionfive2-wave511: No generic license file exists for: ChipsMedia_VisionFive2 in any provider [license-exists]
WARNING: linux-firmware-visionfive2-wave420l-1.0-r0 do_populate_lic: QA Issue: linux-firmware-visionfive2-wave420l: No generic license file exists for: ChipsMedia_VisionFive2 in any provider [license-exists]
ERROR: venc-module-1.0-r0 do_create_spdx: Cannot find any text for license ChipsMedia_VisionFive2
...
ERROR: vdec-module-1.0-r0 do_create_spdx: Cannot find any text for license ChipsMedia_VisionFive2
...
ERROR: jpu-module-1.0-r0 do_create_spdx: Cannot find any text for license ChipsMedia_VisionFive2
...
Same failure mode seen with kas-container
(which uses Debian 12 Bookworm).
git clone https://github.com/siemens/kas.git
git clone -b visionfive2-wip https://github.com/moto-timo/meta-riscv.git
./kas/kas-container build meta-riscv/visionfive2.yml -- -k