Bug 640447 - RHEL5 pulp build errors
Summary: RHEL5 pulp build errors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: rel-eng
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-10-05 20:24 UTC by Jay Dobies
Modified: 2015-03-23 01:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:20:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2010-10-05 20:24:17 UTC
Saw the following errors pop up on a RPM build of pulp on RHEL5. I snipped out the fluff between them to isolate the actual errors. I'm guessing most if not all of these are related to RHEL5 using python 2.4 instead of 2.6.t


byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/event/handler/product.py to product.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/product.py", line 30
    class ProductEvent(EventHandler):
        ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/event/handler/repo.py to repo.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/repo.py", line 30
    class RepoEvent(EventHandler):
        ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/auditing.py to auditing.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/auditing.py", line 90
    self.params = params if params is not None else list(args)
                          ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/async.py to async.pyc
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/server/tasking/queue/fifo.py to fifo.pyc
  File "/usr/lib/python2.4/site-packages/pulp/server/tasking/queue/fifo.py", line 86
    finally:
          ^
SyntaxError: invalid syntax
/pulp/client/core/core_repo.py to core_repo.pyc
  File "/usr/lib/python2.4/site-packages/pulp/client/core/core_repo.py", line 263
    last_sync = 'never' if repo['last_sync'] is None else str(repo['last_sync'])
                         ^
SyntaxError: invalid syntax
/pulp/client/agent/plugins/actions.py to actions.pyc
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/actions.py", line 33
    class TestAction(Action):
        ^
SyntaxError: invalid syntax
byte-compiling /var/tmp/pulp-0.0.71-1-root-root/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/remote.py to remote.pyc
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/remote.py", line 33
    class Repo:
        ^
SyntaxError: invalid syntax

  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/product.py", line 30
    class ProductEvent(EventHandler):
        ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/server/event/handler/repo.py", line 30
    class RepoEvent(EventHandler):
        ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/server/auditing.py", line 90
    self.params = params if params is not None else list(args)
                          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/server/tasking/queue/fifo.py", line 86
    finally:
          ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/client/core/core_repo.py", line 263
    last_sync = 'never' if repo['last_sync'] is None else str(repo['last_sync'])
                         ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/actions.py", line 33
    class TestAction(Action):
        ^
SyntaxError: invalid syntax
  File "/usr/lib/python2.4/site-packages/pulp/client/agent/plugins/remote.py", line 33
    class Repo:
        ^
SyntaxError: invalid syntax

Comment 1 Pradeep Kilambi 2010-10-06 16:01:07 UTC
scoped for sprint 16

Comment 2 Sayli Karmarkar 2010-12-03 08:19:24 UTC
All these errors are fixed now. Replacing class decorators task is added to this sprint and Jeff is working on it. Moving to modified.

Comment 3 Jay Dobies 2010-12-03 18:24:16 UTC
Fixed in build 0.111.

Comment 4 Jay Dobies 2011-02-04 16:32:46 UTC
Marking as VERIFIED, we've been building for a few weeks now.

Comment 5 Preethi Thomas 2011-08-16 14:20:28 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.