pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Missing build depency for security/gnome-keyring



On Tue, Mar 24, 2009 at 07:03:44PM +0100, Uwe Klaus wrote:
> it seems that security/gnome-keyring needs textproc/py-expat for building.
>
> Without installing textproc/py-expat I get the following error.
> gmake[4]: Entering directory  
> `/tmp/pkgsrc/security/gnome-keyring/work.hgb2/gnome-keyring-2.26.0/gcr'
> gtk-builder-convert --skip-windows gcr-certificate-basics-widget.glade  
> gcr-certificate-basics-widget.ui
> Traceback (most recent call last):
>   File "/usr/pkg/bin/gtk-builder-convert", line 752, in ?
>     sys.exit(main(sys.argv))
>   File "/usr/pkg/bin/gtk-builder-convert", line 740, in main
>     conv.parse_file(input_filename)
>   File "/usr/pkg/bin/gtk-builder-convert", line 160, in parse_file
>     self._dom = minidom.parse(file)
>   File "/usr/pkg/lib/python2.4/xml/dom/minidom.py", line 1914, in parse
>     from xml.dom import expatbuilder
>   File "/usr/pkg/lib/python2.4/xml/dom/expatbuilder.py", line 32, in ?
>     from xml.parsers import expat
>   File "/usr/pkg/lib/python2.4/xml/parsers/expat.py", line 4, in ?
>     from pyexpat import *
> ImportError: No module named pyexpat
> gmake[4]: *** [gcr-certificate-basics-widget.ui] Error 1

I just committed the following to x11/gtk2:
gtk-builder-convert uses minidom from xml.dom, which needs expat.
Add dependency for py-expat for python23 and python24.

Bump PKGREVISION.

Should fix problem in gnome-keyring reported on pkgsrc-users by Uwe
Klaus.

Please reinstall gtk2 and try again. (You might want consider
migrating to python25...)
 Thomas


Home | Main Index | Thread Index | Old Index