New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build libarchive with OpenSSL 1.1.0-pre5 (beta) #710

Closed
gashev opened this Issue May 27, 2016 · 3 comments

Comments

Projects
None yet
5 participants
@gashev

gashev commented May 27, 2016

libarchive git master branch revision 7bb6d70
With openssl version OpenSSL 1.0.2h 3 May 2016 libarchive was built correctly:

# ./configure --prefix=/usr --with-openssl --without-nettle
# make
# make install

With openssl OpenSSL 1.1.0-pre5 (beta) 19 Apr 2016

# ./configure --prefix=/usr --with-openssl --without-nettle
# make
build/autoconf/install-sh -c -d libarchive/test
cat ./libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h
build/autoconf/install-sh -c -d tar/test
cat ./tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h
build/autoconf/install-sh -c -d cpio/test
cat ./cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h
cat ./cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h
make  all-am
make[1]: Entering directory '/opt/libarchive'
  CC       libarchive/archive_acl.lo
  CC       libarchive/archive_check_magic.lo
  CC       libarchive/archive_cmdline.lo
  CC       libarchive/archive_cryptor.lo
In file included from libarchive/archive_cryptor.c:32:0:
libarchive/archive_cryptor_private.h:107:17: error: field 'ctx' has incomplete type
  EVP_CIPHER_CTX ctx;
                 ^
make[1]: *** [Makefile:5458: libarchive/archive_cryptor.lo] Error 1
make[1]: Leaving directory '/opt/libarchive'
make: *** [Makefile:2852: all] Error 2
# gcc --version
gcc (GCC) 5.3.0

# make --version
GNU Make 4.2
@Quanjiang

This comment has been minimized.

Show comment
Hide comment
@Quanjiang

Quanjiang Aug 30, 2016

Does anyone have the solution for this ? I have the same issue.

Quanjiang commented Aug 30, 2016

Does anyone have the solution for this ? I have the same issue.

@kientzle kientzle added this to the 3.3 milestone Sep 18, 2016

@mmatuska mmatuska closed this Dec 29, 2016

@mmatuska

This comment has been minimized.

Show comment
Hide comment
@mmatuska

mmatuska Dec 29, 2016

Member

Resolved in latest master.

Member

mmatuska commented Dec 29, 2016

Resolved in latest master.

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