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

Release 3.6.9 is breaking on docker alpine #20

Open
laveesingh opened this issue Mar 30, 2022 · 2 comments
Open

Release 3.6.9 is breaking on docker alpine #20

laveesingh opened this issue Mar 30, 2022 · 2 comments

Comments

@laveesingh
Copy link

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
Copy link

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

@timobrembeck
Copy link

@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

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

3 participants