Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build lsof likely due to recent toolchain bumps #26034

Open
graysky2 opened this issue Feb 21, 2025 · 4 comments
Open

Unable to build lsof likely due to recent toolchain bumps #26034

graysky2 opened this issue Feb 21, 2025 · 4 comments

Comments

@graysky2
Copy link
Contributor

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
@brada4
Copy link

brada4 commented Feb 21, 2025

Already spotted
openwrt/openwrt#18059

@ptpt52
Copy link
Contributor

ptpt52 commented Feb 22, 2025

same issue on my build, on os ubuntu 18.04

@brada4
Copy link

brada4 commented Feb 22, 2025

It is something missing in perl for new autotools.

@colinw-smartrg
Copy link

Already spotted openwrt/openwrt#18059

I tried that patch and lsof still fails to build with:

make[3]: Entering directory '/sandbox/colinw/sat/polecat/openwrt/build_dir/target-aarch64_cortex-a53_musl/lsof-4.99.4'
 cd . && /bin/bash /sandbox/colinw/sat/polecat/openwrt/build_dir/target-aarch64_cortex-a53_musl/lsof-4.99.4/missing automake-1.16 --gnu Makefile
/sandbox/colinw/sat/polecat/openwrt/build_dir/target-aarch64_cortex-a53_musl/lsof-4.99.4/missing: line 81: automake-1.16: command not found
WARNING: 'automake-1.16' is missing on your system.

automake-1.17 is in staging_dir/host/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants