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

lsstsw deploy on OS X El Capitan fails with git / openssl

    XMLWordPrintable

    Details

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

      Description

      I just installed OS X 10.11.1 and tried to install a brand new lsstsw environment.

      I’ve done

      git clone https://github.com/lsst/lsstsw.git
      cd lsstsw
      ./bin/deploy
      

      At this point it does a lot of things, but stumbles on installing its special snowflake git.

      The error message is

      ./git-compat-util.h:214:10: fatal error: 'openssl/ssl.h' file not found
      #include <openssl/ssl.h>
      

      The full output is below.

      Do I need to install an openssl separately on my El Capitan system?

      ::: Deploying git
      ######################################################################## 100.0%
      ######################################################################## 100.0%
      configure: Setting lib to 'lib' (the default)
      configure: Will try -pthread then -lpthread to enable POSIX Threads.
      configure: CHECKS for site configuration
      checking for gcc... gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.out
      checking for suffix of executables...
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ISO C89... none needed
      checking how to run the C preprocessor... gcc -E
      checking for grep that handles long lines and -e... /usr/bin/grep
      checking for egrep... /usr/bin/grep -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking for size_t... yes
      checking for working alloca.h... yes
      checking for alloca... yes
      configure: CHECKS for programs
      checking whether we are using the GNU C compiler... (cached) yes
      checking whether gcc accepts -g... (cached) yes
      checking for gcc option to accept ISO C89... (cached) none needed
      checking for inline... inline
      checking if linker supports -R... no
      checking if linker supports -Wl,-rpath,... yes
      checking for gar... no
      checking for ar... ar
      checking for gtar... no
      checking for tar... tar
      checking for gnudiff... no
      checking for gdiff... no
      checking for diff... diff
      checking for asciidoc... no
      configure: CHECKS for libraries
      checking for SHA1_Init in -lcrypto... yes
      checking for curl_global_init in -lcurl... yes
      checking for XML_ParserCreate in -lexpat... yes
      checking for iconv in -lc... no
      checking for iconv in -liconv... yes
      checking for deflateBound in -lz... yes
      checking for socket in -lc... yes
      checking for inet_ntop... yes
      checking for inet_pton... yes
      checking for hstrerror... yes
      checking for basename in -lc... yes
      checking for gettext in -lc... no
      checking libintl.h usability... no
      checking libintl.h presence... no
      checking for libintl.h... no
      configure: CHECKS for header files
      checking sys/select.h usability... yes
      checking sys/select.h presence... yes
      checking for sys/select.h... yes
      checking sys/poll.h usability... yes
      checking sys/poll.h presence... yes
      checking for sys/poll.h... yes
      checking for inttypes.h... (cached) yes
      checking for old iconv()... no
      configure: CHECKS for typedefs, structures, and compiler characteristics
      checking for socklen_t... yes
      checking for struct itimerval... yes
      checking for struct dirent.d_ino... yes
      checking for struct dirent.d_type... yes
      checking for struct passwd.pw_gecos... yes
      checking for struct sockaddr_storage... yes
      checking for struct addrinfo... yes
      checking for getaddrinfo... yes
      checking for library containing getaddrinfo... none required
      checking whether the platform regex can handle null bytes... yes
      checking whether system succeeds to read fopen'ed directory... no
      checking whether snprintf() and/or vsnprintf() return bogus value... no
      configure: CHECKS for library functions
      checking libgen.h usability... yes
      checking libgen.h presence... yes
      checking for libgen.h... yes
      checking paths.h usability... yes
      checking paths.h presence... yes
      checking for paths.h... yes
      checking libcharset.h usability... yes
      checking libcharset.h presence... yes
      checking for libcharset.h... yes
      checking for strings.h... (cached) yes
      checking for locale_charset in -liconv... yes
      checking for setitimer... yes
      checking for library containing setitimer... none required
      checking for strcasestr... yes
      checking for library containing strcasestr... none required
      checking for memmem... yes
      checking for library containing memmem... none required
      checking for strlcpy... yes
      checking for library containing strlcpy... none required
      checking for uintmax_t... yes
      checking for strtoumax... yes
      checking for library containing strtoumax... none required
      checking for setenv... yes
      checking for library containing setenv... none required
      checking for unsetenv... yes
      checking for library containing unsetenv... none required
      checking for mkdtemp... yes
      checking for library containing mkdtemp... none required
      checking for mkstemps... yes
      checking for library containing mkstemps... none required
      checking for initgroups... yes
      checking for library containing initgroups... none required
      checking for POSIX Threads with ''... yes
      configure: creating ./config.status
      config.status: creating config.mak.autogen
      config.status: executing config.mak.autogen commands
      GIT_VERSION = 2.2.2
          * new build flags
          * new link flags
          * new prefix flags
          GEN common-cmds.h
          CC hex.o
          CC ident.o
          CC kwset.o
      In file included from In file included from ident.chex.c::81:
      :
      In file included from In file included from ./cache.h./cache.h::44:
      :
      ./git-compat-util.h./git-compat-util.h:214::21410::10 : fatal error: fatal error: 'openssl/ssl.h' file'openssl/ssl.h'  notfile  foundnot
      found
      In file included from kwset.c:37:
      In file included from ./cache.h:4:
      ./git-compat-util.h:#include <openssl/ssl.h>214
      :10:         ^
      fatal error: 'openssl/ssl.h'#include <openssl/ssl.h>
      file not         ^
      found
      #include <openssl/ssl.h>
               ^
          CC levenshtein.o
      In file included from levenshtein.c:1:
      In file included from ./cache.h:4:
      ./git-compat-util.h:214:10: fatal error: 'openssl/ssl.h' file not found
      #include <openssl/ssl.h>
               ^
      1 error generated.
      1 error generated.
      make: *** [levenshtein.o] Error 1
      make: *** Waiting for unfinished jobs....
      1 error generated.
      make: *** [hex.o] Error 1
      make: *** [ident.o] Error 1
      1 error generated.
      make: *** [kwset.o] Error 1
      

        Attachments

          Issue Links

            Activity

            Hide
            tjenness Tim Jenness added a comment -

            I have moved the miniconda discussion to DM-5178.

            Show
            tjenness Tim Jenness added a comment - I have moved the miniconda discussion to DM-5178 .
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            I've merged Tim Jenness's fix with a minor change per discussion in GH review comments.

            I'm unsure if I this issue should be attached to an epic since this was all Tim Jenness's effort. Anyone?

            Show
            jhoblitt Joshua Hoblitt added a comment - I've merged Tim Jenness 's fix with a minor change per discussion in GH review comments. I'm unsure if I this issue should be attached to an epic since this was all Tim Jenness 's effort. Anyone?
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            ugh, I clicked the merge button on the wrong PR. Cleaning up...

            Show
            jhoblitt Joshua Hoblitt added a comment - ugh, I clicked the merge button on the wrong PR. Cleaning up...
            Hide
            tjenness Tim Jenness added a comment -

            Presumably you spent more than 0.0 SP on the merging and the testing so I don't see why you shouldn't put some of this on your epic.

            Show
            tjenness Tim Jenness added a comment - Presumably you spent more than 0.0 SP on the merging and the testing so I don't see why you shouldn't put some of this on your epic.
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            Indeed but my understanding was that is typically considered part of overhead. I've added 45mins worth of SP.

            Show
            jhoblitt Joshua Hoblitt added a comment - Indeed but my understanding was that is typically considered part of overhead. I've added 45mins worth of SP.

              People

              Assignee:
              jhoblitt Joshua Hoblitt
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Ian Sullivan, John Swinbank, Jonathan Sick, Joshua Hoblitt, Russell Owen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.