Summary: | dev-libs/libxslt-1.1.28-r5[abi_x86_32,-python] tries to build python module for 32bit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | freitagm |
Component: | [OLD] Library | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log |
Description
freitagm
2015-11-22 23:02:36 UTC
Created attachment 417610 [details]
build.log
Created attachment 417612 [details]
config.log
To summarize what's been found in the thread: - libxslt-1.1.28-simplify-python.patch uses AM_PATH_PYTHON - that macro checks for $PYTHON in the environment (it's likely set by the eclass) - patch makes building the python module conditional on $PYTHON being unset - the build fails here, cause (it seems) /usr/bin/python points to python3, while the module uses python2 specific syntax constructs, but that's not the only way this construct could fail (after all, the point here is python useflag is already disabled) commit 451f8e10c06f460a403c8607de8aa14a55ef8727 Author: Gilles Dartiguelongue <eva@gentoo.org> Date: Mon Nov 23 11:53:09 2015 +0100 dev-libs/libxslt: update autoconf patch to avoid relying on environment Python eclass export PYTHON in environment so it enables python support even though it was not requested, see bug #566552. This should work as expected now, thanks for the report. |