You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was starting to take a look at #7649, but I'm currently unable to build the Dockerfile from an M2 on OSX. Getting the following error:
------
> [builder 10/16] RUN ./configure --enable-static && make && poetry run make install:
0.153 CSANFLAGS =
0.307 Compiling ccan/tools/configurator/configurator...done
0.916 ./configure: 368: ccan/tools/configurator/configurator: not found
------
Dockerfile:202
--------------------
200 | RUN poetry lock --no-update && poetry install
201 |
202 | >>> RUN ./configure --enable-static && make && poetry run make install
203 |
204 | # Export the requirements for the plugins so we can install them in builder-python stage
--------------------
ERROR: failed to solve: process "/bin/sh -c ./configure --prefix=/tmp/lightning_install --enable-static && poetry run make install" did not complete successfully: exit code: 127
Fails on both master and v24.08.2. Tried out a bunch of local hacks to /configure and Makefile to play around with paths and prefixes for the configurator, but no luck so far.
The text was updated successfully, but these errors were encountered:
I wasn't building using buildx. Tried that by creating a builder and passing a --platform flag, but encountered a segmentation fault building zlib:
ERROR: failed to solve: process "/dev/.buildkit_qemu_emulator /bin/sh -c mkdir zlib && tar xvf zlib.tar.gz -C zlib --strip-components=1 && cd zlib && ./configure ${ZLIB_CONFIG} && make && make install && cd .. && rm zlib.tar.gz && rm -rf zlib" did not complete successfully: exit code: 2
Possibly I'm missing QEMU -- needs more testing and research on my end.
The DEFAULT_TARGETPLATFORM is set to linux/amd64here. So the $ARCH variable set in the ./configure is set to x86_64. Not sure if this would cause the above error exactly, but it could be playing a role in not being able to just check out the repo on an M2 machine and run docker build .
I guess that leads to a question of whether the workflow of checking out the repo and just building the Dockerfile is supported. Will continue looking at it later.
I was starting to take a look at #7649, but I'm currently unable to build the Dockerfile from an M2 on OSX. Getting the following error:
Fails on both
master
andv24.08.2
. Tried out a bunch of local hacks to/configure
andMakefile
to play around with paths and prefixes for theconfigurator
, but no luck so far.The text was updated successfully, but these errors were encountered: