Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853208 - dev-python/reportlab: missing EPREFIX in reportlab-3.6.9-paths.patch, fails to install in prefix
Summary: dev-python/reportlab: missing EPREFIX in reportlab-3.6.9-paths.patch, fails ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-20 15:30 UTC by hsk17
Modified: 2023-10-01 20:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.29 KB, text/plain)
2022-06-21 10:45 UTC, hsk17
Details
build.log (build.log,9.15 KB, text/x-log)
2022-06-21 10:45 UTC, hsk17
Details

Note You need to log in before you can comment on or make changes to this bug.
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.