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

Reply via email to