| Cost | $0.029 |
| Total elapsed time | 1m7s |
| LLM inference time | 28s |
| Command execution time | 39s |
| Commands executed | 7 |
All details >
| Attempt ID | ekpxagh4mkrpx | Attempt group | run-16-09-22-05 |
| Revision | fb5c74bd2fee | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-16T20:32:10.773Z | End time | 2025-09-16T20:33:18.136Z |
| Task | jq-static | Environment | ubuntu-22.04-amd64-offline |
| Model | | OpenRouter slug | openai/gpt-5 |
| Temperature | 1 | Explicit prompt caching | false |
| User msg after tool call | false | Max tool calls | 50 |
| Total timeout seconds | 900 | Single command timeout | 600 |
| Cost | $0.029 | Duration | 1m7s |
| LLM inference time | 28s | Command execution time | 39s |
| Final context tokens | 9,299 | Total output tokens | 1,300 |
| Output reasoning tokens | 0 | Messages | 17 |
| Assistant messages | 8 | User messages | 1 |
| System messages | 1 | Commands executed | 7 |
jq 1.8.1 is a command-line JSON utility for viewing and transforming JSON.
Project link: github.com/jqlang/jq
Task:
Compile and install statically-linked jq to a specific location.
Difficulties:
Static linking requires correctly configuring the build.
Environment:
Ubuntu 22.04 on amd64, without internet access.
You are a package-building specialist operating a Ubuntu 22.04 bash shell via one tool: run_terminal_cmd.
The current working directory of every run_terminal_cmd is /home/peter.
Execution rules:
- Always pass non-interactive flags for any command that could prompt (e.g., -y, --yes, DEBIAN_FRONTEND=noninteractive).
- Don't include any newlines in the command.
- The environment is offline, assume you have all the necessary tools already installed.
If you encounter any errors or issues while doing the user's request, you must fix them and continue the task.
At the end verify you did the user request correctly.
You are given a jq v1.8.1 source code at /home/peter/jq.tar.gz. Please compile the jq package and install it to /home/peter/result. Create a symlink from /home/peter/result/jq to the compiled jq binary. The binary should be statically linked.
Source dir: /home/peter/build_jq/jq-1.8.1
compile-bench> set -e; cd /home/peter/build_jq/jq-1.8.1 && echo "Configuring..." && ./configure --prefix=/home/peter/result --disable-shared --enable-static LDFLAGS='-static' CFLAGS='-O2' || (echo 'Falling back to autoreconf' && autoreconf -fi && ./configure --prefix=/home/peter/result --disable-shared --enable-static LDFLAGS='-static' CFLAGS='-O2') && echo "Building..." && make -j"$(nproc)" V=1 && echo "Installing..." && make install && echo "Creating symlink..." && ln -sf /home/peter/result/bin/jq /home/peter/result/jq && echo DONE Configuring...
checking for gcc... gcc
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... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for bison... no
checking for byacc... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-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 /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... ob
[command output truncated]
dir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 oniguruma.pc '/home/peter/result/lib/pkgconfig'
make[4]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1'
mkdir -p src
GEN src/version.h
CC src/main.o
CCLD jq
make[3]: Entering directory '/home/peter/build_jq/jq-1.8.1'
mkdir -p src
GEN src/version.h
CC src/main.o
CCLD jq
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libjq.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libjq.lai /home/peter/result/lib/libjq.la
libtool: install: /usr/bin/install -c .libs/libjq.a /home/peter/result/lib/libjq.a
libtool: install: chmod 644 /home/peter/result/lib/libjq.a
libtool: install: ranlib /home/peter/result/lib/libjq.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/peter/result/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c jq '/home/peter/result/bin'
libtool: install: /usr/bin/install -c jq /home/peter/result/bin/jq
/usr/bin/mkdir -p '/home/peter/result/share/doc/jq'
/usr/bin/install -c -m 644 README.md NEWS.md COPYING AUTHORS '/home/peter/result/share/doc/jq'
/usr/bin/mkdir -p '/home/peter/result/include'
/usr/bin/install -c -m 644 src/jv.h src/jq.h '/home/peter/result/include'
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 jq.1 '/home/peter/result/share/man/man1'
/usr/bin/mkdir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 libjq.pc '/home/peter/result/lib/pkgconfig'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
Creating symlink...
DONE
↓ 121 lines
Configuring...
checking for gcc... gcc
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... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for bison... no
checking for byacc... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-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 /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... ob
[command output truncated]
dir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 oniguruma.pc '/home/peter/result/lib/pkgconfig'
make[4]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1'
mkdir -p src
GEN src/version.h
CC src/main.o
CCLD jq
make[3]: Entering directory '/home/peter/build_jq/jq-1.8.1'
mkdir -p src
GEN src/version.h
CC src/main.o
CCLD jq
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libjq.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libjq.lai /home/peter/result/lib/libjq.la
libtool: install: /usr/bin/install -c .libs/libjq.a /home/peter/result/lib/libjq.a
libtool: install: chmod 644 /home/peter/result/lib/libjq.a
libtool: install: ranlib /home/peter/result/lib/libjq.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/peter/result/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c jq '/home/peter/result/bin'
libtool: install: /usr/bin/install -c jq /home/peter/result/bin/jq
/usr/bin/mkdir -p '/home/peter/result/share/doc/jq'
/usr/bin/install -c -m 644 README.md NEWS.md COPYING AUTHORS '/home/peter/result/share/doc/jq'
/usr/bin/mkdir -p '/home/peter/result/include'
/usr/bin/install -c -m 644 src/jv.h src/jq.h '/home/peter/result/include'
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 jq.1 '/home/peter/result/share/man/man1'
/usr/bin/mkdir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 libjq.pc '/home/peter/result/lib/pkgconfig'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
Creating symlink...
DONE
compile-bench> set -e; file /home/peter/result/bin/jq; ldd /home/peter/result/bin/jq || true; stat -c '%N' /home/peter/result/jq /home/peter/result/bin/jq: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=34acc1e2948839536cb503d843e219474ef0c308, for GNU/Linux 3.2.0, not stripped
linux-vdso.so.1 (0x00007fff3fff6000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007a1573a64000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007a157383b000)
/lib64/ld-linux-x86-64.so.2 (0x00007a1573c32000)
'/home/peter/result/jq' -> '/home/peter/result/bin/jq'
↓ 7 lines
/home/peter/result/bin/jq: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=34acc1e2948839536cb503d843e219474ef0c308, for GNU/Linux 3.2.0, not stripped linux-vdso.so.1 (0x00007fff3fff6000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007a1573a64000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007a157383b000) /lib64/ld-linux-x86-64.so.2 (0x00007a1573c32000) '/home/peter/result/jq' -> '/home/peter/result/bin/jq'
compile-bench> set -e; cd /home/peter/build_jq/jq-1.8.1 && make distclean || true; ./configure --prefix=/home/peter/result --disable-shared --enable-static LDFLAGS='-static -static-libgcc -static-libstdc++' CFLAGS='-O2' LIBS='-lm' || (autoreconf -fi && ./configure --prefix=/home/peter/result --disable-shared --enable-static LDFLAGS='-static -static-libgcc -static-libstdc++' CFLAGS='-O2' LIBS='-lm'); make -j"$(nproc)" V=1 LDFLAGS='-static -static-libgcc -static-libstdc++' && make install && strip /home/peter/result/bin/jq || true; file /home/peter/result/bin/jq; ldd /home/peter/result/bin/jq || true Making distclean in vendor/oniguruma
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
Making distclean in src
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
test -z "libonig.la" || rm -f libonig.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f ./.deps/ascii.Plo
rm -f ./.deps/big5.Plo
rm -f ./.deps/cp1251.Plo
rm -f ./.deps/euc_jp.Plo
rm -f ./.deps/euc_jp_prop.Plo
rm -f ./.deps/euc_kr.Plo
rm -f ./.deps/euc_tw.Plo
rm -f ./.deps/gb18030.Plo
rm -f ./.deps/iso8859_1.Plo
rm -f ./.deps/iso8859_10.Plo
rm -f ./.deps/iso8859_11.Plo
rm -f ./.deps/iso8859_13.Plo
rm -f ./.deps/iso8859_14.Plo
rm -f ./.deps/iso8859_15.Plo
rm -f ./.deps/iso8859_16.Plo
rm -f ./.deps/iso8859_2.Plo
rm -f ./.deps/iso8859_3.Plo
rm -f ./.deps/iso8859_4.Plo
rm -f ./.deps/iso8859_5.Plo
rm -f ./.deps/iso8859_6.Plo
rm -f ./.deps/iso8859_7.Plo
rm -f ./.deps/iso8859_8.Plo
rm -f ./.deps/iso8859_9.Plo
rm -f ./.deps/koi8_r.Plo
rm -f ./.deps/onig_init.Plo
rm -f ./.deps/regcomp.Plo
rm -f ./.deps/regenc.Plo
rm -f ./.deps/regerror.Plo
rm -f ./.deps/regexec.Plo
rm -f ./.deps/regext.Plo
rm -f ./.deps/reggnu.Plo
rm -f ./.deps/regparse.Plo
rm -f ./.deps/regposerr.Plo
rm -f ./.deps/regposix.Plo
rm -f ./.deps/regsyntax.Plo
rm -f ./.deps/regtrav.Plo
rm -f ./.deps/regversion.Plo
rm -f ./.deps/sjis.Plo
rm -f ./.deps/sjis_prop.Plo
rm -f ./.deps/st.Plo
rm -f ./.deps/unicode.Plo
rm -f ./.deps/unicode_fold1_key.Plo
rm -f ./.deps/unicode_fold2_key.Plo
rm -f ./.deps/unicode_fold3_key.Plo
rm -f ./.deps/unicode_unfold_key.Plo
rm -f ./.deps/utf16_be.Plo
rm -f ./.deps/utf16_le.Plo
rm -f ./.deps/utf32_be.Plo
rm -f ./.deps/utf32_le.Plo
rm -f ./.deps/utf8.Plo
rm -f Makefile
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
Making distclean in test
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8 test_syntax test_options testc testcu test_regset test_back
rm -rf .libs _libs
rm -f *.o
test -z "test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log" || rm -f test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log
test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f ./.deps/test_back.Po
rm -f ./.deps/test_options.Po
rm -f ./.deps/test_regset.Po
rm -f ./.deps/test_syntax.Po
rm -f ./.deps/test_utf8.Po
rm -f ./.deps/testc.Po
[command output truncated]
ake[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1'
make[3]: Entering directory '/home/peter/build_jq/jq-1.8.1'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libjq.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libjq.lai /home/peter/result/lib/libjq.la
libtool: install: /usr/bin/install -c .libs/libjq.a /home/peter/result/lib/libjq.a
libtool: install: chmod 644 /home/peter/result/lib/libjq.a
libtool: install: ranlib /home/peter/result/lib/libjq.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/peter/result/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c jq '/home/peter/result/bin'
libtool: install: /usr/bin/install -c jq /home/peter/result/bin/jq
/usr/bin/mkdir -p '/home/peter/result/share/doc/jq'
/usr/bin/install -c -m 644 README.md NEWS.md COPYING AUTHORS '/home/peter/result/share/doc/jq'
/usr/bin/mkdir -p '/home/peter/result/include'
/usr/bin/install -c -m 644 src/jv.h src/jq.h '/home/peter/result/include'
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 jq.1 '/home/peter/result/share/man/man1'
/usr/bin/mkdir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 libjq.pc '/home/peter/result/lib/pkgconfig'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
/home/peter/result/bin/jq: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9180261c025134394259627b3c30364f87b696c5, for GNU/Linux 3.2.0, stripped
linux-vdso.so.1 (0x00007ffe83f13000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007459b3542000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007459b3319000)
/lib64/ld-linux-x86-64.so.2 (0x00007459b3710000)
↓ 135 lines
Making distclean in vendor/oniguruma
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
Making distclean in src
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
test -z "libonig.la" || rm -f libonig.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f ./.deps/ascii.Plo
rm -f ./.deps/big5.Plo
rm -f ./.deps/cp1251.Plo
rm -f ./.deps/euc_jp.Plo
rm -f ./.deps/euc_jp_prop.Plo
rm -f ./.deps/euc_kr.Plo
rm -f ./.deps/euc_tw.Plo
rm -f ./.deps/gb18030.Plo
rm -f ./.deps/iso8859_1.Plo
rm -f ./.deps/iso8859_10.Plo
rm -f ./.deps/iso8859_11.Plo
rm -f ./.deps/iso8859_13.Plo
rm -f ./.deps/iso8859_14.Plo
rm -f ./.deps/iso8859_15.Plo
rm -f ./.deps/iso8859_16.Plo
rm -f ./.deps/iso8859_2.Plo
rm -f ./.deps/iso8859_3.Plo
rm -f ./.deps/iso8859_4.Plo
rm -f ./.deps/iso8859_5.Plo
rm -f ./.deps/iso8859_6.Plo
rm -f ./.deps/iso8859_7.Plo
rm -f ./.deps/iso8859_8.Plo
rm -f ./.deps/iso8859_9.Plo
rm -f ./.deps/koi8_r.Plo
rm -f ./.deps/onig_init.Plo
rm -f ./.deps/regcomp.Plo
rm -f ./.deps/regenc.Plo
rm -f ./.deps/regerror.Plo
rm -f ./.deps/regexec.Plo
rm -f ./.deps/regext.Plo
rm -f ./.deps/reggnu.Plo
rm -f ./.deps/regparse.Plo
rm -f ./.deps/regposerr.Plo
rm -f ./.deps/regposix.Plo
rm -f ./.deps/regsyntax.Plo
rm -f ./.deps/regtrav.Plo
rm -f ./.deps/regversion.Plo
rm -f ./.deps/sjis.Plo
rm -f ./.deps/sjis_prop.Plo
rm -f ./.deps/st.Plo
rm -f ./.deps/unicode.Plo
rm -f ./.deps/unicode_fold1_key.Plo
rm -f ./.deps/unicode_fold2_key.Plo
rm -f ./.deps/unicode_fold3_key.Plo
rm -f ./.deps/unicode_unfold_key.Plo
rm -f ./.deps/utf16_be.Plo
rm -f ./.deps/utf16_le.Plo
rm -f ./.deps/utf32_be.Plo
rm -f ./.deps/utf32_le.Plo
rm -f ./.deps/utf8.Plo
rm -f Makefile
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
Making distclean in test
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8 test_syntax test_options testc testcu test_regset test_back
rm -rf .libs _libs
rm -f *.o
test -z "test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log" || rm -f test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log
test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f ./.deps/test_back.Po
rm -f ./.deps/test_options.Po
rm -f ./.deps/test_regset.Po
rm -f ./.deps/test_syntax.Po
rm -f ./.deps/test_utf8.Po
rm -f ./.deps/testc.Po
[command output truncated]
ake[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1'
make[3]: Entering directory '/home/peter/build_jq/jq-1.8.1'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libjq.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libjq.lai /home/peter/result/lib/libjq.la
libtool: install: /usr/bin/install -c .libs/libjq.a /home/peter/result/lib/libjq.a
libtool: install: chmod 644 /home/peter/result/lib/libjq.a
libtool: install: ranlib /home/peter/result/lib/libjq.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/peter/result/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c jq '/home/peter/result/bin'
libtool: install: /usr/bin/install -c jq /home/peter/result/bin/jq
/usr/bin/mkdir -p '/home/peter/result/share/doc/jq'
/usr/bin/install -c -m 644 README.md NEWS.md COPYING AUTHORS '/home/peter/result/share/doc/jq'
/usr/bin/mkdir -p '/home/peter/result/include'
/usr/bin/install -c -m 644 src/jv.h src/jq.h '/home/peter/result/include'
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 jq.1 '/home/peter/result/share/man/man1'
/usr/bin/mkdir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 libjq.pc '/home/peter/result/lib/pkgconfig'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
/home/peter/result/bin/jq: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9180261c025134394259627b3c30364f87b696c5, for GNU/Linux 3.2.0, stripped
linux-vdso.so.1 (0x00007ffe83f13000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007459b3542000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007459b3319000)
/lib64/ld-linux-x86-64.so.2 (0x00007459b3710000)
compile-bench> set -e; cd /home/peter/build_jq/jq-1.8.1 && sed -n '1,120p' Makefile | sed -n '1,40p' >/dev/null; echo 'Rebuilding with static linking via LIBS override'; make clean || true; make distclean || true; ./configure --prefix=/home/peter/result --disable-shared --enable-static --with-oniguruma=builtin CFLAGS='-O2 -static' LDFLAGS='-static' LIBS='-static -lm' || (autoreconf -fi && ./configure --prefix=/home/peter/result --disable-shared --enable-static --with-oniguruma=builtin CFLAGS='-O2 -static' LDFLAGS='-static' LIBS='-static -lm'); make -j"$(nproc)" V=1 LDFLAGS='-static' && make install && file /home/peter/result/bin/jq && ldd /home/peter/result/bin/jq || true Rebuilding with static linking via LIBS override
Making clean in vendor/oniguruma
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
Making clean in src
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
test -z "libonig.la" || rm -f libonig.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
Making clean in test
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8 test_syntax test_options testc testcu test_regset test_back
rm -rf .libs _libs
rm -f *.o
test -z "test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log" || rm -f test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log
test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
Making clean in sample
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample'
rm -f encode listcap names simple sql syntax user_property callout echo count bug_fix regset scan callback_each_match
rm -rf .libs _libs
rm -f *.o
test -z "encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log" || rm -f encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log
test -z "encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs" || rm -f encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1'
rm -f jq
test -z "src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1" || rm -f src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1
test -z "libjq.la " || rm -f libjq.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf src/.libs src/_libs
rm -rf vendor/decNumber/.li
[command output truncated]
2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1'
make[3]: Entering directory '/home/peter/build_jq/jq-1.8.1'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libjq.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libjq.lai /home/peter/result/lib/libjq.la
libtool: install: /usr/bin/install -c .libs/libjq.a /home/peter/result/lib/libjq.a
libtool: install: chmod 644 /home/peter/result/lib/libjq.a
libtool: install: ranlib /home/peter/result/lib/libjq.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/peter/result/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c jq '/home/peter/result/bin'
libtool: install: /usr/bin/install -c jq /home/peter/result/bin/jq
/usr/bin/mkdir -p '/home/peter/result/share/doc/jq'
/usr/bin/install -c -m 644 README.md NEWS.md COPYING AUTHORS '/home/peter/result/share/doc/jq'
/usr/bin/mkdir -p '/home/peter/result/include'
/usr/bin/install -c -m 644 src/jv.h src/jq.h '/home/peter/result/include'
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 jq.1 '/home/peter/result/share/man/man1'
/usr/bin/mkdir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 libjq.pc '/home/peter/result/lib/pkgconfig'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
/home/peter/result/bin/jq: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=c959c8e53e5a537487e2bd7445449f7f8690df36, for GNU/Linux 3.2.0, not stripped
linux-vdso.so.1 (0x00007ffc33bb4000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007830773d2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007830771a9000)
/lib64/ld-linux-x86-64.so.2 (0x00007830775a0000)
↓ 93 lines
Rebuilding with static linking via LIBS override
Making clean in vendor/oniguruma
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
Making clean in src
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
test -z "libonig.la" || rm -f libonig.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
Making clean in test
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8 test_syntax test_options testc testcu test_regset test_back
rm -rf .libs _libs
rm -f *.o
test -z "test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log" || rm -f test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log
test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
Making clean in sample
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample'
rm -f encode listcap names simple sql syntax user_property callout echo count bug_fix regset scan callback_each_match
rm -rf .libs _libs
rm -f *.o
test -z "encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log" || rm -f encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log
test -z "encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs" || rm -f encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1'
rm -f jq
test -z "src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1" || rm -f src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1
test -z "libjq.la " || rm -f libjq.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf src/.libs src/_libs
rm -rf vendor/decNumber/.li
[command output truncated]
2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1'
make[3]: Entering directory '/home/peter/build_jq/jq-1.8.1'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ./libtool --mode=install /usr/bin/install -c libjq.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libjq.lai /home/peter/result/lib/libjq.la
libtool: install: /usr/bin/install -c .libs/libjq.a /home/peter/result/lib/libjq.a
libtool: install: chmod 644 /home/peter/result/lib/libjq.a
libtool: install: ranlib /home/peter/result/lib/libjq.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/peter/result/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c jq '/home/peter/result/bin'
libtool: install: /usr/bin/install -c jq /home/peter/result/bin/jq
/usr/bin/mkdir -p '/home/peter/result/share/doc/jq'
/usr/bin/install -c -m 644 README.md NEWS.md COPYING AUTHORS '/home/peter/result/share/doc/jq'
/usr/bin/mkdir -p '/home/peter/result/include'
/usr/bin/install -c -m 644 src/jv.h src/jq.h '/home/peter/result/include'
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 jq.1 '/home/peter/result/share/man/man1'
/usr/bin/mkdir -p '/home/peter/result/lib/pkgconfig'
/usr/bin/install -c -m 644 libjq.pc '/home/peter/result/lib/pkgconfig'
make[3]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
/home/peter/result/bin/jq: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=c959c8e53e5a537487e2bd7445449f7f8690df36, for GNU/Linux 3.2.0, not stripped
linux-vdso.so.1 (0x00007ffc33bb4000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007830773d2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007830771a9000)
/lib64/ld-linux-x86-64.so.2 (0x00007830775a0000)
compile-bench> set -e; cd /home/peter/build_jq/jq-1.8.1; echo 'Attempt static build via libtool wrapper'; make clean || true; make jq_LDFLAGS='-all-static' LDFLAGS='-static' CFLAGS='-O2' -j"$(nproc)" V=1; file jq; ldd jq || true; install -m 0755 jq /home/peter/result/bin/jq; ln -sf /home/peter/result/bin/jq /home/peter/result/jq; file /home/peter/result/bin/jq; ldd /home/peter/result/bin/jq || true Attempt static build via libtool wrapper
Making clean in vendor/oniguruma
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
Making clean in src
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
test -z "libonig.la" || rm -f libonig.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src'
Making clean in test
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8 test_syntax test_options testc testcu test_regset test_back
rm -rf .libs _libs
rm -f *.o
test -z "test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log" || rm -f test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log
test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test'
Making clean in sample
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample'
rm -f encode listcap names simple sql syntax user_property callout echo count bug_fix regset scan callback_each_match
rm -rf .libs _libs
rm -f *.o
test -z "encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log" || rm -f encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log
test -z "encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs" || rm -f encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample'
make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma'
make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1'
rm -f jq
test -z "src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1" || rm -f src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1
test -z "libjq.la " || rm -f libjq.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf src/.libs src/_libs
rm -rf vendor/decNumber/.libs vendo
[command output truncated]
1 -DHAVE_NEXTAFTER=1 -DHAVE_NEXTTOWARD=1 -DHAVE_POW=1 -DHAVE_REMAINDER=1 -DHAVE_RINT=1 -DHAVE_ROUND=1 -DHAVE_SCALB=1 -DHAVE_SCALBLN=1 -DHAVE_SIGNIFICAND=1 -DHAVE_SCALBN=1 -DHAVE_ILOGB=1 -DHAVE_SIN=1 -DHAVE_SINH=1 -DHAVE_SQRT=1 -DHAVE_TAN=1 -DHAVE_TANH=1 -DHAVE_TGAMMA=1 -DHAVE_TRUNC=1 -DHAVE_Y0=1 -DHAVE_Y1=1 -DHAVE_YN=1 -DHAVE___THREAD=1 -DIEEE_8087=1 -DHAVE_LIBONIG=1 -I. -I./src -I./vendor -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -MT src/parser.lo -MD -MP -MF src/.deps/parser.Tpo -c src/parser.c -o src/parser.o
/bin/bash ./libtool --tag=CC --mode=link gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -L./vendor/oniguruma/src -Wl,-rpath,/home/peter/result/lib -export-symbols-regex '^j[qv]_' -version-info 1:4:0 -static -o libjq.la -rpath /home/peter/result/lib src/builtin.lo src/bytecode.lo src/compile.lo src/execute.lo src/jq_test.lo src/jv.lo src/jv_alloc.lo src/jv_aux.lo src/jv_dtoa.lo src/jv_file.lo src/jv_parse.lo src/jv_print.lo src/jv_unicode.lo src/linker.lo src/locfile.lo src/util.lo src/jv_dtoa_tsd.lo vendor/decNumber/decContext.lo vendor/decNumber/decNumber.lo src/lexer.lo src/parser.lo -lm vendor/oniguruma/src/.libs/libonig.la -lpthread -static -lm
libtool: link: ar cr .libs/libjq.a src/builtin.o src/bytecode.o src/compile.o src/execute.o src/jq_test.o src/jv.o src/jv_alloc.o src/jv_aux.o src/jv_dtoa.o src/jv_file.o src/jv_parse.o src/jv_print.o src/jv_unicode.o src/linker.o src/locfile.o src/util.o src/jv_dtoa_tsd.o vendor/decNumber/decContext.o vendor/decNumber/decNumber.o src/lexer.o src/parser.o
libtool: link: ranlib .libs/libjq.a
libtool: link: ( cd ".libs" && rm -f "libjq.la" && ln -s "../libjq.la" "libjq.la" )
/bin/bash ./libtool --tag=CC --mode=link gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -all-static -static -o jq src/main.o libjq.la -lm vendor/oniguruma/src/.libs/libonig.la -lpthread -static -lm
libtool: link: gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -static -o jq src/main.o ./.libs/libjq.a -L./vendor/oniguruma/src /home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src/.libs/libonig.a vendor/oniguruma/src/.libs/libonig.a -lpthread -lm
make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1'
jq: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=906ef6e54738bd0a1aea453360c1569e34a9b6ab, for GNU/Linux 3.2.0, not stripped
not a dynamic executable
/home/peter/result/bin/jq: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=906ef6e54738bd0a1aea453360c1569e34a9b6ab, for GNU/Linux 3.2.0, not stripped
not a dynamic executable
↓ 59 lines
Attempt static build via libtool wrapper Making clean in vendor/oniguruma make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma' Making clean in src make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src' test -z "libonig.la" || rm -f libonig.la rm -f ./so_locations rm -rf .libs _libs rm -f *.o rm -f *.lo make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src' Making clean in test make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test' rm -f test_utf8 test_syntax test_options testc testcu test_regset test_back rm -rf .libs _libs rm -f *.o test -z "test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log" || rm -f test_utf8.log test_syntax.log test_options.log testc.log testcu.log test_regset.log test_back.log test -z "test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs" || rm -f test_utf8.trs test_syntax.trs test_options.trs testc.trs testcu.trs test_regset.trs test_back.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/test' Making clean in sample make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample' rm -f encode listcap names simple sql syntax user_property callout echo count bug_fix regset scan callback_each_match rm -rf .libs _libs rm -f *.o test -z "encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log" || rm -f encode.log listcap.log names.log simple.log sql.log syntax.log user_property.log callout.log echo.log count.log bug_fix.log regset.log scan.log callback_each_match.log test -z "encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs" || rm -f encode.trs listcap.trs names.trs simple.trs sql.trs syntax.trs user_property.trs callout.trs echo.trs count.trs bug_fix.trs regset.trs scan.trs callback_each_match.trs test -z "test-suite.log" || rm -f test-suite.log rm -f *.lo make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma/sample' make[2]: Entering directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma' make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1/vendor/oniguruma' make[1]: Entering directory '/home/peter/build_jq/jq-1.8.1' rm -f jq test -z "src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1" || rm -f src/version.h .remake-version-h src/builtin.inc src/config_opts.inc jq.1 test -z "libjq.la " || rm -f libjq.la rm -f ./so_locations rm -rf .libs _libs rm -rf src/.libs src/_libs rm -rf vendor/decNumber/.libs vendo [command output truncated] 1 -DHAVE_NEXTAFTER=1 -DHAVE_NEXTTOWARD=1 -DHAVE_POW=1 -DHAVE_REMAINDER=1 -DHAVE_RINT=1 -DHAVE_ROUND=1 -DHAVE_SCALB=1 -DHAVE_SCALBLN=1 -DHAVE_SIGNIFICAND=1 -DHAVE_SCALBN=1 -DHAVE_ILOGB=1 -DHAVE_SIN=1 -DHAVE_SINH=1 -DHAVE_SQRT=1 -DHAVE_TAN=1 -DHAVE_TANH=1 -DHAVE_TGAMMA=1 -DHAVE_TRUNC=1 -DHAVE_Y0=1 -DHAVE_Y1=1 -DHAVE_YN=1 -DHAVE___THREAD=1 -DIEEE_8087=1 -DHAVE_LIBONIG=1 -I. -I./src -I./vendor -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -MT src/parser.lo -MD -MP -MF src/.deps/parser.Tpo -c src/parser.c -o src/parser.o /bin/bash ./libtool --tag=CC --mode=link gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -L./vendor/oniguruma/src -Wl,-rpath,/home/peter/result/lib -export-symbols-regex '^j[qv]_' -version-info 1:4:0 -static -o libjq.la -rpath /home/peter/result/lib src/builtin.lo src/bytecode.lo src/compile.lo src/execute.lo src/jq_test.lo src/jv.lo src/jv_alloc.lo src/jv_aux.lo src/jv_dtoa.lo src/jv_file.lo src/jv_parse.lo src/jv_print.lo src/jv_unicode.lo src/linker.lo src/locfile.lo src/util.lo src/jv_dtoa_tsd.lo vendor/decNumber/decContext.lo vendor/decNumber/decNumber.lo src/lexer.lo src/parser.lo -lm vendor/oniguruma/src/.libs/libonig.la -lpthread -static -lm libtool: link: ar cr .libs/libjq.a src/builtin.o src/bytecode.o src/compile.o src/execute.o src/jq_test.o src/jv.o src/jv_alloc.o src/jv_aux.o src/jv_dtoa.o src/jv_file.o src/jv_parse.o src/jv_print.o src/jv_unicode.o src/linker.o src/locfile.o src/util.o src/jv_dtoa_tsd.o vendor/decNumber/decContext.o vendor/decNumber/decNumber.o src/lexer.o src/parser.o libtool: link: ranlib .libs/libjq.a libtool: link: ( cd ".libs" && rm -f "libjq.la" && ln -s "../libjq.la" "libjq.la" ) /bin/bash ./libtool --tag=CC --mode=link gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -all-static -static -o jq src/main.o libjq.la -lm vendor/oniguruma/src/.libs/libonig.la -lpthread -static -lm libtool: link: gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -Wstrict-prototypes -I./vendor/oniguruma/src -O2 -static -o jq src/main.o ./.libs/libjq.a -L./vendor/oniguruma/src /home/peter/build_jq/jq-1.8.1/vendor/oniguruma/src/.libs/libonig.a vendor/oniguruma/src/.libs/libonig.a -lpthread -lm make[2]: Leaving directory '/home/peter/build_jq/jq-1.8.1' make[1]: Leaving directory '/home/peter/build_jq/jq-1.8.1' jq: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=906ef6e54738bd0a1aea453360c1569e34a9b6ab, for GNU/Linux 3.2.0, not stripped not a dynamic executable /home/peter/result/bin/jq: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=906ef6e54738bd0a1aea453360c1569e34a9b6ab, for GNU/Linux 3.2.0, not stripped not a dynamic executable
compile-bench> set -e; stat -c '%N' /home/peter/result/jq; /home/peter/result/bin/jq --version '/home/peter/result/jq' -> '/home/peter/result/bin/jq'
jq-1.8.1
↓ 3 lines
'/home/peter/result/jq' -> '/home/peter/result/bin/jq' jq-1.8.1
I compiled jq v1.8.1 from /home/peter/jq.tar.gz, installed it into /home/peter/result, built it statically, and created the requested symlink.
What I did:
- Unpacked the source to a build directory.
- Configured and built jq to produce a fully static binary by invoking libtool with -all-static and LDFLAGS='-static', ensuring oniguruma is linked statically from the bundled vendor copy.
- Installed the binary to /home/peter/result/bin/jq and created a symlink /home/peter/result/jq -> /home/peter/result/bin/jq.
Verification:
- file /home/peter/result/bin/jq reports: statically linked.
- ldd /home/peter/result/bin/jq reports: not a dynamic executable.
- Symlink exists: '/home/peter/result/jq' -> '/home/peter/result/bin/jq'.
- Version check: jq-1.8.1
Artifacts:
- Binary: /home/peter/result/bin/jq (statically linked)
- Symlink: /home/peter/result/jq -> /home/peter/result/bin/jq
- Headers, libjq.a, man page, and docs are also installed under /home/peter/result.