| Summary: | RefKit: Standard SDK build fails for refkit-image-common | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] IoT Reference OS Kit | Reporter: | Henry Bruce <henry.bruce> | ||||
| Component: | intel-iot-refkit-tools | Assignee: | Henry Bruce <henry.bruce> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Low | CC: | amarnath.valluri, mikko.ylinen | ||||
| Version: | 2.3 | ||||||
| Target Milestone: | Future | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
For me this fails already much earlier: ERROR: nativesdk-qemu-2.8.0-r0 do_patch: Command Error: 'quilt --quiltrc /u/ipuustin/intel-iot-refkit/build/tmp-glibc/work/x86_64-nativesdk-refkitsdk-linux/nativesdk-qemu/2.8.0-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output: Applying patch 0001-tpm-backend-Remove-unneeded-member-variable-from-bac.patch patching file hw/tpm/tpm_passthrough.c Hunk #1 FAILED at 46. Hunk #2 succeeded at 745 (offset 283 lines). 1 out of 2 hunks FAILED -- rejects in file hw/tpm/tpm_passthrough.c patching file include/sysemu/tpm_backend.h patching file tpm.c Patch 0001-tpm-backend-Remove-unneeded-member-variable-from-bac.patch does not apply (enforce with -f) ERROR: nativesdk-qemu-2.8.0-r0 do_patch: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /u/ipuustin/intel-iot-refkit/build/tmp-glibc/work/x86_64-nativesdk-refkitsdk-linux/nativesdk-qemu/2.8.0-r0/temp/log.do_patch.3088 ERROR: Task (virtual:nativesdk:/u/ipuustin/intel-iot-refkit/openembedded-core/meta/recipes-devtools/qemu/qemu_2.8.0.bb:do_patch) failed with exit code '1' Submitted the PR to fix qemu tpm patch failure: https://github.com/intel/intel-iot-refkit/pull/126 wit that patch, can reproduce the original 'clang'build failure reported. I tried this with Clang 4.0 (meta-clang git HEAD), and I couldn't reproduce the problem. Reporter, can you apply patch https://github.com/intel/intel-iot-refkit/pull/123/commits/9b84b0f55bee8db3a206019f503f4204c3c10a18 and then try again? I updated and applied patch from github PR #126 then SDK built successfully. |
Created attachment 3688 [details] RefKit SDK build failure log $ bitbake refkit-image-common -c populate_sdk | CMake Error at CMakeLists.txt:54 (project): | The CMAKE_C_COMPILER: | | x86_64-refkitsdk-linux-gcc | | is not a full path and was not found in the PATH. | Full log is attached.