Skip to content

Release 3.6.9 is breaking on docker alpine  #20

@laveesingh

Description

@laveesingh

I'm trying to install xhtml2pdf on a python:3.9-alpine docker image.
The reportlab package is as a dependency to xhtml2pdf. It was working alright up till version 3.6.8 , but version 3.6.9 cannot be installed on alpine linux, it throws the following.

#8 39.21 Collecting reportlab>=3.3.0
#8 39.24   Downloading reportlab-3.6.9.tar.gz (4.5 MB)
#8 39.63      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 11.4 MB/s eta 0:00:00
#8 39.84   Preparing metadata (setup.py): started
#8 40.17   Preparing metadata (setup.py): finished with status 'error'
#8 40.17   error: subprocess-exited-with-error
#8 40.17
#8 40.17   × python setup.py egg_info did not run successfully.
#8 40.17   │ exit code: 1
#8 40.17   ╰─> [10 lines of output]
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: ================================================
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: Attempting build of _rl_accel
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: extensions from 'src/rl_addons/rl_accel'
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: ================================================
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: ===================================================
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: Attempting build of _renderPM
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: extensions from 'src/rl_addons/renderPM'
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: ===================================================
#8 40.17       ##### setup-python-3.8.13-linux-aarch64: will use package libart 2.3.21
#8 40.17       !!!!! cannot find ft2build.h
#8 40.17       [end of output]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions