Hi,
I executed the following command:
0MAKEJOBS="-j15" FILE_ENV="./ci/test/00_setup_env_win64.sh" ./ci/test_run_all.sh
and I got:
0[...]
1/usr/bin/x86_64-w64-mingw32-ar cr leveldb/libmemenv.a leveldb/helpers/memenv/libmemenv_a-memenv.o
2/usr/bin/x86_64-w64-mingw32-ranlib leveldb/libmemenv.a
3make -C secp256k1 libsecp256k1.la
4make[3]: Entering directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/secp256k1'
5x86_64-w64-mingw32-gcc -O2 -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wcast-align=strict -fvisibility=hidden -pipe -O2 -L/home/user/bitcoin/bitcoin/depends/x86_64-w64-mingw32/lib gen_context.o -o gen_context
6./gen_context
7/bin/bash: ./gen_context: No such file or directory
8make[3]: Leaving directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/secp256k1'
9make[3]: *** [Makefile:1785: src/ecmult_static_context.h] Error 127
10make[2]: *** [Makefile:18108: secp256k1/libsecp256k1.la] Error 2
11make[2]: Leaving directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
12make[1]: *** [Makefile:16271: all-recursive] Error 1
13make[1]: Leaving directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
14make: *** [Makefile:823: all-recursive] Error 1
Am I doing something wrong or is something broken? Note the /bin/bash: ./gen_context: No such file or directory
error.
For debugging purposes I did list the following directory:
0ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/secp256k1# ls -l
1total 1732
2-rw-rw-r-- 1 1000 1000 1057 Aug 28 07:26 COPYING
3-rw-r--r-- 1 root root 74645 Aug 31 14:01 Makefile
4-rw-rw-r-- 1 1000 1000 5426 Aug 28 07:26 Makefile.am
5-rw-r--r-- 1 root root 79831 Aug 31 14:00 Makefile.in
6-rw-r--r-- 1 root root 53198 Aug 31 14:00 aclocal.m4
7-rwxrwxr-x 1 1000 1000 47 Aug 28 07:26 autogen.sh
8drwxr-xr-x 3 root root 4096 Aug 31 14:01 build-aux
9-rw-r--r-- 1 root root 66027 Aug 31 14:01 config.log
10-rwxr-xr-x 1 root root 63237 Aug 31 14:01 config.status
11-rwxr-xr-x 1 root root 531431 Aug 31 14:00 configure
12-rw-rw-r-- 1 1000 1000 20668 Aug 28 07:26 configure.ac
13drwxr-xr-x 2 root root 4096 Aug 31 14:01 contrib
14-rwxr-xr-x 1 root root 397219 Aug 31 14:10 gen_context.exe
15-rw-r--r-- 1 root root 82253 Aug 31 14:02 gen_context.o
16drwxr-xr-x 2 root root 4096 Aug 31 14:01 include
17-rw-r--r-- 1 root root 414 Aug 31 14:01 libsecp256k1.pc
18-rw-rw-r-- 1 1000 1000 327 Aug 28 07:26 libsecp256k1.pc.in
19-rwxr-xr-x 1 root root 343214 Aug 31 14:01 libtool
20drwxr-xr-x 5 root root 4096 Aug 31 14:02 src
And one can see that gen_context.exe
exists but not gen_context
, so that makes me think that maybe there is some issue with $(BUILD_EXEEXT)
.
Do you encounter the same error? Any idea how to fix it?
Environment:
- Ubuntu 20.04
- git commit: 33707a2a