Summary: | gnome-extra/hamster-applet-2.24.3 failed with python 2.4 + pysqlite | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Gryniewicz (RETIRED) <dang> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fkrogh, gentoo, keith.maxwell, rbu, renatogallo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 306923 | ||
Bug Blocks: | 238650 |
Description
Daniel Gryniewicz (RETIRED)
![]() If fact i had the same problem. I just add the sqlite flag to dev-lang/python, rebuild it and hamster would install. In the ebuild there is the line : RDEPEND=" || ( >=dev-lang/python-2.5[sqlite] ( dev-lang/python:2.4 dev-python/pysqlite:2 ) ) [...] " This line don't work correctly ! When i do python -V the result is: Python 2.6.2 But i still have python 2.4 and 2.5 installed ! So the dependency should be only >=dev-lang/python-2.5[sqlite] But portage wanted to install dev-python/pysqlite:2 so it's mean that there is a problem in dependency resolving process ! > python 2.4 and pysqlite was installed. I suspect it really needs python-2.5,
> and the || dep is not appropriate.
I think that it's just badly written (like () not being handled the way that is implied here), maybe it should be
RDEPEND=">=dev-lang/python-2.4
|| ( >=dev-lang/python-2.5[sqlite]
dev-python/pysqlite:2 )"
the autofoo looks otherwise good. Letting this open until I can actually check this on a box where I have old pythons installed. I'll commit this change to 2.26.3 though.
This seems to have not been fixed yet(same problem with 2.28.2) (In reply to comment #2) > RDEPEND=">=dev-lang/python-2.4 > || ( >=dev-lang/python-2.5[sqlite] > dev-python/pysqlite:2 )" Not quite. It needs pysqlite (sqlite2) if system python is 2.4 or sqlite3 (python[sqlite]) if system python is 2.5 or higher. The issue is that for portage, any of the two satisfies the ebuild requirements, whereas the configure script checks the actual system version. I can confirm that it still happens in 2.28.2 (In reply to comment #5) > I can confirm that it still happens in 2.28.2 Second that... I get "configure: error: Python 2.5+: inbuilt sqlite is required to build hamster" with "gnome-extra/hamster-applet-2.28.2". And I am using python2.6, I tried "emerge -1 pysqlite" to see if the build was install wrong, but it didn't work. I am going to try updating to python3.1 to try to fix the problem. *** Bug 307011 has been marked as a duplicate of this bug. *** As reported here: http://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg35713.html we can probably just drop support for python 2.4 and be done with it. Okay, I've fixed this for >=2.26 (since those are ~arch) requiring >=python-2.5[sqlite]. This seems to work correctly. Should we fix the 2.24 at all? That depends on the stable plans of 2.28. I am using it in Gnome 2.26.3 and it works fine. hamster-applet-2.26.3 is already going stable (and already stable on amd64), see bug 306923 Same problem occurs here but with 3.1. The use requirement is forced on python 3.1 but hamster wants 2.5 or 2.6. hamster-applet-2.26 stabilized, *original* problem should be solved now then. For any remaining problems, please open a new bug report checking pkg-config is at least version 0.9.0... yes checking gnome-doc-utils >= 0.17.3... yes checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking for a Python interpreter with version >= 2.4... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib64/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages checking for headers required to compile python extensions... found checking for HAMSTER... yes checking for gnomeapplet module... yes checking for pygtk-codegen-2.0... /usr/bin/pygtk-codegen-2.0 checking for pygtk defs... /usr/share/pygtk/2.0/defs checking for python sqlite module... no configure: error: Python 2.5+: inbuilt sqlite is required to build hamster *** Bug 329561 has been marked as a duplicate of this bug. *** *** Bug 329561 has been marked as a duplicate of this bug. *** |