FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

still build issues with openssl-1.1 that does not provide deprecatred features anymore · Issue #4194 · libgit2/libgit2 · GitHub

Repository navigation

still build issues with openssl-1.1 that does not provide deprecatred features anymore #4194

Description

Reproduction steps

  • Build openssl-1.1 with --api=1.1.0 or no-deprecated switch
  • Try to build libgit2

Expected behavior

libgit2 builds successfully

Actual behavior

/usr/bin/x86_64-pc-linux-gnu-gcc -DGIT_ARCH_64 -DGIT_CURL -DGIT_OPENSSL -DGIT_THREADS -DGIT_USE_NSEC -DGIT_USE_STAT_MTIM -DHAVE_FUTIMENS -DHAVE_QSORT_R -DOPENSSL_SHA1 -D_FILE_OFFSET_BITS=64 -Dgit2_EXPORTS -I/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src -I/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/include   -DNDEBUG -D_GNU_SOURCE -Wall -Wextra -march=native -mtune=native -O2 -pipe -fvisibility=hidden -fPIC -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-function -fPIC   -o CMakeFiles/git2.dir/src/openssl_stream.c.o -c /var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c: In function ‘openssl_locking_function’:
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c:52:16: error: ‘CRYPTO_LOCK’ undeclared (first use in this function)
  lock = mode & CRYPTO_LOCK;
                ^
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c:52:16: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c: In function ‘shutdown_ssl_locking’:
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c:65:14: warning: implicit declaration of function ‘CRYPTO_num_locks’ [-Wimplicit-function-declaration]
  num_locks = CRYPTO_num_locks();
              ^
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c:66:2: warning: implicit declaration of function ‘CRYPTO_set_locking_callback’ [-Wimplicit-function-declaration]
  CRYPTO_set_locking_callback(NULL);
  ^
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c: In function ‘git_openssl_stream_global_init’:
/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1/src/openssl_stream.c:106:2: warning: implicit declaration of function ‘SSL_load_error_strings’ [-Wimplicit-function-declaration]
  SSL_load_error_strings();
  ^
make[2]: *** [CMakeFiles/git2.dir/build.make:1623: CMakeFiles/git2.dir/src/openssl_stream.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1_build'
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/git2.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libgit2-0.25.1/work/libgit2-0.25.1_build'
make: *** [Makefile:130: all] Error 2

Version of libgit2 (release number or SHA1)

0.25.1

Operating system(s) tested

Gentoo Linux (but should not matter as it's an issue with how openssl-1.1 was built)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL