MongoDB 2.0.2 fails to build: 'str' object has no attribute 'rpartition'

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.0.3, 2.1.0
    • Affects Version/s: 2.0.2
    • Component/s: Build
    • Environment:
      RHEL 5, Python 2.4
    • Linux
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      2.0.2 fails to build on RHEL5 with python 2.4 due to missing str.rpartition on python < 2.5:

      + scons -j3 --extralib=ncurses,termcap --sharedclient .
      scons: Reading SConscript files ...
      AttributeError: 'str' object has no attribute 'rpartition':
      File "/home/vrusinov/muranorepo/BUILD/mongodb-src-r2.0.2/SConstruct", line 185:
      for shortName in getThirdPartyShortNames():
      File "/home/vrusinov/muranorepo/BUILD/mongodb-src-r2.0.2/SConstruct", line 41:
      lst.append( x.rpartition( "." )[0] )

              Assignee:
              Daniel Crosta
              Reporter:
              Vladimir Rusinov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: