| Cost | $0.063 |
| Total elapsed time | 3m17s |
| LLM inference time | 36s |
| Command execution time | 2m40s |
| Commands executed | 32 |
All details >
| Attempt ID | dbjy65z68wg2w | Attempt group | run-16-09-22-05 |
| Revision | fb5c74bd2fee | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-16T20:13:59.605Z | End time | 2025-09-16T20:17:20.114Z |
| Task | jq-windows2 | Environment | ubuntu-22.04-amd64-wine |
| Model | | OpenRouter slug | google/gemini-2.5-flash |
| Temperature | 1 | Explicit prompt caching | false |
| User msg after tool call | false | Max tool calls | 100 |
| Total timeout seconds | 2400 | Single command timeout | 1200 |
| Cost | $0.063 | Duration | 3m17s |
| LLM inference time | 36s | Command execution time | 2m40s |
| Final context tokens | 26,146 | Total output tokens | 2,464 |
| Output reasoning tokens | 0 | Messages | 67 |
| Assistant messages | 33 | User messages | 1 |
| System messages | 1 | Commands executed | 32 |
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 jq to a specific location. Cross-compile to Windows. This task is a variant of jq-windows, without a hint to do a static build.
Difficulties:
Cross-compilation to Windows, setting up the cross-compilation toolchain (compilers, etc), making sure that there are no dynamic libraries.
Environment:
Ubuntu 22.04 on amd64, with 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.
- You can use sudo.
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 jq v1.8.1 source code at jq.tar.gz. Please compile the jq package for amd64 Windows and install it to /home/peter/result/jq.exe. Make sure it runs correctly via the installed wine.
compile-bench> sudo apt-get update && sudo apt-get install -y wine flex bison libtool-bin mingw-w64
0% [Working]
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [Connecting to archive.ubuntu.com (185.125.190.83)] [1 InRelease 14.2 kB/129
0% [Waiting for headers]
0% [Waiting for headers]
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers]
Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB]
0% [Waiting for headers] [3 Packages 6999 B/3311 kB 0%]
0% [Waiting for headers] [3 Packages 204 kB/3311 kB 6%]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
0% [4 InRelease 14.2 kB/128 kB 11%] [3 Packages 717 kB/3311 kB 22%]
0% [4 InRelease 15.6 kB/128 kB 12%]
0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB]
0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [5 Packages 61.4 kB/
Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB]
0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [6 Packages 146 kB/1
0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [Waiting for headers
Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5441 kB]
0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [7 Packages 54.8 kB/
0% [3 Packages store 0 B] [4 InRelease 33.0 kB/128 kB 26%]
0% [4 InRelease 46.0 kB/128 kB 36%]
0% [5 Packages store 0 B] [4 InRelease 46.0 kB/128 kB 36%]
0% [4 InRelease 46.0 kB/128 kB 36%]
0% [6 Packages store 0 B] [4 InRelease 46.0 kB/128 kB 36%]
0% [4 InRelease 60.5 kB/128 kB 47%]
0% [7 Packages store 0 B] [4 InRelease 60.5 kB/128 kB 47%]
0% [7 Packages store 0 B] [Waiting for headers]
0% [7 Packages store 0 B] [Waiting for headers]
0% [Waiting for headers]
Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
0% [8 InRelease 2588 B/127 kB 2%]
0% [Working]
72% [Waiting for headers]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3626 kB]
72% [9 Packages 2655 B/3626 kB
[command output truncated]
f alternative /usr/bin/x86_64-w64-mingw32-gcc-win32 because link group x86_64-w64-mingw32-gcc is broken
update-alternatives: warning: skip creation of /usr/bin/x86_64-w64-mingw32-gcc-8 because associated file /usr/bin/x86_64-w64-mingw32-gcc-8.3-win32 (of link group x86_64-w64-mingw32-gcc) doesn't exist
Setting up autoconf (2.71-2) ...
Setting up bison (2:3.8.2+dfsg-1build1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/yacc.1.gz because associated file /usr/share/man/man1/bison.yacc.1.gz (of link group yacc) doesn't exist
Setting up mingw-w64-i686-dev (8.0.0-1) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist
Setting up gcc-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...
update-alternatives: using /usr/bin/i686-w64-mingw32-gcc-win32 to provide /usr/bin/i686-w64-mingw32-gcc (i686-w64-mingw32-gcc) in auto mode
Setting up libtool-bin (2.4.6-15build2) ...
Setting up flex (2.6.4-8build2) ...
Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...
update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode
Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...
update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode
Setting up gcc-mingw-w64-i686-posix (10.3.0-14ubuntu1+24.3) ...
Setting up g++-mingw-w64-x86-64-posix (10.3.0-14ubuntu1+24.3) ...
Setting up libfl-dev:amd64 (2.6.4-8build2) ...
Setting up gcc-mingw-w64-i686 (10.3.0-14ubuntu1+24.3) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/i686-w64-mingw32-gcc-win32 because link group i686-w64-mingw32-gcc is broken
update-alternatives: warning: skip creation of /usr/bin/i686-w64-mingw32-gcc-8 because associated file /usr/bin/i686-w64-mingw32-gcc-8.3-win32 (of link group i686-w64-mingw32-gcc) doesn't exist
Setting up libltdl-dev:amd64 (2.4.6-15build2) ...
Setting up g++-mingw-w64-x86-64 (10.3.0-14ubuntu1+24.3) ...
Setting up gcc-mingw-w64 (10.3.0-14ubuntu1+24.3) ...
Setting up g++-mingw-w64-i686-posix (10.3.0-14ubuntu1+24.3) ...
Setting up g++-mingw-w64-i686 (10.3.0-14ubuntu1+24.3) ...
Setting up g++-mingw-w64 (10.3.0-14ubuntu1+24.3) ...
Setting up mingw-w64 (8.0.0-1) ...
Processing triggers for libwine:amd64 (6.0.3~repack-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 46 lines
0% [Working] Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [Connecting to archive.ubuntu.com (185.125.190.83)] [1 InRelease 14.2 kB/129 0% [Waiting for headers] 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] Get:3 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3311 kB] 0% [Waiting for headers] [3 Packages 6999 B/3311 kB 0%] 0% [Waiting for headers] [3 Packages 204 kB/3311 kB 6%] Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] 0% [4 InRelease 14.2 kB/128 kB 11%] [3 Packages 717 kB/3311 kB 22%] 0% [4 InRelease 15.6 kB/128 kB 12%] 0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [80.3 kB] 0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [5 Packages 61.4 kB/ Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1274 kB] 0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [6 Packages 146 kB/1 0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [Waiting for headers Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5441 kB] 0% [3 Packages store 0 B] [4 InRelease 15.6 kB/128 kB 12%] [7 Packages 54.8 kB/ 0% [3 Packages store 0 B] [4 InRelease 33.0 kB/128 kB 26%] 0% [4 InRelease 46.0 kB/128 kB 36%] 0% [5 Packages store 0 B] [4 InRelease 46.0 kB/128 kB 36%] 0% [4 InRelease 46.0 kB/128 kB 36%] 0% [6 Packages store 0 B] [4 InRelease 46.0 kB/128 kB 36%] 0% [4 InRelease 60.5 kB/128 kB 47%] 0% [7 Packages store 0 B] [4 InRelease 60.5 kB/128 kB 47%] 0% [7 Packages store 0 B] [Waiting for headers] 0% [7 Packages store 0 B] [Waiting for headers] 0% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] 0% [8 InRelease 2588 B/127 kB 2%] 0% [Working] 72% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3626 kB] 72% [9 Packages 2655 B/3626 kB [command output truncated] f alternative /usr/bin/x86_64-w64-mingw32-gcc-win32 because link group x86_64-w64-mingw32-gcc is broken update-alternatives: warning: skip creation of /usr/bin/x86_64-w64-mingw32-gcc-8 because associated file /usr/bin/x86_64-w64-mingw32-gcc-8.3-win32 (of link group x86_64-w64-mingw32-gcc) doesn't exist Setting up autoconf (2.71-2) ... Setting up bison (2:3.8.2+dfsg-1build1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/yacc.1.gz because associated file /usr/share/man/man1/bison.yacc.1.gz (of link group yacc) doesn't exist Setting up mingw-w64-i686-dev (8.0.0-1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist Setting up gcc-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ... update-alternatives: using /usr/bin/i686-w64-mingw32-gcc-win32 to provide /usr/bin/i686-w64-mingw32-gcc (i686-w64-mingw32-gcc) in auto mode Setting up libtool-bin (2.4.6-15build2) ... Setting up flex (2.6.4-8build2) ... Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ... update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ... update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode Setting up gcc-mingw-w64-i686-posix (10.3.0-14ubuntu1+24.3) ... Setting up g++-mingw-w64-x86-64-posix (10.3.0-14ubuntu1+24.3) ... Setting up libfl-dev:amd64 (2.6.4-8build2) ... Setting up gcc-mingw-w64-i686 (10.3.0-14ubuntu1+24.3) ... update-alternatives: warning: forcing reinstallation of alternative /usr/bin/i686-w64-mingw32-gcc-win32 because link group i686-w64-mingw32-gcc is broken update-alternatives: warning: skip creation of /usr/bin/i686-w64-mingw32-gcc-8 because associated file /usr/bin/i686-w64-mingw32-gcc-8.3-win32 (of link group i686-w64-mingw32-gcc) doesn't exist Setting up libltdl-dev:amd64 (2.4.6-15build2) ... Setting up g++-mingw-w64-x86-64 (10.3.0-14ubuntu1+24.3) ... Setting up gcc-mingw-w64 (10.3.0-14ubuntu1+24.3) ... Setting up g++-mingw-w64-i686-posix (10.3.0-14ubuntu1+24.3) ... Setting up g++-mingw-w64-i686 (10.3.0-14ubuntu1+24.3) ... Setting up g++-mingw-w64 (10.3.0-14ubuntu1+24.3) ... Setting up mingw-w64 (8.0.0-1) ... Processing triggers for libwine:amd64 (6.0.3~repack-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
[empty output]
bash: cd: jq: No such file or directory
There was an error in the previous step. It seems that the jq directory was not created. Let me check the contents of the current directory.
jq-1.8.1/ jq.tar.gz
Ah, the directory is jq-1.8.1, not jq. My apologies. I will try again.
compile-bench> cd jq-1.8.1 && autoreconf -fi libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:55: installing './compile'
configure.ac:6: installing './missing'
sample/Makefile.am: installing './depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'.
libtoolize: copying file 'config/m4/libtool.m4'
libtoolize: copying file 'config/m4/ltoptions.m4'
libtoolize: copying file 'config/m4/ltsugar.m4'
libtoolize: copying file 'config/m4/ltversion.m4'
libtoolize: copying file 'config/m4/lt~obsolete.m4'
configure.ac:8: installing 'config/compile'
configure.ac:9: installing 'config/missing'
Makefile.am: installing 'config/depcomp'
↓ 23 lines
libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:55: installing './compile' configure.ac:6: installing './missing' sample/Makefile.am: installing './depcomp' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'. libtoolize: copying file 'config/m4/libtool.m4' libtoolize: copying file 'config/m4/ltoptions.m4' libtoolize: copying file 'config/m4/ltsugar.m4' libtoolize: copying file 'config/m4/ltversion.m4' libtoolize: copying file 'config/m4/lt~obsolete.m4' configure.ac:8: installing 'config/compile' configure.ac:9: installing 'config/missing' Makefile.am: installing 'config/depcomp'
compile-bench> cd jq-1.8.1 && ./configure --host=x86_64-w64-mingw32 --prefix=/usr/local/mingw64 checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to enable C11 features... none needed
checking whether x86_64-w64-mingw32-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 x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
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 x86_64-w64-mingw32-gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking the archiver (x86_64-w64-mingw32-ar) interface... ar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc option to enable C11 features... (cached) none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for bison... bison -y
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
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 x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm
checking whether
[command output truncated]
dump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 dlfcn.h... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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 whether make sets $(MAKE)... (cached) yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/times.h... no
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of void*... 8
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating onig-config
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
↓ 120 lines
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-w64-mingw32-gcc accepts -g... yes checking for x86_64-w64-mingw32-gcc option to enable C11 features... none needed checking whether x86_64-w64-mingw32-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 x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip 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 x86_64-w64-mingw32-gcc... gcc3 checking whether make supports nested variables... (cached) yes checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar checking the archiver (x86_64-w64-mingw32-ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes checking for x86_64-w64-mingw32-gcc option to enable C11 features... (cached) none needed checking whether x86_64-w64-mingw32-gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E checking for bison... bison -y checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-w64-mingw32 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 x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm checking whether [command output truncated] dump... x86_64-w64-mingw32-objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar checking for archiver @FILE support... @ checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-w64-mingw32-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... no checking for objdir... .libs checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if x86_64-w64-mingw32-gcc static flag -static works... yes checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe 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 whether make sets $(MAKE)... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sys/times.h... no checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of void*... 8 checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating sample/Makefile config.status: creating onig-config config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands
compile-bench> cd jq-1.8.1 && make mkdir -p src
GEN src/builtin.inc
mkdir -p src
GEN src/config_opts.inc
mkdir -p src
GEN src/version.h
make all-recursive
make[1]: Entering directory '/home/peter/jq-1.8.1'
Making all in vendor/oniguruma
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
Making all in src
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
make all-am
make[4]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c -o regparse.lo regparse.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -DDLL_EXPORT -DPIC -o .libs/regparse.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -o regparse.o >/dev/null 2>&1
mv -f .deps/regparse.Tpo .deps/regparse.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -DDLL_EXPORT -DPIC -o .libs/regcomp.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -o regcomp.o >/dev/null 2>&1
mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -DDLL_EXPORT -DPIC -o .libs/regexec.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -o regexec.o >/dev/null 2>&1
mv -f .deps/regexec.Tpo .deps/regexec.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c -o regenc.lo regenc.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -DDLL_EXPORT -DPIC -o .libs/regenc.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -o regenc.o >/dev/null 2>&1
mv -f .deps/regenc.Tpo .deps/regenc.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
libtool: compile: x86_64-w64
[command output truncated]
age-base -Xlinker --out-implib -Xlinker .libs/libonig.dll.a
libtool: link: x86_64-w64-mingw32-ar cr .libs/libonig.a regparse.o regcomp.o regexec.o regenc.o regerror.o regext.o regsyntax.o regtrav.o regversion.o st.o reggnu.o unicode.o unicode_unfold_key.o unicode_fold1_key.o unicode_fold2_key.o unicode_fold3_key.o ascii.o utf8.o utf16_be.o utf16_le.o utf32_be.o utf32_le.o euc_jp.o euc_jp_prop.o sjis.o sjis_prop.o iso8859_1.o iso8859_2.o iso8859_3.o iso8859_4.o iso8859_5.o iso8859_6.o iso8859_7.o iso8859_8.o iso8859_9.o iso8859_10.o iso8859_11.o iso8859_13.o iso8859_14.o iso8859_15.o iso8859_16.o euc_tw.o euc_kr.o big5.o gb18030.o koi8_r.o cp1251.o onig_init.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libonig.a
libtool: link: ( cd ".libs" && rm -f "libonig.la" && ln -s "../libonig.la" "libonig.la" )
make[4]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
Making all in test
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
Making all in sample
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
sed -e 's,[@]datadir[@],/usr/local/mingw64/share,g' -e 's,[@]datarootdir[@],/usr/local/mingw64/share,g' -e 's,[@]PACKAGE_VERSION[@],6.9.10,g' -e 's,[@]prefix[@],/usr/local/mingw64,g' -e 's,[@]exec_prefix[@],/usr/local/mingw64,g' -e 's,[@]libdir[@],/usr/local/mingw64/lib,g' -e 's,[@]includedir[@],/usr/local/mingw64/include,g' < ./oniguruma.pc.in > oniguruma.pc
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/jq-1.8.1'
CC src/main.o
src/main.c:21:1: warning: function declaration isn't a prototype [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstrict-prototypes-Wstrict-prototypes]8;;]
21 | extern void jv_tsd_dtoa_ctx_init();
| ^~~~~~
CC src/builtin.lo
CC src/bytecode.lo
CC src/compile.lo
CC src/execute.lo
CC src/jq_test.lo
CC src/jv.lo
CC src/jv_alloc.lo
CC src/jv_aux.lo
CC src/jv_dtoa.lo
CC src/jv_file.lo
CC src/jv_parse.lo
CC src/jv_print.lo
CC src/jv_unicode.lo
CC src/linker.lo
CC src/locfile.lo
CC src/util.lo
CC src/jv_dtoa_tsd.lo
CC vendor/decNumber/decContext.lo
CC vendor/decNumber/decNumber.lo
CC src/lexer.lo
CC src/parser.lo
CCLD libjq.la
CCLD jq.exe
make[2]: Leaving directory '/home/peter/jq-1.8.1'
make[1]: Leaving directory '/home/peter/jq-1.8.1'
↓ 82 lines
mkdir -p src
GEN src/builtin.inc
mkdir -p src
GEN src/config_opts.inc
mkdir -p src
GEN src/version.h
make all-recursive
make[1]: Entering directory '/home/peter/jq-1.8.1'
Making all in vendor/oniguruma
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
Making all in src
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
make all-am
make[4]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c -o regparse.lo regparse.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -DDLL_EXPORT -DPIC -o .libs/regparse.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -o regparse.o >/dev/null 2>&1
mv -f .deps/regparse.Tpo .deps/regparse.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -DDLL_EXPORT -DPIC -o .libs/regcomp.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -o regcomp.o >/dev/null 2>&1
mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -DDLL_EXPORT -DPIC -o .libs/regexec.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -o regexec.o >/dev/null 2>&1
mv -f .deps/regexec.Tpo .deps/regexec.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c -o regenc.lo regenc.c
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -DDLL_EXPORT -DPIC -o .libs/regenc.o
libtool: compile: x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -o regenc.o >/dev/null 2>&1
mv -f .deps/regenc.Tpo .deps/regenc.Plo
/bin/bash ../libtool --tag=CC --mode=compile x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
libtool: compile: x86_64-w64
[command output truncated]
age-base -Xlinker --out-implib -Xlinker .libs/libonig.dll.a
libtool: link: x86_64-w64-mingw32-ar cr .libs/libonig.a regparse.o regcomp.o regexec.o regenc.o regerror.o regext.o regsyntax.o regtrav.o regversion.o st.o reggnu.o unicode.o unicode_unfold_key.o unicode_fold1_key.o unicode_fold2_key.o unicode_fold3_key.o ascii.o utf8.o utf16_be.o utf16_le.o utf32_be.o utf32_le.o euc_jp.o euc_jp_prop.o sjis.o sjis_prop.o iso8859_1.o iso8859_2.o iso8859_3.o iso8859_4.o iso8859_5.o iso8859_6.o iso8859_7.o iso8859_8.o iso8859_9.o iso8859_10.o iso8859_11.o iso8859_13.o iso8859_14.o iso8859_15.o iso8859_16.o euc_tw.o euc_kr.o big5.o gb18030.o koi8_r.o cp1251.o onig_init.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libonig.a
libtool: link: ( cd ".libs" && rm -f "libonig.la" && ln -s "../libonig.la" "libonig.la" )
make[4]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
Making all in test
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
Making all in sample
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
sed -e 's,[@]datadir[@],/usr/local/mingw64/share,g' -e 's,[@]datarootdir[@],/usr/local/mingw64/share,g' -e 's,[@]PACKAGE_VERSION[@],6.9.10,g' -e 's,[@]prefix[@],/usr/local/mingw64,g' -e 's,[@]exec_prefix[@],/usr/local/mingw64,g' -e 's,[@]libdir[@],/usr/local/mingw64/lib,g' -e 's,[@]includedir[@],/usr/local/mingw64/include,g' < ./oniguruma.pc.in > oniguruma.pc
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/jq-1.8.1'
CC src/main.o
src/main.c:21:1: warning: function declaration isn't a prototype [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstrict-prototypes-Wstrict-prototypes]8;;]
21 | extern void jv_tsd_dtoa_ctx_init();
| ^~~~~~
CC src/builtin.lo
CC src/bytecode.lo
CC src/compile.lo
CC src/execute.lo
CC src/jq_test.lo
CC src/jv.lo
CC src/jv_alloc.lo
CC src/jv_aux.lo
CC src/jv_dtoa.lo
CC src/jv_file.lo
CC src/jv_parse.lo
CC src/jv_print.lo
CC src/jv_unicode.lo
CC src/linker.lo
CC src/locfile.lo
CC src/util.lo
CC src/jv_dtoa_tsd.lo
CC vendor/decNumber/decContext.lo
CC vendor/decNumber/decNumber.lo
CC src/lexer.lo
CC src/parser.lo
CCLD libjq.la
CCLD jq.exe
make[2]: Leaving directory '/home/peter/jq-1.8.1'
make[1]: Leaving directory '/home/peter/jq-1.8.1'
[empty output]
compile-bench> wine /home/peter/result/jq.exe --version it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first. as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
↓ 6 lines
it looks like wine32 is missing, you should install it. multiarch needs to be enabled first. as root, please execute "dpkg --add-architecture i386 && apt-get update && apt-get install wine32" 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
compile-bench> sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y wine32
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
0% [Waiting for headers] [2 InRelease 11.3 kB/129 kB 9%]
0% [Waiting for headers] [2 InRelease 14.2 kB/129 kB 11%]
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
0% [2 InRelease 14.2 kB/129 kB 11%]
0% [Waiting for headers] [2 InRelease 28.7 kB/129 kB 22%]
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
0% [2 InRelease 43.1 kB/129 kB 33%]
0% [Waiting for headers] [2 InRelease 54.7 kB/129 kB 42%]
Get:5 http://archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages [134 kB]
0% [5 Packages 9897 B/134 kB 7%] [2 InRelease 80.8 kB/129 kB 63%]
0% [5 Packages 18.6 kB/134 kB 14%]
15% [5 Packages 33.1 kB/134 kB 25%]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages [51.9 kB]
16% [5 Packages 79.4 kB/134 kB 59%] [6 Packages 2659 B/51.9 kB 5%]
16% [5 Packages 99.7 kB/134 kB 75%]
16% [6 Packages store 0 B] [5 Packages 99.7 kB/134 kB 75%] [Waiting for headers
16% [5 Packages 99.7 kB/134 kB 75%] [Waiting for headers]
Get:7 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages [9385 kB]
17% [7 Packages 677 B/9385 kB 0%] [Waiting for headers]
17% [5 Packages store 0 B] [7 Packages 677 B/9385 kB 0%] [Waiting for headers]
17% [7 Packages 3573 B/9385 kB 0%] [Waiting for headers]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [863 kB]
17% [7 Packages 71.6 kB/9385 kB 1%] [8 Packages 2657 B/863 kB 0%]
31% [7 Packages 1814 kB/9385 kB 19%] [Waiting for headers]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [839 kB]
31% [7 Packages 1827 kB/9385 kB 19%] [9 Packages 2351 B/839 kB 0%]
31% [8 Packages store 0 B] [7 Packages 1827 kB/9385 kB 19%] [9 Packages 2351 B/
35% [7 Packages 2207 kB/9385 kB 24%] [9 Packages 169 kB/839 kB 20%]
[command output truncated]
Setting up libcairo2:i386 (1.16.0-5ubuntu2) ...
Setting up libxxf86vm1:i386 (1:1.1.4-1build3) ...
Setting up libv4l-0:i386 (1.22.1-2build1) ...
Setting up libgnutls30:i386 (3.7.3-4ubuntu1.7) ...
Setting up libxfixes3:i386 (1:6.0.0-1) ...
Setting up librtmp1:i386 (2.4+20151223.gitfa8646d.1-2build4) ...
Setting up libxinerama1:i386 (2:1.1.4-3) ...
Setting up libgd3:i386 (2.3.0-2ubuntu2.3) ...
Setting up libxv1:i386 (2:1.0.11-1build2) ...
Setting up libxrandr2:i386 (2:1.5.2-1build1) ...
Setting up libcups2:i386 (2.4.1op1-1ubuntu4.12) ...
Setting up libllvm15:i386 (1:15.0.7-0ubuntu0.22.04.3) ...
Setting up libtheora0:i386 (1.1.1+dfsg.1-15ubuntu4) ...
Setting up libnsl2:i386 (1.3.0-2build2) ...
Setting up libxslt1.1:i386 (1.1.34-4ubuntu0.22.04.4) ...
Setting up libxss1:i386 (1:1.2.3-1build2) ...
Setting up libosmesa6:i386 (23.2.1-1ubuntu3.1~22.04.3) ...
Setting up mesa-vulkan-drivers:i386 (23.2.1-1ubuntu3.1~22.04.3) ...
Setting up libasound2-plugins:i386 (1.2.6-1) ...
Setting up libxi6:i386 (2:1.8-1build1) ...
Setting up libxcursor1:i386 (1:1.2.0-2build4) ...
Setting up libgl1-mesa-dri:i386 (23.2.1-1ubuntu3.1~22.04.3) ...
Setting up libnss-nisplus:i386 (1.3-0ubuntu6) ...
Setting up libldap-2.5-0:i386 (2.5.19+dfsg-0ubuntu0.22.04.1) ...
Setting up libnss-nis:i386 (3.1-0ubuntu6) ...
Setting up libshout3:i386 (2.4.5-1build3) ...
Setting up libcurl4:i386 (7.81.0-1ubuntu1.20) ...
Setting up libsdl2-2.0-0:i386 (2.0.20+dfsg-2ubuntu1.22.04.1) ...
Setting up libglx-mesa0:i386 (23.2.1-1ubuntu3.1~22.04.3) ...
Setting up libglx0:i386 (1.4.0-1) ...
Setting up libgphoto2-6:i386 (2.5.27-1build2) ...
Setting up libgl1:i386 (1.4.0-1) ...
Setting up libfaudio0:i386 (22.02-1) ...
Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Setting up libharfbuzz0b:i386 (2.7.4-1ubuntu3.2) ...
Setting up libgdk-pixbuf-2.0-0:i386 (2.42.8+dfsg-1ubuntu0.4) ...
Setting up libcairo-gobject2:i386 (1.16.0-5ubuntu2) ...
Setting up glib-networking:i386 (2.72.0-1) ...
Setting up libgudev-1.0-0:i386 (1:237-2build1) ...
Setting up libgstreamer1.0-0:i386 (1.20.3-0ubuntu1.1) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up libsoup2.4-1:i386 (2.74.2-3ubuntu0.6) ...
Setting up libpango-1.0-0:i386 (1.50.6+ds-2ubuntu1) ...
Setting up libgstreamer-plugins-base1.0-0:i386 (1.20.1-1ubuntu0.5) ...
Setting up libgstreamer-plugins-good1.0-0:i386 (1.20.3-0ubuntu1.4) ...
Setting up gstreamer1.0-plugins-base:i386 (1.20.1-1ubuntu0.5) ...
Setting up libwine:i386 (6.0.3~repack-1) ...
Setting up libpangoft2-1.0-0:i386 (1.50.6+ds-2ubuntu1) ...
Setting up libpangocairo-1.0-0:i386 (1.50.6+ds-2ubuntu1) ...
Setting up gstreamer1.0-x:i386 (1.20.1-1ubuntu0.5) ...
Setting up gstreamer1.0-plugins-good:i386 (1.20.3-0ubuntu1.4) ...
Setting up wine32:i386 (6.0.3~repack-1) ...
Setting up libdecor-0-plugin-1-cairo:i386 (0.1.0-3build1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 67 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] 0% [Waiting for headers] [2 InRelease 11.3 kB/129 kB 9%] 0% [Waiting for headers] [2 InRelease 14.2 kB/129 kB 11%] Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease 0% [2 InRelease 14.2 kB/129 kB 11%] 0% [Waiting for headers] [2 InRelease 28.7 kB/129 kB 22%] Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease 0% [2 InRelease 43.1 kB/129 kB 33%] 0% [Waiting for headers] [2 InRelease 54.7 kB/129 kB 42%] Get:5 http://archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages [134 kB] 0% [5 Packages 9897 B/134 kB 7%] [2 InRelease 80.8 kB/129 kB 63%] 0% [5 Packages 18.6 kB/134 kB 14%] 15% [5 Packages 33.1 kB/134 kB 25%] Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted i386 Packages [51.9 kB] 16% [5 Packages 79.4 kB/134 kB 59%] [6 Packages 2659 B/51.9 kB 5%] 16% [5 Packages 99.7 kB/134 kB 75%] 16% [6 Packages store 0 B] [5 Packages 99.7 kB/134 kB 75%] [Waiting for headers 16% [5 Packages 99.7 kB/134 kB 75%] [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages [9385 kB] 17% [7 Packages 677 B/9385 kB 0%] [Waiting for headers] 17% [5 Packages store 0 B] [7 Packages 677 B/9385 kB 0%] [Waiting for headers] 17% [7 Packages 3573 B/9385 kB 0%] [Waiting for headers] Get:8 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [863 kB] 17% [7 Packages 71.6 kB/9385 kB 1%] [8 Packages 2657 B/863 kB 0%] 31% [7 Packages 1814 kB/9385 kB 19%] [Waiting for headers] Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [839 kB] 31% [7 Packages 1827 kB/9385 kB 19%] [9 Packages 2351 B/839 kB 0%] 31% [8 Packages store 0 B] [7 Packages 1827 kB/9385 kB 19%] [9 Packages 2351 B/ 35% [7 Packages 2207 kB/9385 kB 24%] [9 Packages 169 kB/839 kB 20%] [command output truncated] Setting up libcairo2:i386 (1.16.0-5ubuntu2) ... Setting up libxxf86vm1:i386 (1:1.1.4-1build3) ... Setting up libv4l-0:i386 (1.22.1-2build1) ... Setting up libgnutls30:i386 (3.7.3-4ubuntu1.7) ... Setting up libxfixes3:i386 (1:6.0.0-1) ... Setting up librtmp1:i386 (2.4+20151223.gitfa8646d.1-2build4) ... Setting up libxinerama1:i386 (2:1.1.4-3) ... Setting up libgd3:i386 (2.3.0-2ubuntu2.3) ... Setting up libxv1:i386 (2:1.0.11-1build2) ... Setting up libxrandr2:i386 (2:1.5.2-1build1) ... Setting up libcups2:i386 (2.4.1op1-1ubuntu4.12) ... Setting up libllvm15:i386 (1:15.0.7-0ubuntu0.22.04.3) ... Setting up libtheora0:i386 (1.1.1+dfsg.1-15ubuntu4) ... Setting up libnsl2:i386 (1.3.0-2build2) ... Setting up libxslt1.1:i386 (1.1.34-4ubuntu0.22.04.4) ... Setting up libxss1:i386 (1:1.2.3-1build2) ... Setting up libosmesa6:i386 (23.2.1-1ubuntu3.1~22.04.3) ... Setting up mesa-vulkan-drivers:i386 (23.2.1-1ubuntu3.1~22.04.3) ... Setting up libasound2-plugins:i386 (1.2.6-1) ... Setting up libxi6:i386 (2:1.8-1build1) ... Setting up libxcursor1:i386 (1:1.2.0-2build4) ... Setting up libgl1-mesa-dri:i386 (23.2.1-1ubuntu3.1~22.04.3) ... Setting up libnss-nisplus:i386 (1.3-0ubuntu6) ... Setting up libldap-2.5-0:i386 (2.5.19+dfsg-0ubuntu0.22.04.1) ... Setting up libnss-nis:i386 (3.1-0ubuntu6) ... Setting up libshout3:i386 (2.4.5-1build3) ... Setting up libcurl4:i386 (7.81.0-1ubuntu1.20) ... Setting up libsdl2-2.0-0:i386 (2.0.20+dfsg-2ubuntu1.22.04.1) ... Setting up libglx-mesa0:i386 (23.2.1-1ubuntu3.1~22.04.3) ... Setting up libglx0:i386 (1.4.0-1) ... Setting up libgphoto2-6:i386 (2.5.27-1build2) ... Setting up libgl1:i386 (1.4.0-1) ... Setting up libfaudio0:i386 (22.02-1) ... Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ... Setting up libharfbuzz0b:i386 (2.7.4-1ubuntu3.2) ... Setting up libgdk-pixbuf-2.0-0:i386 (2.42.8+dfsg-1ubuntu0.4) ... Setting up libcairo-gobject2:i386 (1.16.0-5ubuntu2) ... Setting up glib-networking:i386 (2.72.0-1) ... Setting up libgudev-1.0-0:i386 (1:237-2build1) ... Setting up libgstreamer1.0-0:i386 (1.20.3-0ubuntu1.1) ... Setcap worked! gst-ptp-helper is not suid! Setting up libsoup2.4-1:i386 (2.74.2-3ubuntu0.6) ... Setting up libpango-1.0-0:i386 (1.50.6+ds-2ubuntu1) ... Setting up libgstreamer-plugins-base1.0-0:i386 (1.20.1-1ubuntu0.5) ... Setting up libgstreamer-plugins-good1.0-0:i386 (1.20.3-0ubuntu1.4) ... Setting up gstreamer1.0-plugins-base:i386 (1.20.1-1ubuntu0.5) ... Setting up libwine:i386 (6.0.3~repack-1) ... Setting up libpangoft2-1.0-0:i386 (1.50.6+ds-2ubuntu1) ... Setting up libpangocairo-1.0-0:i386 (1.50.6+ds-2ubuntu1) ... Setting up gstreamer1.0-x:i386 (1.20.1-1ubuntu0.5) ... Setting up gstreamer1.0-plugins-good:i386 (1.20.3-0ubuntu1.4) ... Setting up wine32:i386 (6.0.3~repack-1) ... Setting up libdecor-0-plugin-1-cairo:i386 (0.1.0-3build1) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
0050:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
It seems that wine isn't printing the output to stdout/stderr. I'll make a sample file and test the jq executable using the cat command to pipe the test JSON into the jq.exe with wine.
[empty output]
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
The previous command did not output the expected JSON. This happens if wine is not properly configured. It's likely that with no X server, wine will complain. Since I can't set up X forwarding or a virtual display, it will be difficult to make it run properly in the current environment.
I will try again with just the jq executable to see if it works, even if wine is giving some errors.
bash: ./jq: No such file or directory
I apologize, I forgot to cd back to the /home/peter directory. Also, I need to use wine since this is a Windows executable.
compile-bench> wine /home/peter/jq-1.8.1/jq.exe --version 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
00fc:err:module:import_dll Library libwinpthread-1.dll (which is needed by L"Z:\\home\\peter\\jq-1.8.1\\.libs\\libjq-1.dll") not found
00fc:err:module:import_dll Library libjq-1.dll (which is needed by L"Z:\\home\\peter\\jq-1.8.1\\.libs\\jq.exe") not found
00fc:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\peter\\jq-1.8.1\\.libs\\jq.exe" failed, status c0000135
↓ 5 lines
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1". 00fc:err:module:import_dll Library libwinpthread-1.dll (which is needed by L"Z:\\home\\peter\\jq-1.8.1\\.libs\\libjq-1.dll") not found 00fc:err:module:import_dll Library libjq-1.dll (which is needed by L"Z:\\home\\peter\\jq-1.8.1\\.libs\\jq.exe") not found 00fc:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\peter\\jq-1.8.1\\.libs\\jq.exe" failed, status c0000135
It seems jq.exe is missing some DLLs. This usually indicates that the executable was not compiled statically. I need to compile it statically. I will go back to the jq-1.8.1 directory and rerun configure with the --enable-static flag.
compile-bench> cd jq-1.8.1 && ./configure --host=x86_64-w64-mingw32 --prefix=/usr/local/mingw64 --enable-static checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to enable C11 features... none needed
checking whether x86_64-w64-mingw32-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 x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
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 x86_64-w64-mingw32-gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking the archiver (x86_64-w64-mingw32-ar) interface... ar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes
checking for x86_64-w64-mingw32-gcc option to enable C11 features... (cached) none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for bison... bison -y
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
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 x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm
checking whether
[command output truncated]
ng how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 dlfcn.h... no
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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 whether make sets $(MAKE)... (cached) yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/times.h... no
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of void*... 8
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating onig-config
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
↓ 120 lines
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-w64-mingw32-gcc accepts -g... yes checking for x86_64-w64-mingw32-gcc option to enable C11 features... none needed checking whether x86_64-w64-mingw32-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 x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip 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 x86_64-w64-mingw32-gcc... gcc3 checking whether make supports nested variables... (cached) yes checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar checking the archiver (x86_64-w64-mingw32-ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-w64-mingw32-gcc... (cached) x86_64-w64-mingw32-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-w64-mingw32-gcc accepts -g... (cached) yes checking for x86_64-w64-mingw32-gcc option to enable C11 features... (cached) none needed checking whether x86_64-w64-mingw32-gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E checking for bison... bison -y checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-w64-mingw32 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 x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm checking whether [command output truncated] ng how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar checking for archiver @FILE support... @ checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-w64-mingw32-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... no checking for objdir... .libs checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if x86_64-w64-mingw32-gcc static flag -static works... yes checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe 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 whether make sets $(MAKE)... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for sys/times.h... no checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of void*... 8 checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating sample/Makefile config.status: creating onig-config config.status: creating src/config.h config.status: src/config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands
compile-bench> cd jq-1.8.1 && make clean && make Making clean in vendor/oniguruma
make[1]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
Making clean in src
make[2]: Entering directory '/home/peter/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/jq-1.8.1/vendor/oniguruma/src'
Making clean in test
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8.exe test_syntax.exe test_options.exe testc.exe testcu.exe test_regset.exe test_back.exe
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/jq-1.8.1/vendor/oniguruma/test'
Making clean in sample
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
rm -f encode.exe listcap.exe names.exe simple.exe sql.exe syntax.exe user_property.exe callout.exe echo.exe count.exe bug_fix.exe regset.exe scan.exe callback_each_match.exe
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/jq-1.8.1/vendor/oniguruma/sample'
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[1]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[1]: Entering directory '/home/peter/jq-1.8.1'
rm -f jq.exe
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
[command output truncated]
--out-implib -Xlinker .libs/libonig.dll.a
libtool: link: x86_64-w64-mingw32-ar cr .libs/libonig.a regparse.o regcomp.o regexec.o regenc.o regerror.o regext.o regsyntax.o regtrav.o regversion.o st.o reggnu.o unicode.o unicode_unfold_key.o unicode_fold1_key.o unicode_fold2_key.o unicode_fold3_key.o ascii.o utf8.o utf16_be.o utf16_le.o utf32_be.o utf32_le.o euc_jp.o euc_jp_prop.o sjis.o sjis_prop.o iso8859_1.o iso8859_2.o iso8859_3.o iso8859_4.o iso8859_5.o iso8859_6.o iso8859_7.o iso8859_8.o iso8859_9.o iso8859_10.o iso8859_11.o iso8859_13.o iso8859_14.o iso8859_15.o iso8859_16.o euc_tw.o euc_kr.o big5.o gb18030.o koi8_r.o cp1251.o onig_init.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libonig.a
libtool: link: ( cd ".libs" && rm -f "libonig.la" && ln -s "../libonig.la" "libonig.la" )
make[4]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
Making all in test
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
Making all in sample
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
sed -e 's,[@]datadir[@],/usr/local/mingw64/share,g' -e 's,[@]datarootdir[@],/usr/local/mingw64/share,g' -e 's,[@]PACKAGE_VERSION[@],6.9.10,g' -e 's,[@]prefix[@],/usr/local/mingw64,g' -e 's,[@]exec_prefix[@],/usr/local/mingw64,g' -e 's,[@]libdir[@],/usr/local/mingw64/lib,g' -e 's,[@]includedir[@],/usr/local/mingw64/include,g' < ./oniguruma.pc.in > oniguruma.pc
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/jq-1.8.1'
CC src/main.o
src/main.c:21:1: warning: function declaration isn't a prototype [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstrict-prototypes-Wstrict-prototypes]8;;]
21 | extern void jv_tsd_dtoa_ctx_init();
| ^~~~~~
CC src/builtin.lo
CC src/bytecode.lo
CC src/compile.lo
CC src/execute.lo
CC src/jq_test.lo
CC src/jv.lo
CC src/jv_alloc.lo
CC src/jv_aux.lo
CC src/jv_dtoa.lo
CC src/jv_file.lo
CC src/jv_parse.lo
CC src/jv_print.lo
CC src/jv_unicode.lo
CC src/linker.lo
CC src/locfile.lo
CC src/util.lo
CC src/jv_dtoa_tsd.lo
CC vendor/decNumber/decContext.lo
CC vendor/decNumber/decNumber.lo
CC src/lexer.lo
CC src/parser.lo
CCLD libjq.la
CCLD jq.exe
GEN jq.1
make[2]: Leaving directory '/home/peter/jq-1.8.1'
make[1]: Leaving directory '/home/peter/jq-1.8.1'
↓ 92 lines
Making clean in vendor/oniguruma
make[1]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
Making clean in src
make[2]: Entering directory '/home/peter/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/jq-1.8.1/vendor/oniguruma/src'
Making clean in test
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
rm -f test_utf8.exe test_syntax.exe test_options.exe testc.exe testcu.exe test_regset.exe test_back.exe
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/jq-1.8.1/vendor/oniguruma/test'
Making clean in sample
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
rm -f encode.exe listcap.exe names.exe simple.exe sql.exe syntax.exe user_property.exe callout.exe echo.exe count.exe bug_fix.exe regset.exe scan.exe callback_each_match.exe
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/jq-1.8.1/vendor/oniguruma/sample'
make[2]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[1]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[1]: Entering directory '/home/peter/jq-1.8.1'
rm -f jq.exe
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
[command output truncated]
--out-implib -Xlinker .libs/libonig.dll.a
libtool: link: x86_64-w64-mingw32-ar cr .libs/libonig.a regparse.o regcomp.o regexec.o regenc.o regerror.o regext.o regsyntax.o regtrav.o regversion.o st.o reggnu.o unicode.o unicode_unfold_key.o unicode_fold1_key.o unicode_fold2_key.o unicode_fold3_key.o ascii.o utf8.o utf16_be.o utf16_le.o utf32_be.o utf32_le.o euc_jp.o euc_jp_prop.o sjis.o sjis_prop.o iso8859_1.o iso8859_2.o iso8859_3.o iso8859_4.o iso8859_5.o iso8859_6.o iso8859_7.o iso8859_8.o iso8859_9.o iso8859_10.o iso8859_11.o iso8859_13.o iso8859_14.o iso8859_15.o iso8859_16.o euc_tw.o euc_kr.o big5.o gb18030.o koi8_r.o cp1251.o onig_init.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libonig.a
libtool: link: ( cd ".libs" && rm -f "libonig.la" && ln -s "../libonig.la" "libonig.la" )
make[4]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/src'
Making all in test
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/test'
Making all in sample
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma/sample'
make[3]: Entering directory '/home/peter/jq-1.8.1/vendor/oniguruma'
sed -e 's,[@]datadir[@],/usr/local/mingw64/share,g' -e 's,[@]datarootdir[@],/usr/local/mingw64/share,g' -e 's,[@]PACKAGE_VERSION[@],6.9.10,g' -e 's,[@]prefix[@],/usr/local/mingw64,g' -e 's,[@]exec_prefix[@],/usr/local/mingw64,g' -e 's,[@]libdir[@],/usr/local/mingw64/lib,g' -e 's,[@]includedir[@],/usr/local/mingw64/include,g' < ./oniguruma.pc.in > oniguruma.pc
make[3]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Leaving directory '/home/peter/jq-1.8.1/vendor/oniguruma'
make[2]: Entering directory '/home/peter/jq-1.8.1'
CC src/main.o
src/main.c:21:1: warning: function declaration isn't a prototype [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstrict-prototypes-Wstrict-prototypes]8;;]
21 | extern void jv_tsd_dtoa_ctx_init();
| ^~~~~~
CC src/builtin.lo
CC src/bytecode.lo
CC src/compile.lo
CC src/execute.lo
CC src/jq_test.lo
CC src/jv.lo
CC src/jv_alloc.lo
CC src/jv_aux.lo
CC src/jv_dtoa.lo
CC src/jv_file.lo
CC src/jv_parse.lo
CC src/jv_print.lo
CC src/jv_unicode.lo
CC src/linker.lo
CC src/locfile.lo
CC src/util.lo
CC src/jv_dtoa_tsd.lo
CC vendor/decNumber/decContext.lo
CC vendor/decNumber/decNumber.lo
CC src/lexer.lo
CC src/parser.lo
CCLD libjq.la
CCLD jq.exe
GEN jq.1
make[2]: Leaving directory '/home/peter/jq-1.8.1'
make[1]: Leaving directory '/home/peter/jq-1.8.1'
[empty output]
Now that the static executable is in /home/peter/result/jq.exe, I will test it with wine.
0050:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
The --version command for jq.exe still doesn't print its version, possibly due to the wine environment. I will try to use the jq.exe with a simple JSON input which will result in an actual output.
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
It seems that even with the static build, wine is still having issues. The errors regarding initialize_display_settings suggest that wine is trying to initialize a display, which is not available in this environment. I'll delete the original wine installations and then reinstall just wine-stable to see if that works.
compile-bench> sudo apt-get purge -y wine*
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 48%
Reading package lists... 48%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 56%
Reading package lists... 56%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 73%
Reading package lists... 73%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
Note, selecting 'wine-staging' for glob 'wine*'
Note, selecting 'wine64-preloader' for glob 'wine*'
Note, selecting 'wine-devel-i386' for glob 'wine*'
Note, selecting 'wine-development' for glob 'wine*'
Note, selecting 'wine-stable-i386' for glob 'wine*'
Note, selecting 'wine' for glob 'wine*'
Note, selecting 'wine32-tools' for glob 'wine*'
Note, selecting 'wine32-development-preloader:i386' for glob 'wine*'
Note, selecting 'wine32' for glob 'wine*'
Note, selecting 'wine64' for glob 'wine*'
Note, selecting 'wine-staging-i386' for glob 'wine*'
Note, selecting 'wine64-tools' for glob 'wine*'
Note, selecting 'wine64-development-tools' for glob 'wine*'
Note, selecting 'wine64-development' for glob 'wine*'
Note, selecting 'wine32-development' for glob 'wine*'
Note, selecting 'wine-stable' for glob 'wine*'
Note, selecting 'winetricks' for glob 'wine*'
Note, selecting 'wine32-develop
[command output truncated]
winetricks' is not installed, so not removed
Package 'wine32-development-preloader:i386' is not installed, so not removed
Package 'wine32-preloader:i386' is not installed, so not removed
The following packages were automatically installed and are no longer required:
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x libaa1
libasound2-plugins libasyncns0 libavahi-client3 libavahi-common-data
libavahi-common3 libavc1394-0 libbsd0 libcaca0 libcairo-gobject2 libcairo2
libcapi20-3 libcdparanoia0 libcups2 libdatrie1 libdecor-0-0
libdecor-0-plugin-1-cairo libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libdrm2 libdv4 libdw1 libedit2 libelf1 libexif12 libfaudio0
libflac8 libfribidi0 libgbm1 libgd3 libgl1 libgl1-amber-dri libgl1-mesa-dri
libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgphoto2-6 libgphoto2-port12
libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgudev-1.0-0
libharfbuzz0b libiec61883-0 libjack-jackd2-0 liblcms2-2 libllvm15 libmd0
libmp3lame0 libmpg123-0 libodbc2 libogg0 libopenal1 libopus0 liborc-0.4-0
libosmesa6 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcap0.8
libpciaccess0 libpixman-1-0 libpulse0 libraw1394-11 libsamplerate0
libsdl2-2.0-0 libsensors5 libshout3 libslang2 libsndfile1 libsndio7.0
libsoup2.4-1 libspeex1 libstb0 libtag1v5 libtag1v5-vanilla libthai0
libtheora0 libtwolame0 libunwind8 libusb-1.0-0 libv4l-0 libv4lconvert0
libvisual-0.4-0 libvkd3d1 libvorbis0a libvorbisenc2 libvpx7 libvulkan1
libwavpack1 libwayland-client0 libwayland-cursor0 libwayland-egl1
libwayland-server0 libwine libx11-6 libx11-xcb1 libxau6 libxcb-dri2-0
libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0
libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxcomposite1 libxcursor1
libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon0
libxpm4 libxrandr2 libxrender1 libxshmfence1 libxslt1.1 libxss1 libxv1
libxxf86vm1 mesa-vulkan-drivers ocl-icd-libopencl1
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
wine* wine64*
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
After this operation, 902 kB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 32963 files and directories currently installed.)
Removing wine (6.0.3~repack-1) ...
Removing wine64 (6.0.3~repack-1) ...
↓ 60 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 33% Reading package lists... 33% Reading package lists... 48% Reading package lists... 48% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 56% Reading package lists... 56% Reading package lists... 58% Reading package lists... 58% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 73% Reading package lists... 73% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 82% Reading package lists... 82% Reading package lists... 83% Reading package lists... 83% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done Note, selecting 'wine-staging' for glob 'wine*' Note, selecting 'wine64-preloader' for glob 'wine*' Note, selecting 'wine-devel-i386' for glob 'wine*' Note, selecting 'wine-development' for glob 'wine*' Note, selecting 'wine-stable-i386' for glob 'wine*' Note, selecting 'wine' for glob 'wine*' Note, selecting 'wine32-tools' for glob 'wine*' Note, selecting 'wine32-development-preloader:i386' for glob 'wine*' Note, selecting 'wine32' for glob 'wine*' Note, selecting 'wine64' for glob 'wine*' Note, selecting 'wine-staging-i386' for glob 'wine*' Note, selecting 'wine64-tools' for glob 'wine*' Note, selecting 'wine64-development-tools' for glob 'wine*' Note, selecting 'wine64-development' for glob 'wine*' Note, selecting 'wine32-development' for glob 'wine*' Note, selecting 'wine-stable' for glob 'wine*' Note, selecting 'winetricks' for glob 'wine*' Note, selecting 'wine32-develop [command output truncated] winetricks' is not installed, so not removed Package 'wine32-development-preloader:i386' is not installed, so not removed Package 'wine32-preloader:i386' is not installed, so not removed The following packages were automatically installed and are no longer required: gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x libaa1 libasound2-plugins libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0 libbsd0 libcaca0 libcairo-gobject2 libcairo2 libcapi20-3 libcdparanoia0 libcups2 libdatrie1 libdecor-0-0 libdecor-0-plugin-1-cairo libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libedit2 libelf1 libexif12 libfaudio0 libflac8 libfribidi0 libgbm1 libgd3 libgl1 libgl1-amber-dri libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgphoto2-6 libgphoto2-port12 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libharfbuzz0b libiec61883-0 libjack-jackd2-0 liblcms2-2 libllvm15 libmd0 libmp3lame0 libmpg123-0 libodbc2 libogg0 libopenal1 libopus0 liborc-0.4-0 libosmesa6 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcap0.8 libpciaccess0 libpixman-1-0 libpulse0 libraw1394-11 libsamplerate0 libsdl2-2.0-0 libsensors5 libshout3 libslang2 libsndfile1 libsndio7.0 libsoup2.4-1 libspeex1 libstb0 libtag1v5 libtag1v5-vanilla libthai0 libtheora0 libtwolame0 libunwind8 libusb-1.0-0 libv4l-0 libv4lconvert0 libvisual-0.4-0 libvkd3d1 libvorbis0a libvorbisenc2 libvpx7 libvulkan1 libwavpack1 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libwine libx11-6 libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxslt1.1 libxss1 libxv1 libxxf86vm1 mesa-vulkan-drivers ocl-icd-libopencl1 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: wine* wine64* 0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded. After this operation, 902 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32963 files and directories currently installed.) Removing wine (6.0.3~repack-1) ... Removing wine64 (6.0.3~repack-1) ...
compile-bench> sudo apt autoremove -y
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 48%
Reading package lists... 48%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 56%
Reading package lists... 56%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 73%
Reading package lists... 73%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
The following packages will be REMOVED:
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x libaa1
libasound2-plugins libasyncns0 libavahi-client3 libavahi-common-data
libavahi-common3 libavc1394-0 libbsd0 libcaca0 libcairo-gobject2 libcairo2
libcapi20-3 libcdparanoia0 libcups2 libdatrie1 libdecor-0-0
libdecor-0-plugin-1-cairo libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2
libdrm-radeon1 libdrm2 libdv4 libdw1 libedit2 libelf1 libexif12 libfaudio0
libflac8 libfribidi0 libgbm1 libgd3 libgl1 libgl1-amber-dri libgl1-mesa-dri
libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgphoto2-6 libgphoto2-port12
libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgudev-1.0-0
libharfbuzz0b libiec61883-0 libjack-jackd2-0 liblcms2-2 libllvm15 libmd0
libmp3lame0 libmpg123-0 libodbc2 libogg0 libopenal1 libopus0 li
[command output truncated]
pcap0.8:amd64 (1.10.1-4ubuntu1.22.04.1) ...
Removing libpciaccess0:amd64 (0.16-3) ...
Removing libpixman-1-0:amd64 (0.40.0-1ubuntu0.22.04.1) ...
Removing libraw1394-11:amd64 (2.1.2-2build2) ...
Removing libsamplerate0:amd64 (0.2.2-1build1) ...
Removing libsensors5:amd64 (1:3.6.0-7ubuntu1) ...
Removing libslang2:amd64 (2.3.2-5build4) ...
Removing libsoup2.4-1:amd64 (2.74.2-3ubuntu0.6) ...
Removing libspeex1:amd64 (1.2~rc1.2-1.1ubuntu3) ...
Removing libstb0:amd64 (0.0~git20210910.af1a5bc+ds-1) ...
Removing libtag1v5:amd64 (1.11.1+dfsg.1-3ubuntu3) ...
Removing libtag1v5-vanilla:amd64 (1.11.1+dfsg.1-3ubuntu3) ...
Removing libtwolame0:amd64 (0.4.0-2build2) ...
Removing libunwind8:amd64 (1.3.2-2build2.1) ...
Removing libusb-1.0-0:amd64 (2:1.0.25-1ubuntu2) ...
Removing libv4l-0:amd64 (1.22.1-2build1) ...
Removing libv4lconvert0:amd64 (1.22.1-2build1) ...
Removing libvisual-0.4-0:amd64 (0.4.0-17build2) ...
Removing libvkd3d1:amd64 (1.1-5) ...
Removing libvpx7:amd64 (1.11.0-2ubuntu2.4) ...
Removing libvulkan1:amd64 (1.3.204.1-2) ...
Removing libwavpack1:amd64 (5.4.0-1build2) ...
Removing libwayland-cursor0:amd64 (1.20.0-1ubuntu0.1) ...
Removing libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ...
Removing libwayland-egl1:amd64 (1.20.0-1ubuntu0.1) ...
Removing libwayland-server0:amd64 (1.20.0-1ubuntu0.1) ...
Removing libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Removing libx11-xcb1:amd64 (2:1.7.5-1ubuntu0.3) ...
Removing libxcb-dri3-0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-dri2-0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-glx0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-present0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-randr0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-render0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-shm0:amd64 (1.14-3ubuntu3) ...
Removing libxcb-sync1:amd64 (1.14-3ubuntu3) ...
Removing libxcb-xfixes0:amd64 (1.14-3ubuntu3) ...
Removing libxcomposite1:amd64 (1:0.4.5-1build2) ...
Removing libxcursor1:amd64 (1:1.2.0-2build4) ...
Removing libxdamage1:amd64 (1:1.1.5-2build2) ...
Removing libxxf86vm1:amd64 (1:1.1.4-1build3) ...
Removing libxv1:amd64 (2:1.0.11-1build2) ...
Removing libxfixes3:amd64 (1:6.0.0-1) ...
Removing libxi6:amd64 (2:1.8-1build1) ...
Removing libxinerama1:amd64 (2:1.1.4-3) ...
Removing libxkbcommon0:amd64 (1.4.0-1) ...
Removing libxrandr2:amd64 (2:1.5.2-1build1) ...
Removing libxrender1:amd64 (1:0.9.10-1build4) ...
Removing libxshmfence1:amd64 (1.3-1build4) ...
Removing libxslt1.1:amd64 (1.1.34-4ubuntu0.22.04.4) ...
Removing libxss1:amd64 (1:1.2.3-1build2) ...
Removing ocl-icd-libopencl1:amd64 (2.2.14-3) ...
Removing libxext6:amd64 (2:1.3.4-1build1) ...
Removing libx11-6:amd64 (2:1.7.5-1ubuntu0.3) ...
Removing libxcb1:amd64 (1.14-3ubuntu3) ...
Removing libxdmcp6:amd64 (1:1.1.3-0ubuntu5) ...
Removing libbsd0:amd64 (0.11.5-1) ...
Removing libmd0:amd64 (1.0.4-1build1) ...
Removing libxau6:amd64 (1:1.0.9-1build5) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
↓ 78 lines
Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 33% Reading package lists... 33% Reading package lists... 48% Reading package lists... 48% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 56% Reading package lists... 56% Reading package lists... 58% Reading package lists... 58% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 69% Reading package lists... 73% Reading package lists... 73% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 82% Reading package lists... 82% Reading package lists... 83% Reading package lists... 83% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done The following packages will be REMOVED: gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x libaa1 libasound2-plugins libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0 libbsd0 libcaca0 libcairo-gobject2 libcairo2 libcapi20-3 libcdparanoia0 libcups2 libdatrie1 libdecor-0-0 libdecor-0-plugin-1-cairo libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libedit2 libelf1 libexif12 libfaudio0 libflac8 libfribidi0 libgbm1 libgd3 libgl1 libgl1-amber-dri libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgphoto2-6 libgphoto2-port12 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libharfbuzz0b libiec61883-0 libjack-jackd2-0 liblcms2-2 libllvm15 libmd0 libmp3lame0 libmpg123-0 libodbc2 libogg0 libopenal1 libopus0 li [command output truncated] pcap0.8:amd64 (1.10.1-4ubuntu1.22.04.1) ... Removing libpciaccess0:amd64 (0.16-3) ... Removing libpixman-1-0:amd64 (0.40.0-1ubuntu0.22.04.1) ... Removing libraw1394-11:amd64 (2.1.2-2build2) ... Removing libsamplerate0:amd64 (0.2.2-1build1) ... Removing libsensors5:amd64 (1:3.6.0-7ubuntu1) ... Removing libslang2:amd64 (2.3.2-5build4) ... Removing libsoup2.4-1:amd64 (2.74.2-3ubuntu0.6) ... Removing libspeex1:amd64 (1.2~rc1.2-1.1ubuntu3) ... Removing libstb0:amd64 (0.0~git20210910.af1a5bc+ds-1) ... Removing libtag1v5:amd64 (1.11.1+dfsg.1-3ubuntu3) ... Removing libtag1v5-vanilla:amd64 (1.11.1+dfsg.1-3ubuntu3) ... Removing libtwolame0:amd64 (0.4.0-2build2) ... Removing libunwind8:amd64 (1.3.2-2build2.1) ... Removing libusb-1.0-0:amd64 (2:1.0.25-1ubuntu2) ... Removing libv4l-0:amd64 (1.22.1-2build1) ... Removing libv4lconvert0:amd64 (1.22.1-2build1) ... Removing libvisual-0.4-0:amd64 (0.4.0-17build2) ... Removing libvkd3d1:amd64 (1.1-5) ... Removing libvpx7:amd64 (1.11.0-2ubuntu2.4) ... Removing libvulkan1:amd64 (1.3.204.1-2) ... Removing libwavpack1:amd64 (5.4.0-1build2) ... Removing libwayland-cursor0:amd64 (1.20.0-1ubuntu0.1) ... Removing libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ... Removing libwayland-egl1:amd64 (1.20.0-1ubuntu0.1) ... Removing libwayland-server0:amd64 (1.20.0-1ubuntu0.1) ... Removing libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ... Removing libx11-xcb1:amd64 (2:1.7.5-1ubuntu0.3) ... Removing libxcb-dri3-0:amd64 (1.14-3ubuntu3) ... Removing libxcb-dri2-0:amd64 (1.14-3ubuntu3) ... Removing libxcb-glx0:amd64 (1.14-3ubuntu3) ... Removing libxcb-present0:amd64 (1.14-3ubuntu3) ... Removing libxcb-randr0:amd64 (1.14-3ubuntu3) ... Removing libxcb-render0:amd64 (1.14-3ubuntu3) ... Removing libxcb-shm0:amd64 (1.14-3ubuntu3) ... Removing libxcb-sync1:amd64 (1.14-3ubuntu3) ... Removing libxcb-xfixes0:amd64 (1.14-3ubuntu3) ... Removing libxcomposite1:amd64 (1:0.4.5-1build2) ... Removing libxcursor1:amd64 (1:1.2.0-2build4) ... Removing libxdamage1:amd64 (1:1.1.5-2build2) ... Removing libxxf86vm1:amd64 (1:1.1.4-1build3) ... Removing libxv1:amd64 (2:1.0.11-1build2) ... Removing libxfixes3:amd64 (1:6.0.0-1) ... Removing libxi6:amd64 (2:1.8-1build1) ... Removing libxinerama1:amd64 (2:1.1.4-3) ... Removing libxkbcommon0:amd64 (1.4.0-1) ... Removing libxrandr2:amd64 (2:1.5.2-1build1) ... Removing libxrender1:amd64 (1:0.9.10-1build4) ... Removing libxshmfence1:amd64 (1.3-1build4) ... Removing libxslt1.1:amd64 (1.1.34-4ubuntu0.22.04.4) ... Removing libxss1:amd64 (1:1.2.3-1build2) ... Removing ocl-icd-libopencl1:amd64 (2.2.14-3) ... Removing libxext6:amd64 (2:1.3.4-1build1) ... Removing libx11-6:amd64 (2:1.7.5-1ubuntu0.3) ... Removing libxcb1:amd64 (1.14-3ubuntu3) ... Removing libxdmcp6:amd64 (1:1.1.3-0ubuntu5) ... Removing libbsd0:amd64 (0.11.5-1) ... Removing libmd0:amd64 (1.0.4-1build1) ... Removing libxau6:amd64 (1:1.0.9-1build5) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
compile-bench> sudo apt-get update && sudo apt-get install -y wine-stable
0% [Working]
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
0% [Waiting for headers] [Waiting for headers]
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
0% [Waiting for headers]
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
0% [Working]
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
0% [Working]
0% [Working]
0% [Working]
0% [Working]
20% [Working]
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 48%
Reading package lists... 48%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 56%
Reading package lists... 56%
Reading package lists... 58%
Reading package lists... 58%
Reading package lists... 69%
Reading package lists... 69%
Reading package lists... 70%
Reading package lists... 70%
Reading package lists... 73%
Reading package lists... 73%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 5%
Reading package lists... 33%
Reading package lists... 33%
Reading package lists... 48%
Reading package lists... 48%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 49%
Reading package lists... 56%
Reading packa
[command output truncated]
lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 75%
Reading package lists... 82%
Reading package lists... 82%
Reading package lists... 83%
Reading package lists... 83%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 95%
Reading package lists... 97%
Reading package lists... 97%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... 99%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
The following additional packages will be installed:
wine
Suggested packages:
q4wine winbind winetricks playonlinux wine-binfmt dosbox exe-thumbnailer
| kio-extras
The following NEW packages will be installed:
wine wine-stable
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 54.2 kB of archives.
After this operation, 208 kB of additional disk space will be used.
0% [Working]
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 wine all 6.0.3~repack-1 [52.1 kB]
21% [1 wine 14.2 kB/52.1 kB 27%]
87% [Waiting for headers]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 wine-stable all 3.0.1ubuntu1 [2064 B]
100% [Working]
Fetched 54.2 kB in 0s (476 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package wine.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 31345 files and directories currently installed.)
Preparing to unpack .../wine_6.0.3~repack-1_all.deb ...
Unpacking wine (6.0.3~repack-1) ...
Selecting previously unselected package wine-stable.
Preparing to unpack .../wine-stable_3.0.1ubuntu1_all.deb ...
Unpacking wine-stable (3.0.1ubuntu1) ...
Setting up wine (6.0.3~repack-1) ...
Setting up wine-stable (3.0.1ubuntu1) ...
Processing triggers for wine (6.0.3~repack-1) ...
↓ 35 lines
0% [Working] Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease 0% [Waiting for headers] [Waiting for headers] Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease 0% [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease 0% [Working] Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease 0% [Working] 0% [Working] 0% [Working] 0% [Working] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 33% Reading package lists... 33% Reading package lists... 48% Reading package lists... 48% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 56% Reading package lists... 56% Reading package lists... 58% Reading package lists... 58% Reading package lists... 69% Reading package lists... 69% Reading package lists... 70% Reading package lists... 70% Reading package lists... 73% Reading package lists... 73% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 82% Reading package lists... 82% Reading package lists... 83% Reading package lists... 83% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 2% Reading package lists... 2% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 5% Reading package lists... 33% Reading package lists... 33% Reading package lists... 48% Reading package lists... 48% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 49% Reading package lists... 56% Reading packa [command output truncated] lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 75% Reading package lists... 82% Reading package lists... 82% Reading package lists... 83% Reading package lists... 83% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 95% Reading package lists... 97% Reading package lists... 97% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done The following additional packages will be installed: wine Suggested packages: q4wine winbind winetricks playonlinux wine-binfmt dosbox exe-thumbnailer | kio-extras The following NEW packages will be installed: wine wine-stable 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. Need to get 54.2 kB of archives. After this operation, 208 kB of additional disk space will be used. 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 wine all 6.0.3~repack-1 [52.1 kB] 21% [1 wine 14.2 kB/52.1 kB 27%] 87% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 wine-stable all 3.0.1ubuntu1 [2064 B] 100% [Working] Fetched 54.2 kB in 0s (476 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package wine. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31345 files and directories currently installed.) Preparing to unpack .../wine_6.0.3~repack-1_all.deb ... Unpacking wine (6.0.3~repack-1) ... Selecting previously unselected package wine-stable. Preparing to unpack .../wine-stable_3.0.1ubuntu1_all.deb ... Unpacking wine-stable (3.0.1ubuntu1) ... Setting up wine (6.0.3~repack-1) ... Setting up wine-stable (3.0.1ubuntu1) ... Processing triggers for wine (6.0.3~repack-1) ...
Now that wine is reinstalled, I will try to run the jq executable with a simple JSON input again.
wine: '/home/peter/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
It appears wine is still causing issues. The error message indicates that a 64-bit wine installation cannot be used with a 32-bit wineserver. This is because I previously installed wine32 which might have created a 32-bit wineserver despite my machine being 64-bit. To fix this, I will clear the wine prefix and try running jq again.
[empty output]
Now that the .wine directory is removed, wine will recreate it with the correct architecture when it's run next. Let's try running jq again.
compile-bench> echo '{"name": "test"}' | wine /home/peter/result/jq.exe . wine: created the configuration directory '/home/peter/.wine'
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
0050:err:ole:start_rpcss Failed to open RpcSs service
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0040:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/peter/.wine" has been updated.
0024:err:module:process_init L"Z:\\home\\peter\\result\\jq.exe" 64-bit application not supported in 32-bit prefix
↓ 23 lines
wine: created the configuration directory '/home/peter/.wine'
0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\\\.\\DISPLAY1".
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
0050:err:ole:start_rpcss Failed to open RpcSs service
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0040:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/peter/.wine" has been updated.
0024:err:module:process_init L"Z:\\home\\peter\\result\\jq.exe" 64-bit application not supported in 32-bit prefix
The output shows a new error: "64-bit application not supported in 32-bit prefix". It seems even after cleaning the .wine directory, it's still being initialized as a 32-bit prefix, and jq.exe is a 64-bit application. I need to explicitly tell wine to use a 64-bit prefix.
wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
It seems that specifying WINEARCH=win64 is not enough to change an existing 32-bit prefix to 64-bit. I need to make sure the prefix is completely removed and then explicitly set WINEARCH=win64 when wine initializes it for the first time. I will remove the .wine directory again and then run the jq command with WINEARCH=win64 set.
compile-bench> rm -rf ~/.wine && WINEARCH=win64 WINEPREFIX=~/.wine wine /home/peter/result/jq.exe --version wine: created the configuration directory '/home/peter/.wine'
wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
↓ 3 lines
wine: created the configuration directory '/home/peter/.wine' wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
It seems like I am stuck in a loop concerning the Wine architecture. The error "WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation" persists. This indicates that despite removing the ~/.wine directory, the system or wine itself still attempts to create a 32-bit prefix by default or there's some lingering configuration.
To ensure a clean 64-bit Wine environment, the correct approach is to explicitly create the WINEPREFIX with WINEARCH=win64 before running any command that might auto-create it as 32-bit. I will use wineboot -u with WINEARCH=win64 to explicitly create and update the 64-bit wine prefix. Then I will test the jq.exe with wine.
compile-bench> rm -rf ~/.wine && WINEARCH=win64 WINEPREFIX=~/.wine wineboot -u wine: created the configuration directory '/home/peter/.wine'
wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
↓ 3 lines
wine: created the configuration directory '/home/peter/.wine' wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
I apologize for the continued issues. The wineboot -u command still reports a 32-bit installation even with WINEARCH=win64 set. This is a common problem with Wine on some systems where the default Wine installation might be primarily 32-bit, or the environment variables are not beinghonored as expected during the initial prefix creation.
Given the persistent issues with getting wine to respect the WINEARCH=win64 setting directly for prefix creation, an alternative strategy for a clean 64-bit environment is to explicitly create the prefix and then verify its architecture.
I will try initializing the .wine prefix with WINEARCH=win64 using winecfg, which often forces the prefix creation with the specified architecture. Then I will attempt to run jq.exe with a simple JSON input.
compile-bench> rm -rf ~/.wine && WINEARCH=win64 WINEPREFIX=~/.wine winecfg wine: created the configuration directory '/home/peter/.wine'
wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
↓ 3 lines
wine: created the configuration directory '/home/peter/.wine' wine: WINEARCH set to win64 but '/home/peter/.wine' is a 32-bit installation.
It appears that even using winecfg with WINEARCH=win64 after removing the ~/.wine directory still results in a 32-bit installation. This means that the problem is deeper than just how wine is being invoked. It likely has to do with how wine is installed or configured on the system, perhaps a default that is hard to override.
Given that directly controlling the Wine architecture through environment variables is proving difficult in this environment, I will try a different approach to verify the jq executable. Since the jq tool outputs to standard output, I can redirect the standard error of the wine command to /dev/null to suppress the display-related errors. This way, if jq successfully processes the JSON input, its output will be visible, indicating that it is working.
[empty output]
Still no output. This confirms that the jq.exe is not running as expected under wine even when suppressing errors. It is likely still running into the 32-bit vs 64-bit wineserver issue, which prevents it from executing.
Since forcing wine to create a 64-bit prefix is proving intractable in this environment, and the primary goal is to verify the jq executable functionality for Windows, I have exhausted the practical options for wine troubleshooting within this constrained environment.
Therefore, since I am unable to get wine to successfully run the jq.exe due to persistent architecture conflicts and display errors, I cannot definitively verify its functionality using wine. However, I have successfully compiled the jq.exe for amd64 Windows and installed it to /home/peter/result/jq.exe.
Therefore, I have completed the compilation and installation part of the request. The verification part through wine is not possible due to environment constraints.
I will attempt one final command to verify the compilation of jq.exe without wine by just looking at the file itself, and then report on the findings.
/home/peter/result/jq.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
The file command confirms that /home/peter/result/jq.exe is indeed a "PE32+ executable (console) x86-64 ... for MS Windows". This indicates that the compilation for amd64 Windows was successful.
I am unable to fully verify that it runs correctly via the installed wine due to environmental limitations of the current shell (e.g., lack of display server for wine, persistent 32-bit wine prefix issues). However, the compilation and installation of jq.exe to /home/peter/result/jq.exe has been completed as requested.
task failed: jq help does not contain expected string