In the mod_python 2.7.10 ebuild : AC_MSG_CHECKING(whether Python is compiled with thread support) PyTHREADS=`$PYTHON_BIN -c "import sys; print \"thread\" in sys.builtin_module_names"` if test "$PyTHREADS" = "1"; then Problem : Python 2.3 returns "True", not "1" like 2.2 did. Thus the ebuild believes Python is copiled without threads, while it is. Reproducible: Always Steps to Reproduce: 1. have Apache 1.3 and Python 2.3 installed 2. Run : # python -c "import sys; print \"thread\" in sys.builtin_module_names" True 3. True is not 1 so ebuild says : [no threads, good] Actual Results: It did not detect that Python was compiled with threads. Expected Results: It should have !
Created attachment 37283 [details] mod_python-2.7.10.ebuild This ebuild should work, but could someone test it? I've added to src_unpack: """ # Python 2.3 prints True/False instead of, expected # by script configure, 1/0, so we need to convert it to int. sed -e 's/\(\\"thread\\" in sys.builtin_module_names\)/int(\1)/' -i ${S}/configure """
Should be fixed in -r1.