Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while building the image #53

Open
Tracked by #54
fynntang opened this issue Feb 3, 2023 · 4 comments
Open
Tracked by #54

An error occurred while building the image #53

fynntang opened this issue Feb 3, 2023 · 4 comments

Comments

@fynntang
Copy link

fynntang commented Feb 3, 2023

My system is OX M1 executing this docker build -t fb_recover_key . The following error occurred during the command

...
#7 279.3 Building wheels for collected packages: termcolor, apischema, bson, construct, fastecdsa, jsonrpcclient, jsonrpcserver, netstruct, pendulum, pyblake2, pysha3, pysodium, secp256k1, strict-rfc3339, crc16, ed25519, SSEClient, psutil
#7 279.3   Building wheel for termcolor (setup.py): started
#7 279.5   Building wheel for termcolor (setup.py): finished with status 'done'
#7 279.5   Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4849 sha256=0dfa77f3d9c782e517f075de72ced262304fbaa1fcbb8af78d71d9e756805630
#7 279.5   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/b6/0d/90/0d1bbd99855f99cb2f6c2e5ff96f8023fad8ec367695f7d72d
#7 279.5   Building wheel for apischema (setup.py): started
#7 304.3   Building wheel for apischema (setup.py): finished with status 'done'
#7 304.3   Created wheel for apischema: filename=apischema-0.17.5-cp39-cp39-linux_aarch64.whl size=519308 sha256=100452225f21c07fdc31d8b29dc153dc2fb3a1f1b9cfbc5e2ad83518e95b050d
#7 304.3   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/72/95/c9/093a908ee4c3d05ce181eaa6e063aebe20da4892d740d1c7dd
#7 304.4   Building wheel for bson (setup.py): started
#7 304.5   Building wheel for bson (setup.py): finished with status 'done'
#7 304.5   Created wheel for bson: filename=bson-0.5.10-py3-none-any.whl size=11979 sha256=f2740db8c50c0374b172cead42bab46fcfc97b9444c7b7735b2922f805357826
#7 304.5   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/6d/8b/5e/68619cb02962978c6cc8eaf68ca23ef28c69de7e086740702b
#7 304.5   Building wheel for construct (setup.py): started
#7 304.6   Building wheel for construct (setup.py): finished with status 'done'
#7 304.6   Created wheel for construct: filename=construct-2.10.68-py3-none-any.whl size=59226 sha256=0341d1a9dd37d7634443e76e0f13216ff8c722c1e6ba2226ef70c4e4153ffc73
#7 304.6   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/00/1c/64/ddaac89a721654e15e30ae193023c26da4c8677547cb38268b
#7 304.6   Building wheel for fastecdsa (pyproject.toml): started
#7 305.3   Building wheel for fastecdsa (pyproject.toml): finished with status 'done'
#7 305.3   Created wheel for fastecdsa: filename=fastecdsa-2.3.0-cp39-cp39-linux_aarch64.whl size=58634 sha256=3466cc91c76b2a68e89fa2e6f3f740e9351c0feef4627ab759c76494e519973f
#7 305.3   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/70/6c/b6/666407fc61a5ead4661e6e856523be9911b0735658e7dd3bf0
#7 305.3   Building wheel for jsonrpcclient (setup.py): started
#7 305.4   Building wheel for jsonrpcclient (setup.py): finished with status 'done'
#7 305.4   Created wheel for jsonrpcclient: filename=jsonrpcclient-4.0.2-py3-none-any.whl size=5766 sha256=43a82191e73631615454cd5cbb41faf2ef6db0b231480287c4fc2b6f51ad6a6c
#7 305.4   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/3a/35/49/0088ba8c10654d304df2546eddc0b57bf346cf7f65af9f0e03
#7 305.4   Building wheel for jsonrpcserver (setup.py): started
#7 305.6   Building wheel for jsonrpcserver (setup.py): finished with status 'done'
#7 305.6   Created wheel for jsonrpcserver: filename=jsonrpcserver-5.0.9-py3-none-any.whl size=15916 sha256=27f88c961822bd6200b7dd2bec3324c0eb0e84f76c1b923a9b4305f3bcc6db7d
#7 305.6   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/be/a7/3d/498fd39c08c10d42d1f8918d77986fc76ea3ece97b52fe6b84
#7 305.6   Building wheel for netstruct (setup.py): started
#7 305.7   Building wheel for netstruct (setup.py): finished with status 'done'
#7 305.7   Created wheel for netstruct: filename=netstruct-1.1.2-py3-none-any.whl size=5560 sha256=eb557fb341d502d2bc0a76c75ea4959d42919f8eb45807ecf6f0eabeb05485cf
#7 305.7   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/3c/6a/4e/f49f8743e7be7571b7c2be49f59a94816fa6ae8b5d72f645f3
#7 305.7   Building wheel for pendulum (pyproject.toml): started
#7 306.2   Building wheel for pendulum (pyproject.toml): finished with status 'done'
#7 306.2   Created wheel for pendulum: filename=pendulum-2.1.2-cp39-cp39-manylinux_2_28_aarch64.whl size=126267 sha256=df47ed8f39fbc12acf8c54ca25512dccbe4af5924cbabae4e8c3c9a22eee4a62
#7 306.2   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/c9/c7/29/3cf0033406b18958d1a7b107c38be2405ef9c081b64a264fd5
#7 306.2   Building wheel for pyblake2 (setup.py): started
#7 306.9   Building wheel for pyblake2 (setup.py): finished with status 'done'
#7 306.9   Created wheel for pyblake2: filename=pyblake2-1.1.2-cp39-cp39-linux_aarch64.whl size=17204 sha256=d20ed9d9907033e6938e5f88a6c8ee4d7cbc40d98c9962c359c72e4e02b29093
#7 306.9   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/9f/cd/44/6f7f7db035dd1daadae9fb2f67d3072f7cee3d936da22a5e61
#7 306.9   Building wheel for pysha3 (setup.py): started
#7 308.4   Building wheel for pysha3 (setup.py): finished with status 'done'
#7 308.4   Created wheel for pysha3: filename=pysha3-1.0.2-cp39-cp39-linux_aarch64.whl size=36223 sha256=4471049d870bc6cce327adf4e7edce73d2cb2bcdce7040b90d65b99fa39d096d
#7 308.4   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/17/9d/00/86e22a32b0109bd3c8797adf13a74427aa38e6ad1135633d50
#7 308.4   Building wheel for pysodium (setup.py): started
#7 308.5   Building wheel for pysodium (setup.py): finished with status 'done'
#7 308.5   Created wheel for pysodium: filename=pysodium-0.7.12-py3-none-any.whl size=13478 sha256=f70b74ed1ec99be12593d73e843b1d3ddb8f1df408e66399b0dd2425cb1a7f43
#7 308.5   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/5f/df/d9/8f1d883c041bc856807ae43e4ab07e179bfa32cf737c383b54
#7 308.5   Building wheel for secp256k1 (setup.py): started
#7 311.1   Building wheel for secp256k1 (setup.py): finished with status 'error'
#7 311.1   error: subprocess-exited-with-error
#7 311.1   
#7 311.1   × python setup.py bdist_wheel did not run successfully.
#7 311.1   │ exit code: 1
#7 311.1   ╰─> [152 lines of output]
#7 311.1       0.29
#7 311.1       Using bundled libsecp256k1
#7 311.1       running bdist_wheel
#7 311.1       The [wheel] section is deprecated. Use [bdist_wheel] instead.
#7 311.1       running build
#7 311.1       running build_py
#7 311.1       creating build
#7 311.1       creating build/lib.linux-aarch64-3.9
#7 311.1       creating build/lib.linux-aarch64-3.9/secp256k1
#7 311.1       copying secp256k1/__main__.py -> build/lib.linux-aarch64-3.9/secp256k1
#7 311.1       copying secp256k1/__init__.py -> build/lib.linux-aarch64-3.9/secp256k1
#7 311.1       running build_clib
#7 311.1       Building experimental
#7 311.1       checking build system type... aarch64-unknown-linux-gnu
#7 311.1       checking host system type... aarch64-unknown-linux-gnu
#7 311.1       checking for a BSD-compatible install... /usr/bin/install -c
#7 311.1       checking whether build environment is sane... yes
#7 311.1       checking for a thread-safe mkdir -p... /bin/mkdir -p
#7 311.1       checking for gawk... no
#7 311.1       checking for mawk... mawk
#7 311.1       checking whether make sets $(MAKE)... no
#7 311.1       checking whether make supports nested variables... no
#7 311.1       checking how to print strings... printf
#7 311.1       checking whether make supports the include directive... no
#7 311.1       checking for gcc... gcc
#7 311.1       checking whether the C compiler works... yes
#7 311.1       checking for C compiler default output file name... a.out
#7 311.1       checking for suffix of executables...
#7 311.1       checking whether we are cross compiling... no
#7 311.1       checking for suffix of object files... o
#7 311.1       checking whether we are using the GNU C compiler... yes
#7 311.1       checking whether gcc accepts -g... yes
#7 311.1       checking for gcc option to accept ISO C89... none needed
#7 311.1       checking whether gcc understands -c and -o together... yes
#7 311.1       checking dependency style of gcc... none
#7 311.1       checking for a sed that does not truncate output... /bin/sed
#7 311.1       checking for grep that handles long lines and -e... /bin/grep
#7 311.1       checking for egrep... /bin/grep -E
#7 311.1       checking for fgrep... /bin/grep -F
#7 311.1       checking for ld used by gcc... /usr/bin/ld
#7 311.1       checking if the linker (/usr/bin/ld) is GNU ld... yes
#7 311.1       checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
#7 311.1       checking the name lister (/usr/bin/nm -B) interface... BSD nm
#7 311.1       checking whether ln -s works... yes
#7 311.1       checking the maximum length of command line arguments... 1572864
#7 311.1       checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
#7 311.1       checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
#7 311.1       checking for /usr/bin/ld option to reload object files... -r
#7 311.1       checking for objdump... objdump
#7 311.1       checking how to recognize dependent libraries... pass_all
#7 311.1       checking for dlltool... no
#7 311.1       checking how to associate runtime and link libraries... printf %s\n
#7 311.1       checking for ar... ar
#7 311.1       checking for archiver @FILE support... @
#7 311.1       checking for strip... strip
#7 311.1       checking for ranlib... ranlib
#7 311.1       checking command to parse /usr/bin/nm -B output from gcc object... ok
#7 311.1       checking for sysroot... no
#7 311.1       checking for a working dd... /bin/dd
#7 311.1       checking how to truncate binary pipes... /bin/dd bs=4096 count=1
#7 311.1       checking for mt... no
#7 311.1       checking if : is a manifest tool... no
#7 311.1       checking how to run the C preprocessor... gcc -E
#7 311.1       checking for ANSI C header files... yes
#7 311.1       checking for sys/types.h... yes
#7 311.1       checking for sys/stat.h... yes
#7 311.1       checking for stdlib.h... yes
#7 311.1       checking for string.h... yes
#7 311.1       checking for memory.h... yes
#7 311.1       checking for strings.h... yes
#7 311.1       checking for inttypes.h... yes
#7 311.1       checking for stdint.h... yes
#7 311.1       checking for unistd.h... yes
#7 311.1       checking for dlfcn.h... yes
#7 311.1       checking for objdir... .libs
#7 311.1       checking if gcc supports -fno-rtti -fno-exceptions... no
#7 311.1       checking for gcc option to produce PIC... -fPIC -DPIC
#7 311.1       checking if gcc PIC flag -fPIC -DPIC works... yes
#7 311.1       checking if gcc static flag -static works... yes
#7 311.1       checking if gcc supports -c -o file.o... yes
#7 311.1       checking if gcc supports -c -o file.o... (cached) yes
#7 311.1       checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
#7 311.1       checking dynamic linker characteristics... GNU/Linux ld.so
#7 311.1       checking how to hardcode library paths into programs... immediate
#7 311.1       checking whether stripping libraries is possible... yes
#7 311.1       checking if libtool supports shared libraries... yes
#7 311.1       checking whether to build shared libraries... no
#7 311.1       checking whether to build static libraries... yes
#7 311.1       checking whether make supports nested variables... (cached) no
#7 311.1       checking for pkg-config... /usr/bin/pkg-config
#7 311.1       checking pkg-config is at least version 0.9.0... yes
#7 311.1       checking for ar... /usr/bin/ar
#7 311.1       checking for ranlib... /usr/bin/ranlib
#7 311.1       checking for strip... /usr/bin/strip
#7 311.1       checking for gcc option to accept ISO C89... (cached) none needed
#7 311.1       checking dependency style of gcc... none
#7 311.1       checking if gcc supports -Werror=unknown-warning-option... no
#7 311.1       checking if gcc supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
#7 311.1       checking if gcc supports -Wno-overlength-strings... yes
#7 311.1       checking if gcc supports -Wall... yes
#7 311.1       checking if gcc supports -Wno-unused-function... yes
#7 311.1       checking if gcc supports -Wextra... yes
#7 311.1       checking if gcc supports -Wcast-align... yes
#7 311.1       checking if gcc supports -Wcast-align=strict... yes
#7 311.1       checking if gcc supports -Wconditional-uninitialized... no
#7 311.1       checking if gcc supports -fvisibility=hidden... yes
#7 311.1       checking valgrind/memcheck.h usability... no
#7 311.1       checking valgrind/memcheck.h presence... no
#7 311.1       checking for valgrind/memcheck.h... no
#7 311.1       checking for x86_64 assembly availability... no
#7 311.1       configure: ******
#7 311.1       configure: WARNING: experimental build
#7 311.1       configure: Experimental features do not have stable APIs or properties, and may not be safe for production use.
#7 311.1       configure: Building extrakeys module: yes
#7 311.1       configure: Building schnorrsig module: yes
#7 311.1       configure: ******
#7 311.1       checking that generated files are newer than configure... done
#7 311.1       configure: creating ./config.status
#7 311.1       config.status: creating Makefile
#7 311.1       config.status: creating libsecp256k1.pc
#7 311.1       config.status: creating src/libsecp256k1-config.h
#7 311.1       config.status: executing depfiles commands
#7 311.1       config.status: executing libtool commands
#7 311.1       
#7 311.1       Build Options:
#7 311.1         with ecmult precomp     = yes
#7 311.1         with external callbacks = no
#7 311.1         with benchmarks         = yes
#7 311.1         with tests              = yes
#7 311.1         with coverage           = no
#7 311.1         module ecdh             = yes
#7 311.1         module recovery         = yes
#7 311.1         module extrakeys        = yes
#7 311.1         module schnorrsig       = yes
#7 311.1       
#7 311.1         asm                     = no
#7 311.1         ecmult window size      = 15
#7 311.1         ecmult gen prec. bits   = 4
#7 311.1       
#7 311.1         valgrind                = no
#7 311.1         CC                      = gcc
#7 311.1         CPPFLAGS                =
#7 311.1         SECP_CFLAGS             = -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
#7 311.1         CFLAGS                  = -g -O2
#7 311.1         LDFLAGS                 =
#7 311.1       
#7 311.1         CC_FOR_BUILD            = gcc
#7 311.1         CPPFLAGS_FOR_BUILD      =
#7 311.1         SECP_CFLAGS_FOR_BUILD   = -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
#7 311.1         CFLAGS_FOR_BUILD        = -g -O2
#7 311.1         LDFLAGS_FOR_BUILD       =
#7 311.1       error: [Errno 2] No such file or directory: 'make'
#7 311.1       [end of output]
#7 311.1   
#7 311.1   note: This error originates from a subprocess, and is likely not a problem with pip.
#7 311.1   ERROR: Failed building wheel for secp256k1
#7 311.1   Running setup.py clean for secp256k1
#7 311.3   Building wheel for strict-rfc3339 (setup.py): started
#7 311.4   Building wheel for strict-rfc3339 (setup.py): finished with status 'done'
#7 311.4   Created wheel for strict-rfc3339: filename=strict_rfc3339-0.7-py3-none-any.whl size=18147 sha256=8eb9d52e73b8da70ec5d8270184e22efacb5a8bc88101da2f93be2049a4ecc21
#7 311.4   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/25/38/74/7ec7f77ec64b2907430120931ba588b40e6e26f02d4df5be35
#7 311.4   Building wheel for crc16 (setup.py): started
#7 311.6   Building wheel for crc16 (setup.py): finished with status 'done'
#7 311.6   Created wheel for crc16: filename=crc16-0.1.1-cp39-cp39-linux_aarch64.whl size=11426 sha256=f551e0ae6adaaf6343b33443a0655b371a9f5d30c8869d7d69a5b471f22a2b40
#7 311.6   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/5f/f8/1f/f2bc1588af5f7af783aa1d4fb9ce5650292ff29ade704ab06b
#7 311.6   Building wheel for ed25519 (setup.py): started
#7 312.5   Building wheel for ed25519 (setup.py): finished with status 'done'
#7 312.5   Created wheel for ed25519: filename=ed25519-1.5-cp39-cp39-linux_aarch64.whl size=70588 sha256=abca4e93455805d5d6b12538ca6f80d3e9ff02dff8efb5786c651fe571b185dd
#7 312.5   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/7c/18/e6/5b7d4ee6059b8b3fddd8a20b5a3ae70309c8d839b25b2992e5
#7 312.5   Building wheel for SSEClient (setup.py): started
#7 312.7   Building wheel for SSEClient (setup.py): finished with status 'done'
#7 312.7   Created wheel for SSEClient: filename=sseclient-0.0.27-py3-none-any.whl size=5585 sha256=6f6419136f9fa64fd1110a42b7428c957a4e30a2afb2fec38684ec7c2ab9d506
#7 312.7   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/73/21/3f/9d20c05c1c9312ab61bc7bf63bb2c189a71e800cb028fa8d2a
#7 312.7   Building wheel for psutil (pyproject.toml): started
#7 313.4   Building wheel for psutil (pyproject.toml): finished with status 'done'
#7 313.4   Created wheel for psutil: filename=psutil-5.9.4-cp39-abi3-linux_aarch64.whl size=232131 sha256=0c2e37fc18854743b5ab3d701b71095bfb2cf3b5213f304a4d8f6d56bca92681
#7 313.4   Stored in directory: /tmp/pip-ephem-wheel-cache-yayoz5g8/wheels/b3/e1/ef/72253145950aea37e83c8c13a844c583e2b575f1c93598901d
#7 313.4 Successfully built termcolor apischema bson construct fastecdsa jsonrpcclient jsonrpcserver netstruct pendulum pyblake2 pysha3 pysodium strict-rfc3339 crc16 ed25519 SSEClient psutil
#7 313.4 Failed to build secp256k1
#7 314.1 Installing collected packages: webencodings, wcwidth, types-cachetools, termcolor, strict-rfc3339, Send2Trash, rfc3986, pysodium, pysha3, pyblake2, py-sr25519-bindings, py-ed25519-bindings, py-bip39-bindings, pure-eval, ptyprocess, ply, pickleshare, netstruct, mypy-extensions, msgpack, mistune, jsonrpcclient, ipython-genutils, fastjsonschema, executing, ed25519, crc16, charset-normalizer, cached-property, backcall, zipp, xxhash, wrapt, websockets, websocket-client, webcolors, urllib3, uri-template, typing-extensions, traitlets, tqdm, tornado, toolz, toml, tinycss2, tabulate, soupsieve, solders, sniffio, six, simplejson, rfc3986-validator, pyzmq, pyyaml, pytzdata, python-json-logger, pyrsistent, pygments, pycryptodomex, pycryptodome, pycparser, py, psutil, prompt-toolkit, prometheus-client, pluggy, platformdirs, pexpect, parso, pandocfilters, packaging, numpy, nest-asyncio, multidict, more-itertools, mnemonic, markupsafe, jupyterlab-pygments, jsonpointer, iniconfig, idna, h11, graphql-core, fqdn, fastecdsa, exceptiongroup, eth-typing, eth-hash, entrypoints, defusedxml, decorator, debugpy, construct, click, certifi, cbor2, cachetools, bech32, based58, base58, backoff, attrs, apischema, yarl, terminado, rfc3339-validator, requests, python-dateutil, pytest, oslash, matplotlib-inline, jupyter-core, jsonschema, jinja2, jedi, importlib-metadata, ecdsa, deprecation, cytoolz, construct-typing, comm, cffi, cattrs, bleach, beautifulsoup4, asttokens, anyio, stack-data, SSEClient, secp256k1, scalecodec, pynacl, pendulum, nbformat, jupyter-server-terminals, jupyter-client, jsonrpcserver, httpcore, gql, eth-utils, docker, bson, arrow, argon2-cffi-bindings, testcontainers, stellar_base, py-ecc, py-algorand-sdk, nbclient, isoduration, ipython, httpx, eth-keys, argon2-cffi, substrate-interface, solana, nbconvert, ipykernel, jupyter-events, jupyter-server, notebook-shim, nbclassic, notebook, pytezos
#7 319.9   Running setup.py install for secp256k1: started
#7 322.5   Running setup.py install for secp256k1: finished with status 'error'
#7 322.5   error: subprocess-exited-with-error
#7 322.5   
#7 322.5   × Running setup.py install for secp256k1 did not run successfully.
#7 322.5   │ exit code: 1
#7 322.5   ╰─> [151 lines of output]
#7 322.5       0.29
#7 322.5       Using bundled libsecp256k1
#7 322.5       running install
#7 322.5       running build
#7 322.5       running build_py
#7 322.5       creating build
#7 322.5       creating build/lib.linux-aarch64-3.9
#7 322.5       creating build/lib.linux-aarch64-3.9/secp256k1
#7 322.5       copying secp256k1/__main__.py -> build/lib.linux-aarch64-3.9/secp256k1
#7 322.5       copying secp256k1/__init__.py -> build/lib.linux-aarch64-3.9/secp256k1
#7 322.5       running build_clib
#7 322.5       Building experimental
#7 322.5       checking build system type... aarch64-unknown-linux-gnu
#7 322.5       checking host system type... aarch64-unknown-linux-gnu
#7 322.5       checking for a BSD-compatible install... /usr/bin/install -c
#7 322.5       checking whether build environment is sane... yes
#7 322.5       checking for a thread-safe mkdir -p... /bin/mkdir -p
#7 322.5       checking for gawk... no
#7 322.5       checking for mawk... mawk
#7 322.5       checking whether make sets $(MAKE)... no
#7 322.5       checking whether make supports nested variables... no
#7 322.5       checking how to print strings... printf
#7 322.5       checking whether make supports the include directive... no
#7 322.5       checking for gcc... gcc
#7 322.5       checking whether the C compiler works... yes
#7 322.5       checking for C compiler default output file name... a.out
#7 322.5       checking for suffix of executables...
#7 322.5       checking whether we are cross compiling... no
#7 322.5       checking for suffix of object files... o
#7 322.5       checking whether we are using the GNU C compiler... yes
#7 322.5       checking whether gcc accepts -g... yes
#7 322.5       checking for gcc option to accept ISO C89... none needed
#7 322.5       checking whether gcc understands -c and -o together... yes
#7 322.5       checking dependency style of gcc... none
#7 322.5       checking for a sed that does not truncate output... /bin/sed
#7 322.5       checking for grep that handles long lines and -e... /bin/grep
#7 322.5       checking for egrep... /bin/grep -E
#7 322.5       checking for fgrep... /bin/grep -F
#7 322.5       checking for ld used by gcc... /usr/bin/ld
#7 322.5       checking if the linker (/usr/bin/ld) is GNU ld... yes
#7 322.5       checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
#7 322.5       checking the name lister (/usr/bin/nm -B) interface... BSD nm
#7 322.5       checking whether ln -s works... yes
#7 322.5       checking the maximum length of command line arguments... 1572864
#7 322.5       checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
#7 322.5       checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
#7 322.5       checking for /usr/bin/ld option to reload object files... -r
#7 322.5       checking for objdump... objdump
#7 322.5       checking how to recognize dependent libraries... pass_all
#7 322.5       checking for dlltool... no
#7 322.5       checking how to associate runtime and link libraries... printf %s\n
#7 322.5       checking for ar... ar
#7 322.5       checking for archiver @FILE support... @
#7 322.5       checking for strip... strip
#7 322.5       checking for ranlib... ranlib
#7 322.5       checking command to parse /usr/bin/nm -B output from gcc object... ok
#7 322.5       checking for sysroot... no
#7 322.5       checking for a working dd... /bin/dd
#7 322.5       checking how to truncate binary pipes... /bin/dd bs=4096 count=1
#7 322.5       checking for mt... no
#7 322.5       checking if : is a manifest tool... no
#7 322.5       checking how to run the C preprocessor... gcc -E
#7 322.5       checking for ANSI C header files... yes
#7 322.5       checking for sys/types.h... yes
#7 322.5       checking for sys/stat.h... yes
#7 322.5       checking for stdlib.h... yes
#7 322.5       checking for string.h... yes
#7 322.5       checking for memory.h... yes
#7 322.5       checking for strings.h... yes
#7 322.5       checking for inttypes.h... yes
#7 322.5       checking for stdint.h... yes
#7 322.5       checking for unistd.h... yes
#7 322.5       checking for dlfcn.h... yes
#7 322.5       checking for objdir... .libs
#7 322.5       checking if gcc supports -fno-rtti -fno-exceptions... no
#7 322.5       checking for gcc option to produce PIC... -fPIC -DPIC
#7 322.5       checking if gcc PIC flag -fPIC -DPIC works... yes
#7 322.5       checking if gcc static flag -static works... yes
#7 322.5       checking if gcc supports -c -o file.o... yes
#7 322.5       checking if gcc supports -c -o file.o... (cached) yes
#7 322.5       checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
#7 322.5       checking dynamic linker characteristics... GNU/Linux ld.so
#7 322.5       checking how to hardcode library paths into programs... immediate
#7 322.5       checking whether stripping libraries is possible... yes
#7 322.5       checking if libtool supports shared libraries... yes
#7 322.5       checking whether to build shared libraries... no
#7 322.5       checking whether to build static libraries... yes
#7 322.5       checking whether make supports nested variables... (cached) no
#7 322.5       checking for pkg-config... /usr/bin/pkg-config
#7 322.5       checking pkg-config is at least version 0.9.0... yes
#7 322.5       checking for ar... /usr/bin/ar
#7 322.5       checking for ranlib... /usr/bin/ranlib
#7 322.5       checking for strip... /usr/bin/strip
#7 322.5       checking for gcc option to accept ISO C89... (cached) none needed
#7 322.5       checking dependency style of gcc... none
#7 322.5       checking if gcc supports -Werror=unknown-warning-option... no
#7 322.5       checking if gcc supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
#7 322.5       checking if gcc supports -Wno-overlength-strings... yes
#7 322.5       checking if gcc supports -Wall... yes
#7 322.5       checking if gcc supports -Wno-unused-function... yes
#7 322.5       checking if gcc supports -Wextra... yes
#7 322.5       checking if gcc supports -Wcast-align... yes
#7 322.5       checking if gcc supports -Wcast-align=strict... yes
#7 322.5       checking if gcc supports -Wconditional-uninitialized... no
#7 322.5       checking if gcc supports -fvisibility=hidden... yes
#7 322.5       checking valgrind/memcheck.h usability... no
#7 322.5       checking valgrind/memcheck.h presence... no
#7 322.5       checking for valgrind/memcheck.h... no
#7 322.5       checking for x86_64 assembly availability... no
#7 322.5       configure: ******
#7 322.5       configure: WARNING: experimental build
#7 322.5       configure: Experimental features do not have stable APIs or properties, and may not be safe for production use.
#7 322.5       configure: Building extrakeys module: yes
#7 322.5       configure: Building schnorrsig module: yes
#7 322.5       configure: ******
#7 322.5       checking that generated files are newer than configure... done
#7 322.5       configure: creating ./config.status
#7 322.5       config.status: creating Makefile
#7 322.5       config.status: creating libsecp256k1.pc
#7 322.5       config.status: creating src/libsecp256k1-config.h
#7 322.5       config.status: executing depfiles commands
#7 322.5       config.status: executing libtool commands
#7 322.5       
#7 322.5       Build Options:
#7 322.5         with ecmult precomp     = yes
#7 322.5         with external callbacks = no
#7 322.5         with benchmarks         = yes
#7 322.5         with tests              = yes
#7 322.5         with coverage           = no
#7 322.5         module ecdh             = yes
#7 322.5         module recovery         = yes
#7 322.5         module extrakeys        = yes
#7 322.5         module schnorrsig       = yes
#7 322.5       
#7 322.5         asm                     = no
#7 322.5         ecmult window size      = 15
#7 322.5         ecmult gen prec. bits   = 4
#7 322.5       
#7 322.5         valgrind                = no
#7 322.5         CC                      = gcc
#7 322.5         CPPFLAGS                =
#7 322.5         SECP_CFLAGS             = -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
#7 322.5         CFLAGS                  = -g -O2
#7 322.5         LDFLAGS                 =
#7 322.5       
#7 322.5         CC_FOR_BUILD            = gcc
#7 322.5         CPPFLAGS_FOR_BUILD      =
#7 322.5         SECP_CFLAGS_FOR_BUILD   = -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
#7 322.5         CFLAGS_FOR_BUILD        = -g -O2
#7 322.5         LDFLAGS_FOR_BUILD       =
#7 322.5       error: [Errno 2] No such file or directory: 'make'
#7 322.5       [end of output]
#7 322.5   
#7 322.5   note: This error originates from a subprocess, and is likely not a problem with pip.
#7 322.5 error: legacy-install-failure
#7 322.5 
#7 322.5 × Encountered error while trying to install package.
#7 322.5 ╰─> secp256k1
#7 322.5 
#7 322.5 note: This is an issue with the package mentioned above, not pip.
#7 322.5 hint: See above for output from the failure.
------
executor failed running [/bin/sh -c set -ex             && apt-get update && apt-get install -y --no-install-recommends gcc libc-dev curl wget xz-utils libsodium-dev libsecp256k1-dev libgmp-dev pkg-config vim         && pip install --disable-pip-version-check --no-cache-dir -r /opt/requirements.txt     && rm -rf /var/lib/apt/lists/*]: exit code: 1
@wcampbellgalaxy
Copy link

We are experiencing the same issue. Is there a timeline for resolution?

I cannot build the image to run the recovery tool on an M1 Mac

@bmetea
Copy link

bmetea commented Nov 16, 2023

Hello, I have the same problem. Both on M1/macos and ubuntu/amd64.

@mgregson
Copy link

mgregson commented Nov 23, 2023

I'm having the same problem. Adding make to the package list for apt-get install in the Dockerfile resolves the issue for me, although build-essentials might be a better choice.

@a0ngo
Copy link
Contributor

a0ngo commented Dec 14, 2023

Hi @mgregson @bmetea @wcampbellgalaxy,

We have recently added an M1 docker file to be used for mac M1.

To use it either replace the Dockerfile with Dockerfile_m1, or run the following command:

docker build -t fb_recover_key . -f Dockerfile_m1

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants