Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created March 26, 2021 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Grommish/b9cc2685f54cebcc4fd4fb6354faf0e9 to your computer and use it in GitHub Desktop.
Save Grommish/b9cc2685f54cebcc4fd4fb6354faf0e9 to your computer and use it in GitHub Desktop.
grommish@DESKTOP-N35LRJ4:~/openwrt$ make -j1 V=sc package/feeds/packages/libhtp/{clean,prepare,configure,compile}
Collecting package info: done
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
rm -rf /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37
rm -f /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/stamp/.libhtp_installed
rm -f /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/packages/libhtp.list
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/clean#0.33#0.02#0.34
make[1]: Leaving directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
mkdir -p /home/grommish/openwrt/dl
SHELL= flock /home/grommish/openwrt/tmp/.libhtp-0.5.37.tar.xz.flock -c ' /home/grommish/openwrt/scripts/download.pl "/home/grommish/openwrt/dl" "libhtp-0.5.37.tar.xz" "1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" "" || ( /home/grommish/openwrt/scripts/dl_github_archive.py --dl-dir="/home/grommish/openwrt/dl" --url="https://github.com/OISF/libhtp.git" --version="eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1" --subdir="libhtp-0.5.37" --source="libhtp-0.5.37.tar.xz" --hash="1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" || ( echo "Checking out files from the git repository..."; mkdir -p /home/grommish/openwrt/tmp/dl && cd /home/grommish/openwrt/tmp/dl && rm -rf libhtp-0.5.37 && [ \! -d libhtp-0.5.37 ] && git clone https://github.com/OISF/libhtp.git libhtp-0.5.37 && (cd libhtp-0.5.37 && git checkout eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libhtp-0.5.37 && git log -1 --format='\''@%ct'\''` && rm -rf libhtp-0.5.37/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libhtp-0.5.37 | xz -zc -7e > /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz && mv /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz /home/grommish/openwrt/dl/ && rm -rf libhtp-0.5.37; ); ) '
touch /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.prepared_31211f3d41657365f324cc726da88751_6664517399ebbbc92a37c5bb081b5c53_check
. /home/grommish/openwrt/include/shell.sh; xzcat /home/grommish/openwrt/dl/libhtp-0.5.37.tar.xz | tar -C /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37
cd /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37 && ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
OpenWrt-libtoolize: putting auxiliary files in `.'.
OpenWrt-libtoolize: copying file `./ltmain.sh'
OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
OpenWrt-libtoolize: copying file `m4/libtool.m4'
OpenWrt-libtoolize: copying file `m4/ltoptions.m4'
OpenWrt-libtoolize: copying file `m4/ltsugar.m4'
OpenWrt-libtoolize: copying file `m4/ltversion.m4'
OpenWrt-libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/../host/bin/autoconf --force
autoreconf: running: /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/../host/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:86: installing './compile'
configure.ac:89: installing './config.guess'
configure.ac:89: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './INSTALL'
htp/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `.'
touch /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.prepared_31211f3d41657365f324cc726da88751_6664517399ebbbc92a37c5bb081b5c53
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/prepare#8.71#0.30#10.06
make[1]: Leaving directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
mkdir -p /home/grommish/openwrt/dl
SHELL= flock /home/grommish/openwrt/tmp/.libhtp-0.5.37.tar.xz.flock -c ' /home/grommish/openwrt/scripts/download.pl "/home/grommish/openwrt/dl" "libhtp-0.5.37.tar.xz" "1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" "" || ( /home/grommish/openwrt/scripts/dl_github_archive.py --dl-dir="/home/grommish/openwrt/dl" --url="https://github.com/OISF/libhtp.git" --version="eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1" --subdir="libhtp-0.5.37" --source="libhtp-0.5.37.tar.xz" --hash="1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" || ( echo "Checking out files from the git repository..."; mkdir -p /home/grommish/openwrt/tmp/dl && cd /home/grommish/openwrt/tmp/dl && rm -rf libhtp-0.5.37 && [ \! -d libhtp-0.5.37 ] && git clone https://github.com/OISF/libhtp.git libhtp-0.5.37 && (cd libhtp-0.5.37 && git checkout eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libhtp-0.5.37 && git log -1 --format='\''@%ct'\''` && rm -rf libhtp-0.5.37/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libhtp-0.5.37 | xz -zc -7e > /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz && mv /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz /home/grommish/openwrt/dl/ && rm -rf libhtp-0.5.37; ); ) '
rm -f /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.configured_*
rm -f /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/stamp/.libhtp_installed
autotools.mk: Found libtool v2.4 - applying patch to ./ltmain.sh
8 out of 13 hunks FAILED -- saving rejects to file ltmain.sh.rej
(cd /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/./; if [ -x ./configure ]; then find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.guess | xargs -r chmod u+w; find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.guess | xargs -r -n1 cp --remove-destination /home/grommish/openwrt/scripts/config.guess; find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.sub | xargs -r chmod u+w; find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.sub | xargs -r -n1 cp --remove-destination /home/grommish/openwrt/scripts/config.sub; AR="mips64-openwrt-linux-musl-gcc-ar" AS="ccache_cc -c -Os -pipe -mno-branch-likely -march=octeon+ -mtune=octeon3 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -D_GNU_SOURCE -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37=libhtp-0.5.37 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mips64-openwrt-linux-musl-ld.gold NM="mips64-openwrt-linux-musl-gcc-nm" CC="ccache_cc" GCC="ccache_cc" CXX="ccache_cxx" RANLIB="mips64-openwrt-linux-musl-gcc-ranlib" STRIP=mips64-openwrt-linux-musl-strip OBJCOPY=mips64-openwrt-linux-musl-objcopy OBJDUMP=mips64-openwrt-linux-musl-objdump SIZE=mips64-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -march=octeon+ -mtune=octeon3 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -D_GNU_SOURCE -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37=libhtp-0.5.37 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mno-branch-likely -march=octeon+ -mtune=octeon3 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -D_GNU_SOURCE -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37=libhtp-0.5.37 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -latomic " CPPFLAGS="-I/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/usr/include -I/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/include/fortify -I/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/include " LDFLAGS="-L/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/usr/lib -L/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/lib -latomic -znow -zrelro " ./configure --target=mips64-openwrt-linux --host=mips64-openwrt-linux --build=x86_64-pc-linux-gnu --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 ; fi; )
configure: loading site script /home/grommish/openwrt/include/site/mips64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips64-openwrt-linux-strip... mips64-openwrt-linux-musl-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for mips64-openwrt-linux-gcc... ccache_cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache_cc accepts -g... yes
checking for ccache_cc option to accept ISO C89... none needed
checking whether ccache_cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of ccache_cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether ccache_cxx accepts -g... yes
checking dependency style of ccache_cxx... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips64-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /home/grommish/openwrt/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /home/grommish/openwrt/staging_dir/host/bin/grep
checking for egrep... /home/grommish/openwrt/staging_dir/host/bin/grep -E
checking for fgrep... /home/grommish/openwrt/staging_dir/host/bin/grep -F
checking for ld used by ccache_cc... mips64-openwrt-linux-musl-ld.gold
checking if the linker (mips64-openwrt-linux-musl-ld.gold) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips64-openwrt-linux-musl-gcc-nm
checking the name lister (mips64-openwrt-linux-musl-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to mips64-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips64-openwrt-linux-musl-ld.gold option to reload object files... -r
checking for mips64-openwrt-linux-objdump... mips64-openwrt-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for mips64-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips64-openwrt-linux-ar... mips64-openwrt-linux-musl-gcc-ar
checking for archiver @FILE support... @
checking for mips64-openwrt-linux-strip... (cached) mips64-openwrt-linux-musl-strip
checking for mips64-openwrt-linux-ranlib... mips64-openwrt-linux-musl-gcc-ranlib
checking command to parse mips64-openwrt-linux-musl-gcc-nm output from ccache_cc object... ok
checking for sysroot... no
checking for mips64-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... ccache_cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if ccache_cc supports -fno-rtti -fno-exceptions... no
checking for ccache_cc option to produce PIC... -fPIC -DPIC
checking if ccache_cc PIC flag -fPIC -DPIC works... yes
checking if ccache_cc static flag -static works... yes
checking if ccache_cc supports -c -o file.o... yes
checking if ccache_cc supports -c -o file.o... (cached) yes
checking whether the ccache_cc linker (mips64-openwrt-linux-musl-ld.gold) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... ccache_cxx -E
checking for ld used by ccache_cxx... mips64-openwrt-linux-musl-ld.gold
checking if the linker (mips64-openwrt-linux-musl-ld.gold) is GNU ld... yes
checking whether the ccache_cxx linker (mips64-openwrt-linux-musl-ld.gold) supports shared libraries... yes
checking for ccache_cxx option to produce PIC... -fPIC -DPIC
checking if ccache_cxx PIC flag -fPIC -DPIC works... yes
checking if ccache_cxx static flag -static works... yes
checking if ccache_cxx supports -c -o file.o... yes
checking if ccache_cxx supports -c -o file.o... (cached) yes
checking whether the ccache_cxx linker (mips64-openwrt-linux-musl-ld.gold) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether build environment is sane... yes
checking for strlcpy... yes
checking for strlcat... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking OS... Linux
checking for ld used by GCC... mips64-openwrt-linux-musl-ld.gold
checking if the linker (mips64-openwrt-linux-musl-ld.gold) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... guessing yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for iconvctl...
checking for gcc support of -Wstrict-overflow=1... yes
checking for gcc support of stack smashing protection... yes
checking for gcc support of FORTIFY_SOURCE... yes
checking for gcc support of -Wformat -Wformat-security... yes
checking for gcc support of -fPIC... yes
checking for doxygen... no
checking for lcov... no
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating htp/htp_version.h
config.status: creating Makefile
config.status: creating htp.pc
config.status: creating htp/Makefile
config.status: creating htp/lzma/Makefile
config.status: creating test/Makefile
config.status: creating docs/Makefile
config.status: creating htp_config_auto_gen.h
config.status: executing depfiles commands
config.status: executing libtool commands
touch /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.configured_68b329da9893e34099c7d8ad5cb9c940
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/configure#2.70#0.61#3.44
make[1]: Leaving directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/package/libs/toolchain'
echo "libc" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/grommish/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.17#0.02#0.16
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
make[2]: Nothing to be done for 'compile'.
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/compile#0.29#0.02#0.29
make[1]: Leaving directory '/home/grommish/openwrt'
grommish@DESKTOP-N35LRJ4:~/openwrt$ make -j1 V=sc package/feeds/packages/libhtp/{clean,prepare,configure,compile}
Collecting package info: done
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
rm -rf /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37
rm -f /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/stamp/.libhtp_installed
rm -f /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/packages/libhtp.list
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/clean#0.30#0.01#0.30
make[1]: Leaving directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
mkdir -p /home/grommish/openwrt/dl
SHELL= flock /home/grommish/openwrt/tmp/.libhtp-0.5.37.tar.xz.flock -c ' /home/grommish/openwrt/scripts/download.pl "/home/grommish/openwrt/dl" "libhtp-0.5.37.tar.xz" "1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" "" || ( /home/grommish/openwrt/scripts/dl_github_archive.py --dl-dir="/home/grommish/openwrt/dl" --url="https://github.com/OISF/libhtp.git" --version="eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1" --subdir="libhtp-0.5.37" --source="libhtp-0.5.37.tar.xz" --hash="1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" || ( echo "Checking out files from the git repository..."; mkdir -p /home/grommish/openwrt/tmp/dl && cd /home/grommish/openwrt/tmp/dl && rm -rf libhtp-0.5.37 && [ \! -d libhtp-0.5.37 ] && git clone https://github.com/OISF/libhtp.git libhtp-0.5.37 && (cd libhtp-0.5.37 && git checkout eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libhtp-0.5.37 && git log -1 --format='\''@%ct'\''` && rm -rf libhtp-0.5.37/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libhtp-0.5.37 | xz -zc -7e > /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz && mv /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz /home/grommish/openwrt/dl/ && rm -rf libhtp-0.5.37; ); ) '
touch /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.prepared_e6db7332ed99f5adf109d4dde9584bb4_6664517399ebbbc92a37c5bb081b5c53_check
. /home/grommish/openwrt/include/shell.sh; xzcat /home/grommish/openwrt/dl/libhtp-0.5.37.tar.xz | tar -C /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37
cd /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37 && ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
OpenWrt-libtoolize: putting auxiliary files in `.'.
OpenWrt-libtoolize: copying file `./ltmain.sh'
OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
OpenWrt-libtoolize: copying file `m4/libtool.m4'
OpenWrt-libtoolize: copying file `m4/ltoptions.m4'
OpenWrt-libtoolize: copying file `m4/ltsugar.m4'
OpenWrt-libtoolize: copying file `m4/ltversion.m4'
OpenWrt-libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/../host/bin/autoconf --force
autoreconf: running: /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/../host/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:86: installing './compile'
configure.ac:89: installing './config.guess'
configure.ac:89: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './INSTALL'
htp/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `.'
touch /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.prepared_e6db7332ed99f5adf109d4dde9584bb4_6664517399ebbbc92a37c5bb081b5c53
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/prepare#8.43#0.36#9.72
make[1]: Leaving directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
mkdir -p /home/grommish/openwrt/dl
SHELL= flock /home/grommish/openwrt/tmp/.libhtp-0.5.37.tar.xz.flock -c ' /home/grommish/openwrt/scripts/download.pl "/home/grommish/openwrt/dl" "libhtp-0.5.37.tar.xz" "1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" "" || ( /home/grommish/openwrt/scripts/dl_github_archive.py --dl-dir="/home/grommish/openwrt/dl" --url="https://github.com/OISF/libhtp.git" --version="eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1" --subdir="libhtp-0.5.37" --source="libhtp-0.5.37.tar.xz" --hash="1a6531ceb9b1b6d7e88ff2af12def0c2afaa923d24b5040d999ab5a839267ca0" || ( echo "Checking out files from the git repository..."; mkdir -p /home/grommish/openwrt/tmp/dl && cd /home/grommish/openwrt/tmp/dl && rm -rf libhtp-0.5.37 && [ \! -d libhtp-0.5.37 ] && git clone https://github.com/OISF/libhtp.git libhtp-0.5.37 && (cd libhtp-0.5.37 && git checkout eaa2db29e65e7f2691c18a9022aeb5fb836ec5f1 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libhtp-0.5.37 && git log -1 --format='\''@%ct'\''` && rm -rf libhtp-0.5.37/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libhtp-0.5.37 | xz -zc -7e > /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz && mv /home/grommish/openwrt/tmp/dl/libhtp-0.5.37.tar.xz /home/grommish/openwrt/dl/ && rm -rf libhtp-0.5.37; ); ) '
rm -f /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.configured_*
rm -f /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/stamp/.libhtp_installed
autotools.mk: Found libtool v2.4 - applying patch to ./ltmain.sh
8 out of 13 hunks FAILED -- saving rejects to file ltmain.sh.rej
(cd /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/./; if [ -x ./configure ]; then find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.guess | xargs -r chmod u+w; find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.guess | xargs -r -n1 cp --remove-destination /home/grommish/openwrt/scripts/config.guess; find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.sub | xargs -r chmod u+w; find /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/ -name config.sub | xargs -r -n1 cp --remove-destination /home/grommish/openwrt/scripts/config.sub; AR="mips64-openwrt-linux-musl-gcc-ar" AS="ccache_cc -c -Os -pipe -mno-branch-likely -march=octeon+ -mtune=octeon3 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -D_GNU_SOURCE -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37=libhtp-0.5.37 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mips64-openwrt-linux-musl-ld.gold NM="mips64-openwrt-linux-musl-gcc-nm" CC="ccache_cc" GCC="ccache_cc" CXX="ccache_cxx" RANLIB="mips64-openwrt-linux-musl-gcc-ranlib" STRIP=mips64-openwrt-linux-musl-strip OBJCOPY=mips64-openwrt-linux-musl-objcopy OBJDUMP=mips64-openwrt-linux-musl-objdump SIZE=mips64-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -march=octeon+ -mtune=octeon3 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -D_GNU_SOURCE -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37=libhtp-0.5.37 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mno-branch-likely -march=octeon+ -mtune=octeon3 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -D_GNU_SOURCE -fmacro-prefix-map=/home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37=libhtp-0.5.37 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -latomic " CPPFLAGS="-I/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/usr/include -I/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/include/fortify -I/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/include " LDFLAGS="-L/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/usr/lib -L/home/grommish/openwrt/staging_dir/toolchain-mips64_octeonplus_64_gcc-10.2.0_musl/lib -latomic -znow -zrelro " ./configure --target=mips64-openwrt-linux --host=mips64-openwrt-linux --build=x86_64-pc-linux-gnu --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 ; fi; )
configure: loading site script /home/grommish/openwrt/include/site/mips64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips64-openwrt-linux-strip... mips64-openwrt-linux-musl-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for mips64-openwrt-linux-gcc... ccache_cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ccache_cc accepts -g... yes
checking for ccache_cc option to accept ISO C89... none needed
checking whether ccache_cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of ccache_cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether ccache_cxx accepts -g... yes
checking dependency style of ccache_cxx... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips64-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /home/grommish/openwrt/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /home/grommish/openwrt/staging_dir/host/bin/grep
checking for egrep... /home/grommish/openwrt/staging_dir/host/bin/grep -E
checking for fgrep... /home/grommish/openwrt/staging_dir/host/bin/grep -F
checking for ld used by ccache_cc... mips64-openwrt-linux-musl-ld.gold
checking if the linker (mips64-openwrt-linux-musl-ld.gold) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips64-openwrt-linux-musl-gcc-nm
checking the name lister (mips64-openwrt-linux-musl-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to mips64-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips64-openwrt-linux-musl-ld.gold option to reload object files... -r
checking for mips64-openwrt-linux-objdump... mips64-openwrt-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for mips64-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips64-openwrt-linux-ar... mips64-openwrt-linux-musl-gcc-ar
checking for archiver @FILE support... @
checking for mips64-openwrt-linux-strip... (cached) mips64-openwrt-linux-musl-strip
checking for mips64-openwrt-linux-ranlib... mips64-openwrt-linux-musl-gcc-ranlib
checking command to parse mips64-openwrt-linux-musl-gcc-nm output from ccache_cc object... ok
checking for sysroot... no
checking for mips64-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... ccache_cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if ccache_cc supports -fno-rtti -fno-exceptions... no
checking for ccache_cc option to produce PIC... -fPIC -DPIC
checking if ccache_cc PIC flag -fPIC -DPIC works... yes
checking if ccache_cc static flag -static works... yes
checking if ccache_cc supports -c -o file.o... yes
checking if ccache_cc supports -c -o file.o... (cached) yes
checking whether the ccache_cc linker (mips64-openwrt-linux-musl-ld.gold) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... ccache_cxx -E
checking for ld used by ccache_cxx... mips64-openwrt-linux-musl-ld.gold
checking if the linker (mips64-openwrt-linux-musl-ld.gold) is GNU ld... yes
checking whether the ccache_cxx linker (mips64-openwrt-linux-musl-ld.gold) supports shared libraries... yes
checking for ccache_cxx option to produce PIC... -fPIC -DPIC
checking if ccache_cxx PIC flag -fPIC -DPIC works... yes
checking if ccache_cxx static flag -static works... yes
checking if ccache_cxx supports -c -o file.o... yes
checking if ccache_cxx supports -c -o file.o... (cached) yes
checking whether the ccache_cxx linker (mips64-openwrt-linux-musl-ld.gold) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether build environment is sane... yes
checking for strlcpy... yes
checking for strlcat... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking OS... Linux
checking for ld used by GCC... mips64-openwrt-linux-musl-ld.gold
checking if the linker (mips64-openwrt-linux-musl-ld.gold) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... guessing yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for iconvctl...
checking for gcc support of -Wstrict-overflow=1... yes
checking for gcc support of stack smashing protection... yes
checking for gcc support of FORTIFY_SOURCE... yes
checking for gcc support of -Wformat -Wformat-security... yes
checking for gcc support of -fPIC... yes
checking for doxygen... no
checking for lcov... no
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating htp/htp_version.h
config.status: creating Makefile
config.status: creating htp.pc
config.status: creating htp/Makefile
config.status: creating htp/lzma/Makefile
config.status: creating test/Makefile
config.status: creating docs/Makefile
config.status: creating htp_config_auto_gen.h
config.status: executing depfiles commands
config.status: executing libtool commands
touch /home/grommish/openwrt/build_dir/target-mips64_octeonplus_64_musl/libhtp-0.5.37/.configured_68b329da9893e34099c7d8ad5cb9c940
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/configure#2.86#0.51#3.49
make[1]: Leaving directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/grommish/openwrt/scripts/config'
make[1]: Entering directory '/home/grommish/openwrt'
make[2]: Entering directory '/home/grommish/openwrt/package/libs/toolchain'
echo "libc" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "libgcc" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "libpthread" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
echo "librt" >> /home/grommish/openwrt/staging_dir/target-mips64_octeonplus_64_musl/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/grommish/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.17#0.01#0.16
make[2]: Entering directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
make[2]: Nothing to be done for 'compile'.
make[2]: Leaving directory '/home/grommish/openwrt/feeds/packages/libs/libhtp'
time: package/feeds/packages/libhtp/compile#0.30#0.01#0.29
make[1]: Leaving directory '/home/grommish/openwrt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment