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

The eups mariadb and mariadbclient packages don't build on Mac OS X El Capitan with XCode 8.

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The clock_gettime function is missing on Mac OS X El Capitan (10.11) with XCode 8. This is assumed to be present by mariadb and mariadbclient. This function is present in older versions of XCode on El Capitan and with XCode 8 on Mac OS X Sierra. But it's missing in this specific case.

      The fix is to create patches for the eups mariadb and mariadbclient packages to add cmake logic to work around the problem.

        Attachments

          Activity

          Show
          jmatt J Matt Peterson [X] (Inactive) added a comment - https://gist.github.com/jmatt/747d9c5482c3d10684b4bdc537ada2f0
          Hide
          jmatt J Matt Peterson [X] (Inactive) added a comment -

          CI'ed and tested both. But I'm looking for some independent confirmation. I can also confirm that in one case on my own machine it built within lsstsw on Mac OS X. But I was able to reproduce the error in conda-lsst and by using eups without lsstsw.

          Show
          jmatt J Matt Peterson [X] (Inactive) added a comment - CI'ed and tested both. But I'm looking for some independent confirmation. I can also confirm that in one case on my own machine it built within lsstsw on Mac OS X. But I was able to reproduce the error in conda-lsst and by using eups without lsstsw.
          Hide
          fritzm Fritz Mueller added a comment -

          Patches look good to me

          Show
          fritzm Fritz Mueller added a comment - Patches look good to me
          Hide
          jmatt J Matt Peterson [X] (Inactive) added a comment -

          Thanks for the review Fritz Mueller

          Show
          jmatt J Matt Peterson [X] (Inactive) added a comment - Thanks for the review Fritz Mueller

            People

            • Assignee:
              jmatt J Matt Peterson [X] (Inactive)
              Reporter:
              jmatt J Matt Peterson [X] (Inactive)
              Reviewers:
              Fritz Mueller
              Watchers:
              Fritz Mueller, Frossie Economou, J Matt Peterson [X] (Inactive), Joshua Hoblitt, Robert Lupton, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel