Skip to content

make: CI Win64 build #22854

@kiminuo

Description

@kiminuo

Hi,

I executed the following command:

MAKEJOBS="-j15" FILE_ENV="./ci/test/00_setup_env_win64.sh" ./ci/test_run_all.sh

and I got:

[...]
/usr/bin/x86_64-w64-mingw32-ar cr leveldb/libmemenv.a leveldb/helpers/memenv/libmemenv_a-memenv.o 
/usr/bin/x86_64-w64-mingw32-ranlib leveldb/libmemenv.a
make  -C secp256k1 libsecp256k1.la
make[3]: Entering directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/secp256k1'
x86_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
./gen_context
/bin/bash: ./gen_context: No such file or directory
make[3]: Leaving directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/secp256k1'
make[3]: *** [Makefile:1785: src/ecmult_static_context.h] Error 127
make[2]: *** [Makefile:18108: secp256k1/libsecp256k1.la] Error 2
make[2]: Leaving directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
make[1]: *** [Makefile:16271: all-recursive] Error 1
make[1]: Leaving directory '/home/user/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-w64-mingw32/src'
make: *** [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:

ci/scratch/build/bitcoin-x86_64-w64-mingw32/src/secp256k1# ls -l
total 1732
-rw-rw-r-- 1 1000 1000   1057 Aug 28 07:26 COPYING
-rw-r--r-- 1 root root  74645 Aug 31 14:01 Makefile
-rw-rw-r-- 1 1000 1000   5426 Aug 28 07:26 Makefile.am
-rw-r--r-- 1 root root  79831 Aug 31 14:00 Makefile.in
-rw-r--r-- 1 root root  53198 Aug 31 14:00 aclocal.m4
-rwxrwxr-x 1 1000 1000     47 Aug 28 07:26 autogen.sh
drwxr-xr-x 3 root root   4096 Aug 31 14:01 build-aux
-rw-r--r-- 1 root root  66027 Aug 31 14:01 config.log
-rwxr-xr-x 1 root root  63237 Aug 31 14:01 config.status
-rwxr-xr-x 1 root root 531431 Aug 31 14:00 configure
-rw-rw-r-- 1 1000 1000  20668 Aug 28 07:26 configure.ac
drwxr-xr-x 2 root root   4096 Aug 31 14:01 contrib
-rwxr-xr-x 1 root root 397219 Aug 31 14:10 gen_context.exe
-rw-r--r-- 1 root root  82253 Aug 31 14:02 gen_context.o
drwxr-xr-x 2 root root   4096 Aug 31 14:01 include
-rw-r--r-- 1 root root    414 Aug 31 14:01 libsecp256k1.pc
-rw-rw-r-- 1 1000 1000    327 Aug 28 07:26 libsecp256k1.pc.in
-rwxr-xr-x 1 root root 343214 Aug 31 14:01 libtool
drwxr-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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions