Distrotech / reportlab

Mirror of https://bitbucket.org/rptlab/reportlab
Other
59 stars 42 forks source link

Release 3.6.9 is breaking on docker alpine #20

Open laveesingh opened 2 years ago

laveesingh commented 2 years ago

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]
ggrossetie commented 2 years ago

I can reproduce this error using python:3.10.4-alpine3.15 Docker image.

timobrembeck commented 11 months ago

@laveesingh @ggrossetie This repository is only a mirror and not maintained by the reportlab team. Please describe your issue here if your problem still persists: https://groups.google.com/g/reportlab-users