Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11411

On python3 sys.platform is linux and not linux2

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • Qserv
    • None

    Description

      I just tried building Qserv on python3 on linux and it failed with:

      Unsupported platform or toolchain: linux/gcc
      

      As described in http://bugs.python.org/issue12326 from python3.3 onwards sys.platform uses linux so as not to confuse linux2 and linux3. Simple fix required in site_scons/site_tools/compiler.py.

      Attachments

        Issue Links

          Activity

            Should be a quick review I tested with both python2 and python3 (using tickets/DM-8560 branch of scons), builds OK with both.

            salnikov Andy Salnikov added a comment - Should be a quick review I tested with both python2 and python3 (using tickets/ DM-8560 branch of scons), builds OK with both.
            tjenness Tim Jenness added a comment -

            Thanks for quick turnaround.

            tjenness Tim Jenness added a comment - Thanks for quick turnaround.

            Thanks for review, merged and done.

            salnikov Andy Salnikov added a comment - Thanks for review, merged and done.

            People

              salnikov Andy Salnikov
              tjenness Tim Jenness
              Tim Jenness
              Andy Salnikov, Fritz Mueller, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.