Skip to content

Build failed in python3.9-alpine #1045

Answered by marcelotduarte
mcauto asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, apparently this error doesn't block the build and run, but a bug introduced in 6.6 causes a segmentation fault.

  1. If you use cx_Freeze 6.5.3 it should run
  2. A had a fix for the bug, if you can adapt your Dockerfile to test, would be good. In a few days, I should release a version. I'll continue to investigate the "error relocating".

Dockerfile

FROM python:3.9-alpine as builder
RUN apk --no-cache upgrade && apk --no-cache add build-base git tar patchelf
RUN pip install -U pip && pip install -U setuptools importlib-metadata wheel

RUN git clone https://github.com/marcelotduarte/cx_Freeze.git
RUN cd cx_Freeze && pip install -e .

RUN cd cx_Freeze/cx_Freeze/samples/simple && \
    python se…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcauto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants