
Applying ./patches/100-lzma_zlib.patch using plaintext: 
patching file C/7zip/Compress/LZMA/LZMADecoder.cpp
patching file C/7zip/Compress/LZMA/LZMADecoder.h
patching file C/7zip/Compress/LZMA_Lib/makefile
patching file C/7zip/Compress/LZMA_Lib/ZLib.cpp

Applying ./patches/110-ranlib.patch using plaintext: 
patching file C/7zip/Compress/LZMA_Lib/makefile
make[4]: Entering directory '/home/bastian/ledebot/source/build_dir/host/lzma-4.32/C/7zip/Compress/LZMA_Lib'
g++ -O3 -Wall -c  -I ../../../ ZLib.cpp
g++ -O3 -Wall -c  -I ../../../ ../LZMA/LZMADecoder.cpp
../LZMA/LZMADecoder.cpp: In member function 'virtual LONG NCompress::NLZMA::CDecoder::SetOutStreamSize(const UInt64*)':
../LZMA/LZMADecoder.cpp:317:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (_outSizeDefined = (outSize != NULL))
                                          ^
g++ -O3 -Wall -c  -I ../../../ ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function 'LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)':
../LZMA/LZMAEncoder.cpp:1139:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1<<12)))
                                             ^
../LZMA/LZMAEncoder.cpp:1154:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         _longestMatchLength == lenMain + 1 && 
                                            ^
../LZMA/LZMAEncoder.cpp:1157:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         _longestMatchLength + 1 >= lenMain && lenMain >= 3 &&
                                                            ^
g++ -O3 -Wall -c  -I ../../../ ../LZ/LZInWindow.cpp
g++ -O3 -Wall -c  -I ../../../ ../LZ/LZOutWindow.cpp
g++ -O3 -Wall -c  -I ../../../ ../RangeCoder/RangeCoderBit.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/InBuffer.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/OutBuffer.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/FileStreams.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/Alloc.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/C_FileIO.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/CommandLineParser.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/CRC.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/StreamUtils.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/String.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/StringConvert.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/StringToInt.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/Vector.cpp
ar r liblzma.a ZLib.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o Alloc.o C_FileIO.o CommandLineParser.o CRC.o StreamUtils.o String.o StringConvert.o StringToInt.o Vector.o 
ar: creating liblzma.a
ranlib liblzma.a
make[4]: Leaving directory '/home/bastian/ledebot/source/build_dir/host/lzma-4.32/C/7zip/Compress/LZMA_Lib'
make[4]: Entering directory '/home/bastian/ledebot/source/build_dir/host/lzma-4.32/C/7zip/Compress/LZMA_Alone'
g++ -O2 -Wall -c -I ../../../ LzmaAlone.cpp
LzmaAlone.cpp: In function 'int main2(int, const char**)':
LzmaAlone.cpp:432:36: warning: format not a string literal and no format arguments [-Wformat-security]
         fprintf(stderr, kWriteError);
                                    ^
LzmaAlone.cpp:458:33: warning: format not a string literal and no format arguments [-Wformat-security]
       fprintf(stderr, kReadError);
                                 ^
LzmaAlone.cpp:463:33: warning: format not a string literal and no format arguments [-Wformat-security]
       fprintf(stderr, kReadError);
                                 ^
LzmaAlone.cpp:477:35: warning: format not a string literal and no format arguments [-Wformat-security]
         fprintf(stderr, kReadError);
                                   ^
LzmaAlone.cpp:482:35: warning: format not a string literal and no format arguments [-Wformat-security]
         fprintf(stderr, kReadError);
                                   ^
g++ -O2 -Wall -c -I ../../../ LzmaBench.cpp
In file included from ../LZMA/LZMADecoder.h:6:0,
                 from LzmaBench.cpp:12:
LzmaBench.cpp: In member function 'virtual ULONG CBenchmarkInStream::Release()':
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type 'CBenchmarkInStream' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro 'MY_ADDREF_RELEASE'
   MY_ADDREF_RELEASE
   ^
LzmaBench.cpp:143:3: note: in expansion of macro 'MY_UNKNOWN_IMP'
   MY_UNKNOWN_IMP
   ^
LzmaBench.cpp: In member function 'virtual ULONG CCrcOutStream::Release()':
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type 'CCrcOutStream' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro 'MY_ADDREF_RELEASE'
   MY_ADDREF_RELEASE
   ^
LzmaBench.cpp:211:3: note: in expansion of macro 'MY_UNKNOWN_IMP'
   MY_UNKNOWN_IMP
   ^
LzmaBench.cpp: In member function 'virtual ULONG CProgressInfo::Release()':
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type 'CProgressInfo' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro 'MY_ADDREF_RELEASE'
   MY_ADDREF_RELEASE
   ^
LzmaBench.cpp:260:3: note: in expansion of macro 'MY_UNKNOWN_IMP'
   MY_UNKNOWN_IMP
   ^
LzmaBench.cpp: In function 'void ThrowError(FILE*, LONG, const char*)':
LzmaBench.cpp:368:17: warning: format not a string literal and no format arguments [-Wformat-security]
     fprintf(f, s);
                 ^
LzmaBench.cpp: In function 'int LzmaBenchmark(FILE*, UInt32, UInt32, bool)':
LzmaBench.cpp:379:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (dictionarySize < (1 << 19) && isBT4 || dictionarySize < (1 << 15))
                                  ^
g++ -O2 -Wall -c -I ../../../ LzmaRam.cpp
In file included from ../LZMA/LZMADecoder.h:6:0,
                 from LzmaRam.cpp:5:
LzmaRam.cpp: In member function 'virtual ULONG CInStreamRam::Release()':
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type 'CInStreamRam' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro 'MY_ADDREF_RELEASE'
   MY_ADDREF_RELEASE
   ^
LzmaRam.cpp:22:3: note: in expansion of macro 'MY_UNKNOWN_IMP'
   MY_UNKNOWN_IMP
   ^
LzmaRam.cpp: In member function 'virtual ULONG COutStreamRam::Release()':
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type 'COutStreamRam' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro 'MY_ADDREF_RELEASE'
   MY_ADDREF_RELEASE
   ^
LzmaRam.cpp:66:3: note: in expansion of macro 'MY_UNKNOWN_IMP'
   MY_UNKNOWN_IMP
   ^
gcc -O2 -Wall -c -I ../../../ LzmaRamDecode.c
gcc -O2 -Wall -c -I ../../../ ../LZMA_C/LzmaDecode.c
gcc -O2 -Wall -c -I ../../../ ../Branch/BranchX86.c
g++ -O2 -Wall -c -I ../../../ ../LZMA/LZMADecoder.cpp
../LZMA/LZMADecoder.cpp: In member function 'virtual LONG NCompress::NLZMA::CDecoder::SetOutStreamSize(const UInt64*)':
../LZMA/LZMADecoder.cpp:317:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (_outSizeDefined = (outSize != NULL))
                                          ^
g++ -O2 -Wall -c -I ../../../ ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function 'LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)':
../LZMA/LZMAEncoder.cpp:1139:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1<<12)))
                                             ^
../LZMA/LZMAEncoder.cpp:1154:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         _longestMatchLength == lenMain + 1 && 
                                            ^
../LZMA/LZMAEncoder.cpp:1157:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         _longestMatchLength + 1 >= lenMain && lenMain >= 3 &&
                                                            ^
g++ -O2 -Wall -c -I ../../../ ../LZ/LZInWindow.cpp
g++ -O2 -Wall -c -I ../../../ ../LZ/LZOutWindow.cpp
g++ -O2 -Wall -c -I ../../../ ../RangeCoder/RangeCoderBit.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/InBuffer.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/OutBuffer.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/FileStreams.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/StreamUtils.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/Alloc.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/C_FileIO.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/CommandLineParser.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/CRC.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/String.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/StringConvert.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/StringToInt.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/Vector.cpp
g++ -O2 -Wall -o lzma  LzmaAlone.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o Alloc.o C_FileIO.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o  -lm
make[4]: Leaving directory '/home/bastian/ledebot/source/build_dir/host/lzma-4.32/C/7zip/Compress/LZMA_Alone'
