Now I found out that I missed the build script .sh. It's output look like this, I removed a bunch more of the deprecated-warnings. Also interesting is that cppunit is not found, because libcppunit-dev is installed ...
(I removed the compile GUI part from the .sh)
Using wxWidgets sources in /big/vera/wxWidgets-3.1.0
Building GUI version of VeraCrypt
Building console version of VeraCrypt
Configuring wxWidgets library...
configure: WARNING: cppunit not found
Building wxWidgets library...
In file included from /big/vera/wxWidgets-3.1.0/include/wx/hashmap.h:15,
from /big/vera/wxWidgets-3.1.0/include/wx/wx.h:20,
from /big/vera/wxWidgets-3.1.0/include/wx/wxprec.h:42:
In function ‘size_t wxStrlcpy(char, const char, size_t)’,
inlined from ‘const char wxDumpDate(const wxDateTime)’ at /big/vera/wxWidgets-3.1.0/src/common/datetime.cpp:214:14:
/big/vera/wxWidgets-3.1.0/include/wx/wxcrt.h:260:23: warning: ‘char strncpy(char, const char, size_t)’ specified bound depends on the length of the source argu$
ent [-Wstringop-overflow=]
wxCRT_StrncpyA(dest, src, n);
/big/vera/wxWidgets-3.1.0/include/wx/wxcrt.h: In function ‘const char wxDumpDate(const wxDateTime*)’:
/big/vera/wxWidgets-3.1.0/include/wx/wxcrt.h:254:37: note: length computed here
const size_t len = wxCRT_StrlenA(src);
Cleaning Platform
Cleaning Volume
[...
Compiling Process.cpp
Unix/Process.cpp: In static member function ‘static std::string VeraCrypt::Process::Execute(const string&, const std::list<std::basic_string\<char> >&, int, VeraCry
pt::ProcessExecFunctor, const VeraCrypt::Buffer)’:
Unix/Process.cpp:173:4: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <serializable> deserializedObject;
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from /big/vera/src/Platform/PlatformBase.h:19,
from Unix/Process.h:16,
from Unix/Process.cpp:18:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Compiling SyncEvent.cpp
Compiling SystemException.cpp
Compiling SystemInfo.cpp
Compiling SystemLog.cpp
Compiling Thread.cpp
Compiling Time.cpp
Updating library Platform.a
ar: u' modifier ignored sinceD' is the default (see `U')
Compiling Cipher.cpp
Compiling EncryptionAlgorithm.cpp
Compiling EncryptionMode.cpp
In file included from EncryptionMode.cpp:15:
EncryptionThreadPool.h:47:4: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <exception> ItemException;
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from /big/vera/src/Platform/PlatformBase.h:19,
from /big/vera/src/Platform/Platform.h:16,
from EncryptionMode.h:16,
from EncryptionMode.cpp:13:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Compiling EncryptionModeXTS.cpp
Compiling EncryptionTest.cpp
Compiling EncryptionThreadPool.cpp
In file included from EncryptionThreadPool.cpp:25:
EncryptionThreadPool.h:47:4: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <exception> ItemException;</exception></class></typename></exception></class></typename></serializable></class></std::basic_string\<char>
[...]
FuseService.cpp: In function ‘int VeraCrypt::fuse_service_read(const char, char, size_t, off_t, fuse_file_info*)’:
FuseService.cpp:224:12: warning: catching polymorphic type ‘struct VeraCrypt::MissingVolumeData’ by value [-Wcatch-value=]
catch (MissingVolumeData)
^~~~~~~~~~~~~~~~~
FuseService.cpp: In static member function ‘static int VeraCrypt::FuseService::ExceptionToErrorCode()’:
FuseService.cpp:353:15: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]
catch (std::bad_alloc)
^~~~~~~~~
FuseService.cpp: At global scope:
FuseService.cpp:595:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <pipe> FuseService::SignalHandlerPipe;
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from /big/vera/src/Platform/PlatformBase.h:19,
from /big/vera/src/Platform/Platform.h:16,
from FuseService.h:16,
from FuseService.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Updating library Driver.a
ar: u' modifier ignored sinceD' is the default (see `U')
Compiling CoreBase.cpp
Compiling CoreException.cpp
Compiling FatFormatter.cpp [...]
Compiling Resources.cpp
Linking veracrypt
/bin/sh: 1: makeself: not found
Main.make:272: recipe for target 'package' failed
make[1]: *** [package] Error 127
Makefile:434: recipe for target 'package' failed
make: *** [package] Error 2</typename></pipe></class>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I try to build veracrypt for a Pi by using this tutorial: https://lydericblog.wordpress.com/2017/11/02/veracrypt-on-arm/
however it does not seem to work,
I tried building with wxWidgets-3.1.0 as well as wxWidgets-3.1.3, the changelog mentiones version update only for MacOS. gcc is 8.3.0
Sorry, the logs are incompplete because there was more output than the buffer could store. Hope you can help me nevertheless, thank you.
Now I found out that I missed the build script .sh. It's output look like this, I removed a bunch more of the deprecated-warnings. Also interesting is that cppunit is not found, because libcppunit-dev is installed ...
(I removed the compile GUI part from the .sh)
Using wxWidgets sources in /big/vera/wxWidgets-3.1.0
Building GUI version of VeraCrypt
Building console version of VeraCrypt
Configuring wxWidgets library...
configure: WARNING: cppunit not found
Building wxWidgets library...
In file included from /big/vera/wxWidgets-3.1.0/include/wx/hashmap.h:15,
from /big/vera/wxWidgets-3.1.0/include/wx/wx.h:20,
from /big/vera/wxWidgets-3.1.0/include/wx/wxprec.h:42:
In function ‘size_t wxStrlcpy(char, const char, size_t)’,
inlined from ‘const char wxDumpDate(const wxDateTime)’ at /big/vera/wxWidgets-3.1.0/src/common/datetime.cpp:214:14:
/big/vera/wxWidgets-3.1.0/include/wx/wxcrt.h:260:23: warning: ‘char strncpy(char, const char, size_t)’ specified bound depends on the length of the source argu$
ent [-Wstringop-overflow=]
wxCRT_StrncpyA(dest, src, n);
/big/vera/wxWidgets-3.1.0/include/wx/wxcrt.h: In function ‘const char wxDumpDate(const wxDateTime*)’:
/big/vera/wxWidgets-3.1.0/include/wx/wxcrt.h:254:37: note: length computed here
const size_t len = wxCRT_StrlenA(src);
Cleaning Platform
Cleaning Volume
[...
Compiling Process.cpp
Unix/Process.cpp: In static member function ‘static std::string VeraCrypt::Process::Execute(const string&, const std::list<std::basic_string\<char> >&, int, VeraCry
pt::ProcessExecFunctor, const VeraCrypt::Buffer)’:
Unix/Process.cpp:173:4: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <serializable> deserializedObject;
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from /big/vera/src/Platform/PlatformBase.h:19,
from Unix/Process.h:16,
from Unix/Process.cpp:18:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Compiling SyncEvent.cpp
Compiling SystemException.cpp
Compiling SystemInfo.cpp
Compiling SystemLog.cpp
Compiling Thread.cpp
Compiling Time.cpp
Updating library Platform.a
ar:
u' modifier ignored sinceD' is the default (see `U')Compiling Cipher.cpp
Compiling EncryptionAlgorithm.cpp
Compiling EncryptionMode.cpp
In file included from EncryptionMode.cpp:15:
EncryptionThreadPool.h:47:4: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <exception> ItemException;
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from /big/vera/src/Platform/PlatformBase.h:19,
from /big/vera/src/Platform/Platform.h:16,
from EncryptionMode.h:16,
from EncryptionMode.cpp:13:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Compiling EncryptionModeXTS.cpp
Compiling EncryptionTest.cpp
Compiling EncryptionThreadPool.cpp
In file included from EncryptionThreadPool.cpp:25:
EncryptionThreadPool.h:47:4: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <exception> ItemException;</exception></class></typename></exception></class></typename></serializable></class></std::basic_string\<char>
[...]
FuseService.cpp: In function ‘int VeraCrypt::fuse_service_read(const char, char, size_t, off_t, fuse_file_info*)’:
FuseService.cpp:224:12: warning: catching polymorphic type ‘struct VeraCrypt::MissingVolumeData’ by value [-Wcatch-value=]
catch (MissingVolumeData)
^~~~~~~~~~~~~~~~~
FuseService.cpp: In static member function ‘static int VeraCrypt::FuseService::ExceptionToErrorCode()’:
FuseService.cpp:353:15: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]
catch (std::bad_alloc)
^~~~~~~~~
FuseService.cpp: At global scope:
FuseService.cpp:595:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr <pipe> FuseService::SignalHandlerPipe;
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from /big/vera/src/Platform/PlatformBase.h:19,
from /big/vera/src/Platform/Platform.h:16,
from FuseService.h:16,
from FuseService.cpp:27:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
Updating library Driver.a
ar:
u' modifier ignored sinceD' is the default (see `U')Compiling CoreBase.cpp
Compiling CoreException.cpp
Compiling FatFormatter.cpp
[...]
Compiling Resources.cpp
Linking veracrypt
/bin/sh: 1: makeself: not found
Main.make:272: recipe for target 'package' failed
make[1]: *** [package] Error 127
Makefile:434: recipe for target 'package' failed
make: *** [package] Error 2</typename></pipe></class>
I'd really appreciate an answer ...