| Summary: | sci-visualization/qtiplot-0.9.2: fail to compile with python USE flag disabled if python-2.5 is not installed | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tilen <noordinary> |
| Component: | Current packages | Assignee: | Marcus D. Hanwell (RETIRED) <cryos> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | sci |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Tilen
2008-02-09 18:55:23 UTC
> Steps to Reproduce: > 1.unmask qtiplot-0.9.2 and all dependencies > 2.disable python USE flag for qtiplot > 3.make sure python-2.5 is not installed > 4.emerge qtiplot Worked fine here. Make sure you did a python-updater and it is not a duplicate of bug #201484. Thanks. I did run python-updater before installing python-2.5 and it said something like "no other python version found" (don't know exactly and can't reproduce now without uninstalling python-2.5) and didn't do anything, qtiplot didn't compile anyway. After I installed python-2.5 qtiplot compiled even tho I didn't run pyhton-updater so I guess my problem ain't here. Problem is I couldn't compile qtiplot without having python-2.5 on system even tho it ain't required as dependency if python use flag is disabled. The problem is that qtiplot needs sip built with the same python versions as the other deps. Your choices are: 1) if you want python bindings for qtiplot, update to python-2.5, then python-updater and build qtiplot 2) if you don't the python bindings or if you don't want python-2.5, downgrade to python-2.4, run python-updater to re-update all your modules back to 2.4 and re-emerge qtiplot without the python use flag. I agree it is not a simple situation, my recommendation: stay away from problems by choosing option 1). I have working qtiplot now, but with none of the above options. My aim was something as option 2), that's working qtiplot with as little ~arch as possible. I can't emerge qtiplot-0.7.7 that's marked as stable on amd64 because bug #184652 (<x11-libs/qwtplot3d-0.2.7 for qtiplot-0.7.7) so I unmasked qtiplot-0.9.2. I don't need python bindings in qtiplot and if I let python use flag enabled in qtiplot it grab python-2.5 as dependency, so that would mean more ~arch and I rather just disabled python use flag just for qtiplot. If I understand, that should be exactly option 2), that's just python 2-4 (with python-updater executed) and qtiplot without python. And I get error described above. So what I did when trying to get qtiplot working was enabling python use flag and unmasking all dependencies, including python 2-5 and I did not(!) run python-updater, I just emerged qtiplot (that grabed python-2.5 as dep) that installed without problems. After I had python-2.5 on system I could emerge qtiplot with or without python use flag enabled. So if I try to summarize, it seem python-2.5 has to be installed on system for qtiplot to compile, even tho it ain't marked as dependency if python use flag is disabled. And it dosen't seem it have any connection with bug #201484. Now if someone need qtiplot and dosen't want python from ~arch he will run in same situation as me. If I got everything right, solution to these would be to have >=dev-lang/python-2.5 as qtiplot-0.9.2 dependency even if python use flag is disabled, but I don't see much point in having such use flag then, so would make some sense to just remove it and it would work too? p.s. and I apologise if my sentences don't make much sense, english ain't my primary language. I suspect your version of PyQt4 was compiled with python-2.5, so I suggest to check your python-modules. Meanwhile I committed qtiplot-0.9.2-r1 which has a few fixes and should not check sip if the python use flag is disabled. Let me know if you succeed in building this new versions with your setup. Thanks. 0.9.2-r1 works for me and can't reproduce bug, thanks. However I don't know if this is related to changes in r1, but this version dose not appear in my kmenu, neither can find it with menu updating tool. |