Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=481508


Alex Lancaster <al...@users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |al...@users.sourceforge.net
               Flag|                            |needinfo?(fab...@bernewirel
                   |                            |ess.net)




--- Comment #8 from Alex Lancaster <al...@users.sourceforge.net>  2009-02-08 
01:56:48 EDT ---
There are serious problems with the Requires.  Although vhybridize is found at
build-time as you have:

BuildRequires: vhybridize

this is not sufficient as the autodeps searcher in RPM does not search the
resulting package and automatically add the dependent packages (unlike for
Perl) and all dependent Python packages must be added *explicitly* in the .spec
file, otherwise it fails on install:

$ pipviewer 
Traceback (most recent call last):
  File "/usr/bin/pipviewer", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2562, in
<module>
    working_set.require(__requires__)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in
resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: vhybridize>=0.5.9

Ditto for  PyQt pygtk2 PyOpenGL, and you need the runtime versions of these
(add any minimum version Requires as well):

Requires: PyQt, pygtk, PyOpenGL >= 2.0, vhybridize >= 0.5.9

Also it seems that PyOpenGL isn't sufficient to get this to work, as I have
this installed

$ rpm -q PyOpenGL
PyOpenGL-3.0.0-0.9.b8.fc10.noarch

but it still fails at runtime.

$ pipviewer 
Traceback (most recent call last):
  File "/usr/bin/pipviewer", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2562, in
<module>
    working_set.require(__requires__)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in
resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: OpenGL>=2.0

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@redhat.com
http://www.redhat.com/mailman/listinfo/fedora-package-review

Reply via email to