Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 853208

Summary: dev-python/reportlab: missing EPREFIX in reportlab-3.6.9-paths.patch, fails to install in prefix
Product: Gentoo Linux Reporter: hsk17
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description hsk17 2022-06-20 15:30:15 UTC
due to some issues, reportlab-3.6.9-paths.patch was added to dev-python/reportlab, disabling in setup.py the logic to find freetype includes and directly setting FT_INC_PATH to /usr/include/freetype2

but now reportlab fails to emerge in prefix if the host happens to not have installed the freetype devel packages

unsure how to solve this cleanly; i did it by "inherit distutils-r1 prefix" and, at the begin of src_configure(), "use prefix && hprefixify -w '/FT_INC_DIR=/' setup.py"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-21 01:27:54 UTC
Please share a build.log & emerge --info of a failed build.
Comment 2 hsk17 2022-06-21 10:45:31 UTC
Created attachment 786569 [details]
emerge --info
Comment 3 hsk17 2022-06-21 10:45:58 UTC
Created attachment 786572 [details]
build.log
Comment 4 hsk17 2023-10-01 20:03:33 UTC
reportlab-3.6.x and the patch that didn't work in prefix patch have been dropped from tree.