Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4591

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

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

      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:
            dcrosta Daniel Crosta
            Reporter:
            vrusinov Vladimir Rusinov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: