[OpenWrt-Devel] Not sure what is preventing snort3 build

W. Michael Petullo mike at flyn.org
Wed Apr 17 21:56:40 EDT 2019


The OpenWrt build server seems to be unable to build my snort3 package. See
https://downloads.openwrt.org/snapshots/faillogs/x86_64/packages/snort3/compile.txt:

[...]
make[4]: Leaving directory '/data/bowl-builder/x86_64/build/sdk/build_dir/target-x86_64_musl/snort3/snort-3.0.0'
Package snort3 is missing dependencies for the following libraries:
liblzma.so.5
Makefile:103: recipe for target '/data/bowl-builder/x86_64/build/sdk/bin/packages/x86_64/packages/snort3_3.0.0-beta-2_x86_64.ipk' failed
make[3]: *** [/data/bowl-builder/x86_64/build/sdk/bin/packages/x86_64/packages/snort3_3.0.0-beta-2_x86_64.ipk] Error 1
time: package/feeds/packages/snort3/compile#851.47#75.04#966.05

I am not sure why liblzma.so.5 is required. The snort3 build process
states:

LZMA: OFF

Furthermore, a local build compiles snort3 without liblzma.

The package I build makes no reference to libzma in its binaries:

# for f in $(opkg files snort3 | grep -v Package); do ldd $f; done
	ldd (0x7fbc571cc000)
	libtirpc.so.3 => /usr/lib/libtirpc.so.3 (0x7fbc5719f000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fbc5718b000)
	libc.so => ldd (0x7fbc571cc000)
ldd: /etc/init.d/snort: Not a valid dynamic program
	/lib/ld-musl-x86_64.so.1 (0x7fcaadb74000)
	libtirpc.so.3 => /usr/lib/libtirpc.so.3 (0x7fcaadb4c000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7fcaada12000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fcaad9fe000)
	libc.so => /lib/ld-musl-x86_64.so.1 (0x7fcaadb74000)
	/lib/ld-musl-x86_64.so.1 (0x7f182ed3c000)
	libtirpc.so.3 => /usr/lib/libtirpc.so.3 (0x7f182ed14000)
	libpcap.so.1 => /usr/lib/libpcap.so.1 (0x7f182ecda000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f182eba0000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f182eb8c000)
	libc.so => /lib/ld-musl-x86_64.so.1 (0x7f182ed3c000)
ldd: /usr/share/lua/snort_plugin.lua: Not a valid dynamic program
	/lib/ld-musl-x86_64.so.1 (0x7f653b209000)
	libtirpc.so.3 => /usr/lib/libtirpc.so.3 (0x7f653b1e1000)
	libdaq.so.4 => /usr/lib/libdaq.so.4 (0x7f653b1d9000)
	libdnet.so.1 => /usr/lib/libdnet.so.1 (0x7f653b1c9000)
	libhwloc.so.15 => /usr/lib/libhwloc.so.15 (0x7f653b18c000)
	libluajit-5.1.so.2 => /usr/lib/libluajit-5.1.so.2 (0x7f653b125000)
	libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x7f653ae64000)
	libpcap.so.1 => /usr/lib/libpcap.so.1 (0x7f653ae2a000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x7f653aded000)
	libuuid.so.1 => /usr/lib/libuuid.so.1 (0x7f653ade4000)
	libz.so.1 => /usr/lib/libz.so.1 (0x7f653add0000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f653ac96000)
	libc.so => /lib/ld-musl-x86_64.so.1 (0x7f653b209000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f653ac82000)
	ldd (0x7fee74cc5000)
	libtirpc.so.3 => /usr/lib/libtirpc.so.3 (0x7fee74c98000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fee74c84000)
	libc.so => ldd (0x7fee74cc5000)
ldd: /etc/config/snort: Not a valid dynamic program
ldd: /usr/share/lua/snort_config.lua: Not a valid dynamic program

Does anyone have an idea of what might be causing the build server
to fail?

-- 
Mike

:wq

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list