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

esutil does not build on macOS Mojave

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0.5
    • Sprint:
      Arch 2018-10-15
    • Team:
      Architecture

      Description

      The issue is that it needs to use a modern Mac OS X target (ie. MACOSX_DEPLOYMENT_TARGET=10.9). The solution seems to be patching the eupspkg file, which has been done for other packages like coord.

        [ 29/74 ]  esutil 0.6.2.5.lsst1+2 ...
       
      ***** error: from /Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/DarwinX86/esutil-0.6.2.5.lsst1+2/build.log:
      creating build/lib.macosx-10.7-x86_64-3.6/esutil/unit_tests
      copying esutil/unit_tests/int_tests.py -> build/lib.macosx-10.7-x86_64-3.6/esutil/unit_tests
      copying esutil/unit_tests/htm_tests.py -> build/lib.macosx-10.7-x86_64-3.6/esutil/unit_tests
      copying esutil/unit_tests/sfile_tests.py -> build/lib.macosx-10.7-x86_64-3.6/esutil/unit_tests
      copying esutil/unit_tests/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/esutil/unit_tests
      copying esutil/unit_tests/hist_tests.py -> build/lib.macosx-10.7-x86_64-3.6/esutil/unit_tests
      running build_ext
      building 'esutil.recfile._records' extension
      creating build/temp.macosx-10.7-x86_64-3.6
      creating build/temp.macosx-10.7-x86_64-3.6/esutil
      creating build/temp.macosx-10.7-x86_64-3.6/esutil/recfile
      cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/python/miniconda3-4.5.4/envs/lsst-scipipe-fcd27eb/include -I/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/python/miniconda3-4.5.4/envs/lsst-scipipe-fcd27eb/include -I/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/python/miniconda3-4.5.4/envs/lsst-scipipe-fcd27eb/lib/python3.6/site-packages/numpy/core/include -Iesutil/include -Iesutil/recfile -Iesutil/htm -Iesutil/htm/htm_src -I/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/python/miniconda3-4.5.4/envs/lsst-scipipe-fcd27eb/include/python3.6m -c esutil/recfile/records.cpp -o build/temp.macosx-10.7-x86_64-3.6/esutil/recfile/records.o -arch i386 -arch x86_64
      warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
      In file included from esutil/recfile/records.cpp:1:
      esutil/recfile/records.hpp:2:10: fatal error: 'iostream' file not found
      #include <iostream>
               ^~~~~~~~~~
      1 warning and 1 error generated.
      error: command 'cc' failed with exit status 1
      + exit -4
      eups distrib: Failed to build esutil-0.6.2.5.lsst1+2.eupspkg: Command:
              source "/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/eups/2.1.4/bin/setups.sh"; export EUPS_PATH="/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/stack/miniconda3-4.5.4-fcd27eb"; (/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/DarwinX86/esutil-0.6.2.5.lsst1+2/build.sh) >> /Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/DarwinX86/esutil-0.6.2.5.lsst1+2/build.log 2>&1 4>/Users/jsick/lsst/pipelines_lsst_io_stack/stacks/d_2018_10_09/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/DarwinX86/esutil-0.6.2.5.lsst1+2/build.msg
      exited with code 252
      

        Attachments

          Issue Links

            Activity

            Hide
            tjenness Tim Jenness added a comment -

            Self-reviewed since it's the same fix as all the others.

            Show
            tjenness Tim Jenness added a comment - Self-reviewed since it's the same fix as all the others.

              People

              Assignee:
              tjenness Tim Jenness
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.