Thought I sent this earlier but I see no trace of it, so here goes again. Here it is again with the link to the build and the extracted logs from one of the failing builds:
https://github.com/openwrt/packages/actions/runs/6629645917/job/18009391257?pr=22359 CFLAGS="-Os -pipe -mcpu=8548 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0=cligen-6.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/usr/include -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/include -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/include/fortify " CXXFLAGS="-Os -pipe -mcpu=8548 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0=cligen-6.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/usr/include -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/include -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/include/fortify " LDFLAGS="-L/bu ilder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/usr/lib -L/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/lib -fuse-ld=bfd -znow -zrelro " make -C /builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0/. AR="powerpc-openwrt-linux-musl-gcc-ar" AS="powerpc-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=8548 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0=cligen-6.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="powerpc-openwrt-linux-musl-ld.bfd" NM="powerpc-openwrt-linux-musl-gcc-nm" CC="powerpc-openwrt-linux-musl-gcc" GCC="powerpc-openwrt-linux-musl-gcc" CXX="powerpc-openwrt-linux-musl-g++" RANLIB="powerpc-openwrt-linux-musl-gcc-ranlib" STRIP=powerpc-openwrt-linux-musl-strip OBJCOPY=powerpc-openwrt-linux-musl-objcopy OBJDUMP=powerpc-openwrt-linux-musl-objdump SIZE=powerpc-openwrt-linux-musl-size CROSS="powerpc-openwrt-linux-musl-" ARCH="powerpc" DESTDIR="/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0/ipkg-install" install; make[3]: Entering directory '/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0' echo "/* This file is generated from the CLIgen Makefile */" > build.c; date +"const char CLIGEN_BUILDSTR[49]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; >> build.c; echo "const char CLIGEN_VERSION[64]=\"6.4.0\""\; >> build.c; powerpc-openwrt-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/usr/include -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/include -I/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/include/fortify -fPIC -Os -pipe -mcpu=8548 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0=cligen-6.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c build.c powerpc-openwrt-linux-musl-gcc -shared -o libcligen.so.6.4 cligen_object.o cligen_callback.o cligen_parsetree.o cligen_pt_head.o cligen_handle.o cligen_cv.o cligen_match.o cligen_result.o cligen_read.o cligen_io.o cligen_expand.o cligen_syntax.o cligen_print.o cligen_cvec.o cligen_buf.o cligen_util.o cligen_history.o cligen_regex.o cligen_getline.o build.o lex.cligen_parse.o cligen_parse.tab.o -L/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/usr/lib -L/builder/staging_dir/toolchain-powerpc_8548_gcc-12.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -Wl,-soname=libcligen.so.6.4 -L. file libcligen.so.6.4 libcligen.so.6.4: ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, with debug_info, not stripped /builder/staging_dir/host/bin/install -c -m 0755 -d /builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0/ipkg-install/usr/lib /builder/staging_dir/host/bin/install -c -m 0644 -s libcligen.so.6.4 /builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0/ipkg-install/usr/lib strip: Unable to recognise the format of the input file `/builder/build_dir/target-powerpc_8548_musl/cligen-6.4.0/ipkg-install/usr/lib/libcligen.so.6.4' /builder/staging_dir/host/bin/install: strip process terminated abnormally make[3]: *** [Makefile:158: install-lib] Error 1 > On Oct 24, 2023, at 8:49 AM, Robert Marko <robima...@gmail.com> wrote: > > On Tue, 24 Oct 2023 at 17:46, Philip Prindeville > <philipp_s...@redfish-solutions.com> wrote: >> >> Hi, >> >> I'm seeing the following: >> >> https://github.com/openwrt/packages/actions/runs/6621741418/job/17986176198?pr=22362 >> >> Specifically: >> >> mips-openwrt-linux-musl-gcc -shared -o libcligen.so.6.4 cligen_object.o >> cligen_callback.o cligen_parsetree.o cligen_pt_head.o cligen_handle.o >> cligen_cv.o cligen_match.o cligen_result.o cligen_read.o cligen_io.o >> cligen_expand.o cligen_syntax.o cligen_print.o cligen_cvec.o cligen_buf.o >> cligen_util.o cligen_history.o cligen_regex.o cligen_getline.o build.o >> lex.cligen_parse.o cligen_parse.tab.o >> -L/builder/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/usr/lib >> -L/builder/staging_dir/toolchain-mips_24kc_gcc-12.3.0_musl/lib -fuse-ld=bfd >> -znow -zrelro -Wl,-soname=libcligen.so.6.4 -L. >> /builder/staging_dir/host/bin/install -c -m 0755 -d >> /builder/build_dir/target-mips_24kc_musl/cligen-6.4.0/ipkg-install/usr/lib >> /builder/staging_dir/host/bin/install -c -m 0644 -s libcligen.so.6.4 >> /builder/build_dir/target-mips_24kc_musl/cligen-6.4.0/ipkg-install/usr/lib >> strip: Unable to recognise the format of the input file >> `/builder/build_dir/target-mips_24kc_musl/cligen-6.4.0/ipkg-install/usr/lib/libcligen.so.6.4' >> /builder/staging_dir/host/bin/install: strip process terminated abnormally >> make[3]: Leaving directory >> '/builder/build_dir/target-mips_24kc_musl/cligen-6.4.0' >> make[3]: *** [Makefile:157: install-lib] Error 1 >> make[2]: *** [Makefile:60: >> /builder/build_dir/target-mips_24kc_musl/cligen-6.4.0/.built] Error 2 >> >> >> It looks like it's running on an x86_64 but the version of "install" doesn't >> understand MIPS binaries. Is that what's happening? And why is it only >> affecting me? > > It's the strip tool that is complaining. > > Can you try making it run file before on it to see what the library > .so actually is? > > Regards, > Robert >> >> There's nothing particular about my packaging: >> >> https://github.com/pprindeville/packages/blob/clixon-initial/utils/clixon/Makefile >> >> What am I missing? >> >> Thanks, >> >> -Philip >> >> >> _______________________________________________ >> openwrt-devel mailing list >> openwrt-devel@lists.openwrt.org >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel