Unable to build lsof likely due to recent toolchain bumps
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
I am getting the following error when building an image with lsof enabled. Suspect something introduced with recent toolchain bumps.
...
make[3]: Entering directory '/scratch/union/build_dir/target-aarch64_cortex-a76_musl/lsof-4.99.4'
cd . && /bin/sh /scratch/union/build_dir/target-aarch64_cortex-a76_musl/lsof-4.99.4/missing automake-1.16 --gnu Makefile
Can't locate Automake/Config.pm in @INC (you may need to install the Automake::Config module) (@INC entries checked: /scratch/union/staging_dir/host/share/automake-1.16 /usr/lib/perl5/5.40/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.40/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.40/core_perl /usr/share/perl5/core_perl) at /scratch/union/staging_dir/host/bin/automake-1.16 line 50.
BEGIN failed--compilation aborted at /scratch/union/staging_dir/host/bin/automake-1.16 line 50.
make[3]: *** [Makefile:1263: Makefile.in] Error 2
make[3]: Leaving directory '/scratch/union/build_dir/target-aarch64_cortex-a76_musl/lsof-4.99.4'
make[2]: *** [Makefile:42: /scratch/union/build_dir/target-aarch64_cortex-a76_musl/lsof-4.99.4/.built] Error 2
make[2]: Leaving directory '/scratch/union/feeds/packages/utils/lsof'
time: package/feeds/packages/lsof/compile#0.07#0.02#0.09
ERROR: package/feeds/packages/lsof failed to build.
make[1]: *** [package/Makefile:189: package/feeds/packages/lsof/compile] Error 1
make[1]: Leaving directory '/scratch/union'
make: *** [/scratch/union/include/toplevel.mk:233: package/lsof/compile] Error 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The failure is in feeds/packages/utils/lsof and is reached through package/Makefile and include/toplevel.mk; start by reproducing package/lsof/compile and inspect the lsof-4.99.4 Makefile rule invoking automake-1.16. Done means identifying and fixing the missing Automake::Config availability so the lsof package builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100