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

log4cxx build failure on OS X

    Details

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

      Description

      Frossie Economou writes:

      I have a log4cxx failure on a Macp while building lsst_distrib. Attaching file in case someone has any bright ideas for me in the morning

        Attachments

          Issue Links

            Activity

            Hide
            swinbank John Swinbank added a comment -

            There's a patch in log4cxx's tickets/DM-2581 branch.

            This builds fine on my laptop (OS X Yosemite) & on lsst-dev. However, on Yosemite I get quite a few failures in the test suite, most notably a segfault in streamtestcase. I note that we don't actually run the tests because they are too unreliable and that there's an upstream issue regarding segfaults in this test, so I don't know how much to worry about this. I don't intend to burn more time debugging this package unless we know there's a problem.

            Also: I don't know how eupspkg applies patches. I guessed following the examples that are already there, but I might've screwed up. Hopefully it's an easy tweak if so,

            Show
            swinbank John Swinbank added a comment - There's a patch in log4cxx 's tickets/DM-2581 branch . This builds fine on my laptop (OS X Yosemite) & on lsst-dev. However, on Yosemite I get quite a few failures in the test suite, most notably a segfault in streamtestcase . I note that we don't actually run the tests because they are too unreliable and that there's an upstream issue regarding segfaults in this test , so I don't know how much to worry about this. I don't intend to burn more time debugging this package unless we know there's a problem. Also: I don't know how eupspkg applies patches. I guessed following the examples that are already there, but I might've screwed up. Hopefully it's an easy tweak if so,
            Hide
            frossie Frossie Economou added a comment -

            Thanks! Okay lets hurry this one in, as it only affects the Mac and the build is clean on buildbot

            Show
            frossie Frossie Economou added a comment - Thanks! Okay lets hurry this one in, as it only affects the Mac and the build is clean on buildbot
            Hide
            tjenness Tim Jenness added a comment -

            For completeness, homebrew use the same patch to get things built on Yosemite: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/log4cxx.rb

            The upstream failure of streamtestcase referenced earlier was noted back in 2008 for MinGW but has had no activity since then.

            Show
            tjenness Tim Jenness added a comment - For completeness, homebrew use the same patch to get things built on Yosemite: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/log4cxx.rb The upstream failure of streamtestcase referenced earlier was noted back in 2008 for MinGW but has had no activity since then.

              People

              • Assignee:
                swinbank John Swinbank
                Reporter:
                swinbank John Swinbank
                Reviewers:
                Frossie Economou
                Watchers:
                Frossie Economou, John Swinbank, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel