Re: [CMake] v3.7.0 - archive_cryptor_private.h - compile error
Yes, it was the OpenSSL version. I have a few installed, but didn't know to build against a certain version, thanks! Debian 8 has 1.0.1t currently. Nathan Sizemore 937-668-7495 | @nathansizemore On Sat, Nov 26, 2016 at 12:52 PM, Gregor Jasnywrote: > On 26/11/2016 10:03, Hendrik Sattler wrote: >> I assume that maybe he tries to build with openssl 1.1 > > You're right. I assumed that "Debian GNU/Linux 8" does not contain > OpenSSL 1.1 but either the Debian version or OpenSSL version on Nathans > system is wrong. > >> Am 26. November 2016 09:29:14 MEZ, schrieb Gregor Jasny via CMake >> : >>> Hello, >>> >>> On 25/11/2016 19:25, Nathan Sizemore wrote: I receive the following when building: [ 40%] Building C object >>> Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o In file included from >>> /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor.c:32:0: >>> /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:107:17: error: field ‘ctx’ has incomplete type EVP_CIPHER_CTX ctx; >>> >>> You are using the embedded copy of libarchive. I would suggest you >>> install the Debian CMake package build dependencies: >>> >>> apt-get build-dep cmake >>> >>> so that you use the system libraries instead of the embedded ones. >>> Hopefully this will resolve your issue. > > I reproduced the error on my Debian Sid machine, filed a bug against > CMake (https://gitlab.kitware.com/cmake/cmake/issues/16459) only to > discover that Brad King already filed a PR against upstream libarchive. > > The following should solve Nathans problem: > > apt-get build-dep cmake > apt-get install librhash-dev > cd <> > mkdir _build > cd _build > ../bootstrap --system-libs > make > > See: > https://anonscm.debian.org/cgit/pkg-cmake/cmake.git/tree/debian/rules#n43 > > Debians libarchive does not use OpenSSL but nettle instead so the > OpenSSL incompatibility does not show up. > > Thanks, > Gregor -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] v3.7.0 - archive_cryptor_private.h - compile error
On 26/11/2016 10:03, Hendrik Sattler wrote: > I assume that maybe he tries to build with openssl 1.1 You're right. I assumed that "Debian GNU/Linux 8" does not contain OpenSSL 1.1 but either the Debian version or OpenSSL version on Nathans system is wrong. > Am 26. November 2016 09:29:14 MEZ, schrieb Gregor Jasny via CMake >: >> Hello, >> >> On 25/11/2016 19:25, Nathan Sizemore wrote: >>> I receive the following when building: >>> >>> [ 40%] Building C object >>> >> Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o >>> In file included from >>> >> /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor.c:32:0: >>> >> /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:107:17: >>> error: field ‘ctx’ has incomplete type >>> EVP_CIPHER_CTX ctx; >> >> You are using the embedded copy of libarchive. I would suggest you >> install the Debian CMake package build dependencies: >> >> apt-get build-dep cmake >> >> so that you use the system libraries instead of the embedded ones. >> Hopefully this will resolve your issue. I reproduced the error on my Debian Sid machine, filed a bug against CMake (https://gitlab.kitware.com/cmake/cmake/issues/16459) only to discover that Brad King already filed a PR against upstream libarchive. The following should solve Nathans problem: apt-get build-dep cmake apt-get install librhash-dev cd <> mkdir _build cd _build ../bootstrap --system-libs make See: https://anonscm.debian.org/cgit/pkg-cmake/cmake.git/tree/debian/rules#n43 Debians libarchive does not use OpenSSL but nettle instead so the OpenSSL incompatibility does not show up. Thanks, Gregor -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] v3.7.0 - archive_cryptor_private.h - compile error
I assume that maybe he tries to build with openssl 1.1 Am 26. November 2016 09:29:14 MEZ, schrieb Gregor Jasny via CMake: >Hello, > >On 25/11/2016 19:25, Nathan Sizemore wrote: >> I receive the following when building: >> >> [ 40%] Building C object >> >Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o >> In file included from >> >/home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor.c:32:0: >> >/home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:107:17: >> error: field ‘ctx’ has incomplete type >> EVP_CIPHER_CTX ctx; > >You are using the embedded copy of libarchive. I would suggest you >install the Debian CMake package build dependencies: > > apt-get build-dep cmake > >so that you use the system libraries instead of the embedded ones. >Hopefully this will resolve your issue. > >Thanks, >Gregor >-- > >Powered by www.kitware.com > >Please keep messages on-topic and check the CMake FAQ at: >http://www.cmake.org/Wiki/CMake_FAQ > >Kitware offers various services to support the CMake community. For >more information on each offering, please visit: > >CMake Support: http://cmake.org/cmake/help/support.html >CMake Consulting: http://cmake.org/cmake/help/consulting.html >CMake Training Courses: http://cmake.org/cmake/help/training.html > >Visit other Kitware open-source projects at >http://www.kitware.com/opensource/opensource.html > >Follow this link to subscribe/unsubscribe: >http://public.kitware.com/mailman/listinfo/cmake -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
Re: [CMake] v3.7.0 - archive_cryptor_private.h - compile error
Hello, On 25/11/2016 19:25, Nathan Sizemore wrote: > I receive the following when building: > > [ 40%] Building C object > Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o > In file included from > /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor.c:32:0: > /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:107:17: > error: field ‘ctx’ has incomplete type > EVP_CIPHER_CTX ctx; You are using the embedded copy of libarchive. I would suggest you install the Debian CMake package build dependencies: apt-get build-dep cmake so that you use the system libraries instead of the embedded ones. Hopefully this will resolve your issue. Thanks, Gregor -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
[CMake] v3.7.0 - archive_cryptor_private.h - compile error
Hello, I receive the following when building: [ 40%] Building C object Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_cryptor.c.o In file included from /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor.c:32:0: /home/nathan/development/cmake/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:107:17: error: field ‘ctx’ has incomplete type EVP_CIPHER_CTX ctx; $ cat /etc/issue Debian GNU/Linux 8 $ gcc --version gcc (Debian 4.9.2-10) 4.9.2 Any ideas on how to resolve? Nathan Sizemore 937-668-7495 | @nathansizemore -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake