| Summary: | Bitbake does not check for all required perl modules to build oe-core | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Phlip Balister <philip> |
| Component: | bitbake | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | michael.opdenacker, poky.bs.watcher, poky.watcher, randy.macleod, tgamblin |
| Version: | unspecified | ||
| Target Milestone: | 5.0 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Phlip Balister
2022-01-16 16:46:08 UTC
Sakib won't get to this so moving to unassigned. Bulk move of 64 bugs to 4.3 M3 after a quick review. If a bug is actually fixed, please add a commit link and resolve it. -- Randy for YP bug team. Moved to M4. Bulk move to 5.0 M1. -- Randy Added Michael to CC in case he'd like to test this as part of the doc work... I have a brand new Fedora 39 install and I am about to do a fresh build of master. Before I do this, any requests how you would like me to collect missing module information? My process is install some layers and bitbake, run bitbake, install things that bitbake asks for before attempting a build, then debug build failures by installing modules that are not checked for. Documenting my process for getting bitbake/master going on new Fedora 39 install.
[balister@dublin build (master-qemu-next)]$ bitbake gnuradio
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
chrpath diffstat g++ lz4c rpcgen
[balister@dublin build (master-qemu-next)]$ sudo dnf install chrpath diffstat g++ lz4c rpcgen
Last metadata expiration check: 3:07:52 ago on Mon 01 Jan 2024 01:16:11 PM EST.
No match for argument: lz4c
Error: Unable to find a match: lz4c
[balister@dublin build (master-qemu-next)]$ sudo dnf install chrpath diffstat g++ lz4 rpcgen
[balister@dublin build (master-qemu-next)]$ bitbake gnuradio
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Required perl module(s) not found: Thread::Queue
[balister@dublin build (master-qemu-next)]$ sudo dnf install perl-Thread-Queue
[balister@dublin build (master-qemu-next)]$ bitbake -c cleansstate autoconf-native
[balister@dublin build (master-qemu-next)]$ bitbake autoconf-native
.....
| BEGIN failed--compilation aborted at ../autoconf-2.72d/lib/Autom4te/FileUtils.pm line 151.
| Compilation failed in require at bin/autom4te line 46.
| BEGIN failed--compilation aborted at bin/autom4te line 46.
| Can't locate File/Compare.pm in @INC (you may need to install the File::Compare module) (@INC entries checked: ../autoconf-2.72d/lib /usr/local/lib64/perl5/5.38 /usr/local/share/perl5/5.38 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../autoconf-2.72d/lib/Autom4te/FileUtils.pm line 151.
| BEGIN failed--compilation aborted at ../autoconf-2.72d/lib/Autom4te/FileUtils.pm line 151.
.....
[balister@dublin build (master-qemu-next)]$ sudo dnf install perl-File-Compare
[balister@dublin build (master-qemu-next)]$ bitbake autoconf-native
....
| BEGIN failed--compilation aborted at bin/autom4te line 46.
| make[1]: *** [Makefile:2046: lib/autotest/autotest.m4f] Error 2
| Can't locate File/Copy.pm in @INC (you may need to install the File::Copy module) (@INC entries checked: ../autoconf-2.72d/lib /usr/local/lib64/perl5/5.38 /usr/local/share/perl5/5.38 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../autoconf-2.72d/lib/Autom4te/FileUtils.pm line 152.
.....
[balister@dublin build (master-qemu-next)]$ sudo dnf install perl-File-Copy
[balister@dublin build (master-qemu-next)]$ bitbake -c cleansstate libxcrypt
[balister@dublin build (master-qemu-next)]$ bitbake libxcrypt
....
| Can't locate open.pm in @INC (you may need to install the open module) (@INC entries checked: /usr/local/lib64/perl5/5.38 /usr/local/share/perl5/5.38 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../git/build-aux/scripts/expand-selected-hashes line 20.
| BEGIN failed--compilation aborted at ../git/build-aux/scripts/expand-selected-hashes line 20.
....
[balister@dublin build (master-qemu-next)]$ sudo dnf install perl-open
[balister@dublin build (master-qemu-next)]$ bitbake libxcrypt
....
| checking whether all ucontext.h functions are available... yes
| Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC entries checked: /usr/local/lib64/perl5/5.38 /usr/local/share/perl5/5.38 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../git/build-aux/scripts/expand-selected-hashes line 24.
| BEGIN failed--compilation aborted at ../git/build-aux/scripts/expand-selected-hashes line 24.
....
[balister@dublin build (master-qemu-next)]$ sudo dnf install perl-FindBin
[balister@dublin build (master-qemu-next)]$ bitbake libxcrypt
After going through methodically, I am wondering if this should be addressed at the recipe level for autoconf-native and libxcrypt?
Bulk move of bugs owned by "unassigned" from 5.0-M2 to 5.0-M3. Commit 3d09e759f838a7ce66fd1fb6e6a6653abce9e3a4 should resolve this issue. |