-
Notifications
You must be signed in to change notification settings - Fork 306
Description
Package Name
powertop
ImmortalWrt Version
SNAPSHOT
ImmortalWrt Target/Subtarget
x86/64
Steps to Reproduce
- prepare compiling environment and clone source code
- update all feeds
- make menuconfig and select
powertoppackage - compile in WSL
Actual Behaviour
failed to compile, error message:
autoreconf: running: /home/compile/Projects/612/immortalwrt/staging_dir/host/bin/autoconf --include=/home/compile/Projects/612/immortalwrt/staging_dir/target-x86_64_musl/host/share/aclocal --include=/home/compile/Projects/612/immortalwrt/staging_dir/hostpkg/share/aclocal --include=/home/compile/Projects/612/immortalwrt/staging_dir/target-x86_64_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/home/compile/Projects/612/immortalwrt/staging_dir/host/share/aclocal --force configure.ac:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:38: You should run autoupdate. aclocal.m4:4560: AC_PROG_LIBTOOL is expanded from... configure.ac:38: the top level configure:4456: error: possibly undefined macro: AM_CONDITIONAL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: error: /home/compile/Projects/612/immortalwrt/staging_dir/host/bin/autoconf failed with exit status: 1 (cd /home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15/./; if [ -x ./configure ]; then find /home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15/ -name config.guess | xargs -r chmod u+w; find /home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15/ -name config.guess | xargs -r -n1 cp --remove-destination /home/compile/Projects/612/immortalwrt/scripts/config.guess; find /home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15/ -name config.sub | xargs -r chmod u+w; find /home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15/ -name config.sub | xargs -r -n1 cp --remove-destination /home/compile/Projects/612/immortalwrt/scripts/config.sub; AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15=powertop-2.15 -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " LD="x86_64-openwrt-linux-musl-ld.bfd" NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15=powertop-2.15 -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15=powertop-2.15 -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto=auto -fno-fat-lto-objects " CPPFLAGS="-I/home/compile/Projects/612/immortalwrt/staging_dir/toolchain-x86_64_gcc-14.3.0_musl/usr/include -I/home/compile/Projects/612/immortalwrt/staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include -I/home/compile/Projects/612/immortalwrt/staging_dir/toolchain-x86_64_gcc-14.3.0_musl/include/fortify " LDFLAGS="-L/home/compile/Projects/612/immortalwrt/staging_dir/toolchain-x86_64_gcc-14.3.0_musl/usr/lib -L/home/compile/Projects/612/immortalwrt/staging_dir/toolchain-x86_64_gcc-14.3.0_musl/lib -fuse-ld=bfd -flto=auto -fuse-linker-plugin -znow -zrelro " ./configure --target=x86_64-openwrt-linux --host=x86_64-openwrt-linux --build=x86_64-pc-linux-gnu --disable-dependency-tracking --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; ) configure: loading site script /home/compile/Projects/612/immortalwrt/include/site/x86_64 configure: error: cannot find required auxiliary files: ar-lib make[3]: *** [Makefile:57: /home/compile/Projects/612/immortalwrt/build_dir/target-x86_64_musl/powertop-2.15/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1 make[3]: Leaving directory '/home/compile/Projects/612/immortalwrt/feeds/packages/utils/powertop' time: package/feeds/packages/powertop/compile#25.51#0.88#28.75 ERROR: package/feeds/packages/powertop failed to build. make[2]: *** [package/Makefile:187: package/feeds/packages/powertop/compile] Error 1 make[2]: Leaving directory '/home/compile/Projects/612/immortalwrt' make[1]: *** [package/Makefile:181: /home/compile/Projects/612/immortalwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/compile/Projects/612/immortalwrt' make: *** [/home/compile/Projects/612/immortalwrt/include/toplevel.mk:233: world] Error 2
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the core repository or LuCI repository will be closed.
- I am reporting an issue for ImmortalWrt, not an unsupported fork.