tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fix for py-libxml2 setup
On 23/09/18 10:01AM, Greg Troxel wrote:
> As just mentioned on pkgsrc-users, py-libxml2 produces a broken package
> on older macOS. The reason is that the python build picks up the native
> xml2 includes, which enable legacy ABI, while the pkgsrc xml2 does not.
> That happens because setup.py looks in random places for headers, and
> orders /usr/include before $prefix/usr/include. There is code in pkgsrc
> to avoid some of this, but it seems bitrotted.
>
> With this, py-libxml2 builds a valid python extension on older macOS.
>
> What do people think? I am inclined to wait until post branch, unless
> people that understand python better than me say this is right.
>
Hello greg; I remember facing the same issue on Slackware 15 while
building 2023Q2 packages, the workaround was indeed to patch the
setup.py.in. I wasn't uncertain whether this was an expected behavior
for pkgsrc or not, so didn't open a bug report.
Home |
Main Index |
Thread Index |
Old Index