Skip to content
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
Closed

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

gashev opened this issue May 27, 2016 · 3 comments
Milestone

Comments

@gashev
Copy link

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
Copy link

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
Copy link
Member

Resolved in latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants