Mock Version: 1.2.21
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/whatsapp-purple.spec'], timeout=0chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5297/root'gid=135env={'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'}shell=FalseprintOutput=Falseuid=1001logger=<mockbuild.trace_decorator.getLog object at 0x7f27d5ea98d0>user='mockbuild')
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/whatsapp-purple.spec'] with env {'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'} and shell False
warning: Could not canonicalize hostname: copr-builder-398028107.novalocal
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/whatsapp-purple-0.9.0-2.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/whatsapp-purple.spec'], private_network=Truegid=135env={'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'}logger=<mockbuild.trace_decorator.getLog object at 0x7f27d5ea98d0>shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5297/root'uid=1001timeout=0user='mockbuild')
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/whatsapp-purple.spec'] with env {'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9qFkDP
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf whatsapp-purple-0.9.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/whatsapp-purple-0.9.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd whatsapp-purple-0.9.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h83xDp
+ umask 022
+ cd /builddir/build/BUILD
+ cd whatsapp-purple-0.9.0
+ make -j2
make -C libaxolotl-cpp/libcurve25519
make[1]: Entering directory `/builddir/build/BUILD/whatsapp-purple-0.9.0/libaxolotl-cpp/libcurve25519'
gcc -o src/curve25519-donna.o -c src/curve25519-donna.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
protoc --cpp_out=. AxolotlMessages.proto
# Do nothing
gcc -o src/ed25519/fe_neg.o -c src/ed25519/fe_neg.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p1p1_to_p2.o -c src/ed25519/ge_p1p1_to_p2.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_cmov.o -c src/ed25519/fe_cmov.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p3_dbl.o -c src/ed25519/ge_p3_dbl.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p3_0.o -c src/ed25519/ge_p3_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_pow22523.o -c src/ed25519/fe_pow22523.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_copy.o -c src/ed25519/fe_copy.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_msub.o -c src/ed25519/ge_msub.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_1.o -c src/ed25519/fe_1.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_frombytes.o -c src/ed25519/fe_frombytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_sub.o -c src/ed25519/ge_sub.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_tobytes.o -c src/ed25519/ge_tobytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_add.o -c src/ed25519/ge_add.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/open.o -c src/ed25519/open.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p1p1_to_p3.o -c src/ed25519/ge_p1p1_to_p3.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_invert.o -c src/ed25519/fe_invert.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_add.o -c src/ed25519/fe_add.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_mul.o -c src/ed25519/fe_mul.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/sc_muladd.o -c src/ed25519/sc_muladd.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_frombytes.o -c src/ed25519/ge_frombytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_sub.o -c src/ed25519/fe_sub.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p3_to_cached.o -c src/ed25519/ge_p3_to_cached.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p2_dbl.o -c src/ed25519/ge_p2_dbl.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_scalarmult_base.o -c src/ed25519/ge_scalarmult_base.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_madd.o -c src/ed25519/ge_madd.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_sq2.o -c src/ed25519/fe_sq2.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/additions/sign_modified.o -c src/ed25519/additions/sign_modified.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/additions/zeroize.o -c src/ed25519/additions/zeroize.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/additions/compare.o -c src/ed25519/additions/compare.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/additions/curve_sigs.o -c src/ed25519/additions/curve_sigs.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_tobytes.o -c src/ed25519/fe_tobytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
src/ed25519/additions/curve_sigs.c: In function 'curve25519_sign':
src/ed25519/additions/curve_sigs.c:46:3: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   if ((sigbuf = malloc(msg_len + 128)) == 0) {
   ^
src/ed25519/additions/curve_sigs.c:46:17: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
   if ((sigbuf = malloc(msg_len + 128)) == 0) {
                 ^
src/ed25519/additions/curve_sigs.c:65:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
    free(sigbuf);
    ^
src/ed25519/additions/curve_sigs.c:65:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
src/ed25519/additions/curve_sigs.c: In function 'curve25519_verify':
src/ed25519/additions/curve_sigs.c:82:20: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
   if ((verifybuf = malloc(msg_len + 64)) == 0) {
                    ^
src/ed25519/additions/curve_sigs.c:87:21: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
   if ((verifybuf2 = malloc(msg_len + 64)) == 0) {
                     ^
src/ed25519/additions/curve_sigs.c:129:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
     free(verifybuf);
     ^
src/ed25519/additions/curve_sigs.c:133:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
     free(verifybuf2);
     ^
gcc -o src/ed25519/ge_precomp_0.o -c src/ed25519/ge_precomp_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_isnonzero.o -c src/ed25519/fe_isnonzero.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p2_0.o -c src/ed25519/ge_p2_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_isnegative.o -c src/ed25519/fe_isnegative.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/nacl_sha512/blocks.o -c src/ed25519/nacl_sha512/blocks.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/nacl_sha512/hash.o -c src/ed25519/nacl_sha512/hash.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_0.o -c src/ed25519/fe_0.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p3_tobytes.o -c src/ed25519/ge_p3_tobytes.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/sign.o -c src/ed25519/sign.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_double_scalarmult.o -c src/ed25519/ge_double_scalarmult.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/sc_reduce.o -c src/ed25519/sc_reduce.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/ge_p3_to_p2.o -c src/ed25519/ge_p3_to_p2.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
gcc -o src/ed25519/fe_sq.o -c src/ed25519/fe_sq.c -DLIBCURVE25519_LIBRARY -O2 -fPIC  -std=c99 
g++ -o curve.o -c curve.cpp -DLIBCURVE25519_LIBRARY -O2 -fPIC 
ar rcs libcurve25519.a src/curve25519-donna.o src/ed25519/fe_neg.o src/ed25519/ge_p1p1_to_p2.o src/ed25519/fe_cmov.o src/ed25519/ge_p3_dbl.o src/ed25519/ge_p3_0.o src/ed25519/fe_pow22523.o src/ed25519/fe_copy.o src/ed25519/ge_msub.o src/ed25519/fe_1.o src/ed25519/fe_frombytes.o src/ed25519/ge_sub.o src/ed25519/ge_tobytes.o src/ed25519/ge_add.o src/ed25519/open.o src/ed25519/ge_p1p1_to_p3.o src/ed25519/fe_invert.o src/ed25519/fe_add.o src/ed25519/fe_mul.o src/ed25519/sc_muladd.o src/ed25519/ge_frombytes.o src/ed25519/fe_sub.o src/ed25519/ge_p3_to_cached.o src/ed25519/ge_p2_dbl.o src/ed25519/ge_scalarmult_base.o src/ed25519/ge_madd.o src/ed25519/fe_sq2.o src/ed25519/additions/sign_modified.o src/ed25519/additions/zeroize.o src/ed25519/additions/compare.o src/ed25519/additions/curve_sigs.o src/ed25519/fe_tobytes.o src/ed25519/ge_precomp_0.o src/ed25519/fe_isnonzero.o src/ed25519/ge_p2_0.o src/ed25519/fe_isnegative.o src/ed25519/nacl_sha512/blocks.o src/ed25519/nacl_sha512/hash.o src/ed25519/fe_0.o src/ed25519/ge_p3_tobytes.o src/ed25519/sign.o src/ed25519/ge_double_scalarmult.o src/ed25519/sc_reduce.o src/ed25519/ge_p3_to_p2.o src/ed25519/fe_sq.o curve.o
make[1]: Leaving directory `/builddir/build/BUILD/whatsapp-purple-0.9.0/libaxolotl-cpp/libcurve25519'
make -C libaxolotl-cpp
make[1]: Entering directory `/builddir/build/BUILD/whatsapp-purple-0.9.0/libaxolotl-cpp'
protoc --cpp_out=state protobuf/LocalStorageProtocol.proto
protoc --cpp_out=protocol protobuf/WhisperTextProtocol.proto
cp protocol/protobuf/WhisperTextProtocol.pb.cc protocol/WhisperTextProtocol.pb.cc
cp protocol/protobuf/WhisperTextProtocol.pb.h protocol/WhisperTextProtocol.pb.h
g++ -o identitykey.o -c identitykey.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
cp state/protobuf/LocalStorageProtocol.pb.cc state/LocalStorageProtocol.pb.cc
cp state/protobuf/LocalStorageProtocol.pb.h state/LocalStorageProtocol.pb.h
g++ -o identitykeypair.o -c identitykeypair.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o sessionbuilder.o -c sessionbuilder.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o sessioncipher.o -c sessioncipher.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ecc/curve.o -c ecc/curve.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ecc/eckeypair.o -c ecc/eckeypair.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ecc/djbec.o -c ecc/djbec.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o kdf/derivedmessagesecrets.o -c kdf/derivedmessagesecrets.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o kdf/derivedrootsecrets.o -c kdf/derivedrootsecrets.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o kdf/hkdf.o -c kdf/hkdf.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o groups/group_session_builder.o -c groups/group_session_builder.cc -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o groups/state/senderkeystate.o -c groups/state/senderkeystate.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o groups/state/senderkeyrecord.o -c groups/state/senderkeyrecord.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o groups/ratchet/senderchainkey.o -c groups/ratchet/senderchainkey.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o groups/ratchet/sendermessagekey.o -c groups/ratchet/sendermessagekey.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/bobaxolotlparameters.o -c ratchet/bobaxolotlparameters.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/aliceaxolotlparameters.o -c ratchet/aliceaxolotlparameters.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/messagekeys.o -c ratchet/messagekeys.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/ratchetingsession.o -c ratchet/ratchetingsession.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/chainkey.o -c ratchet/chainkey.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/rootkey.o -c ratchet/rootkey.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o ratchet/symmetricaxolotlparameters.o -c ratchet/symmetricaxolotlparameters.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o state/signedprekeyrecord.o -c state/signedprekeyrecord.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o state/prekeybundle.o -c state/prekeybundle.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o state/prekeyrecord.o -c state/prekeyrecord.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o state/sessionrecord.o -c state/sessionrecord.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o state/sessionstate.o -c state/sessionstate.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o util/byteutil.o -c util/byteutil.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o util/keyhelper.o -c util/keyhelper.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/keyexchangemessage.o -c protocol/keyexchangemessage.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/senderkeydistributionmessage.o -c protocol/senderkeydistributionmessage.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/whispermessage.o -c protocol/whispermessage.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/prekeywhispermessage.o -c protocol/prekeywhispermessage.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/senderkeymessage.o -c protocol/senderkeymessage.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/ciphertextmessage.o -c protocol/ciphertextmessage.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/inmemoryaxolotlstore.o -c mem-store/inmemoryaxolotlstore.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/inmemoryidentitykeystore.o -c mem-store/inmemoryidentitykeystore.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/inmemoryprekeystore.o -c mem-store/inmemoryprekeystore.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/inmemorysignedprekeystore.o -c mem-store/inmemorysignedprekeystore.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/inmemorysessionstore.o -c mem-store/inmemorysessionstore.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/inmemorysenderkeystore.o -c mem-store/inmemorysenderkeystore.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o mem-store/serializer.o -c mem-store/serializer.cpp -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
# Do nothing
# Do nothing
g++ -o state/LocalStorageProtocol.pb.o -c state/LocalStorageProtocol.pb.cc -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
g++ -o protocol/WhisperTextProtocol.pb.o -c protocol/WhisperTextProtocol.pb.cc -I./ecc -I./exception -I./util -I./state -I./groups/ratchet -I./groups/state -I./kdf -I./ratchet -I./protocol -I./ -std=c++11 -O2 -fPIC 
ar rcs libaxolotl.a identitykey.o identitykeypair.o sessionbuilder.o sessioncipher.o ecc/curve.o ecc/eckeypair.o ecc/djbec.o kdf/derivedmessagesecrets.o kdf/derivedrootsecrets.o kdf/hkdf.o groups/group_session_builder.o groups/state/senderkeystate.o groups/state/senderkeyrecord.o groups/ratchet/senderchainkey.o groups/ratchet/sendermessagekey.o ratchet/bobaxolotlparameters.o ratchet/aliceaxolotlparameters.o ratchet/messagekeys.o ratchet/ratchetingsession.o ratchet/chainkey.o ratchet/rootkey.o ratchet/symmetricaxolotlparameters.o state/signedprekeyrecord.o state/prekeybundle.o state/prekeyrecord.o state/sessionrecord.o state/sessionstate.o util/byteutil.o util/keyhelper.o protocol/keyexchangemessage.o protocol/senderkeydistributionmessage.o protocol/whispermessage.o protocol/prekeywhispermessage.o protocol/senderkeymessage.o protocol/ciphertextmessage.o mem-store/inmemoryaxolotlstore.o mem-store/inmemoryidentitykeystore.o mem-store/inmemoryprekeystore.o mem-store/inmemorysignedprekeystore.o mem-store/inmemorysessionstore.o mem-store/inmemorysenderkeystore.o mem-store/serializer.o state/LocalStorageProtocol.pb.o protocol/WhisperTextProtocol.pb.o
make[1]: Leaving directory `/builddir/build/BUILD/whatsapp-purple-0.9.0/libaxolotl-cpp'
gcc -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c99 -o tinfl.o tinfl.c
gcc -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c99 -o imgutil.o imgutil.c
imgutil.c: In function 'imgProfile':
imgutil.c:10:2: warning: passing argument 1 of 'FreeImage_OpenMemory' discards 'const' qualifier from pointer target type [enabled by default]
  FIMEMORY * inimgmem = FreeImage_OpenMemory(data, size);
  ^
In file included from imgutil.c:2:0:
/usr/include/FreeImage.h:771:32: note: expected 'BYTE *' but argument is of type 'const unsigned char *'
 DLL_API FIMEMORY *DLL_CALLCONV FreeImage_OpenMemory(BYTE *data FI_DEFAULT(0), DWORD size_in_bytes FI_DEFAULT(0));
                                ^
imgutil.c: In function 'imgThumbnail':
imgutil.c:53:2: warning: passing argument 1 of 'FreeImage_OpenMemory' discards 'const' qualifier from pointer target type [enabled by default]
  FIMEMORY * inimgmem = FreeImage_OpenMemory(data, size);
  ^
In file included from imgutil.c:2:0:
/usr/include/FreeImage.h:771:32: note: expected 'BYTE *' but argument is of type 'const unsigned char *'
 DLL_API FIMEMORY *DLL_CALLCONV FreeImage_OpenMemory(BYTE *data FI_DEFAULT(0), DWORD size_in_bytes FI_DEFAULT(0));
                                ^
gcc -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c99 -o aes.o aes.c
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o whatsapp-protocol.o whatsapp-protocol.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o wa_util.o wa_util.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o rc4.o rc4.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o keygen.o keygen.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o tree.o tree.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o databuffer.o databuffer.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o message.o message.cc
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o wa_purple.o wa_purple.cc
wa_purple.cc: In function 'void waprpl_tooltip_text(PurpleBuddy*, PurpleNotifyUserInfo*, gboolean)':
wa_purple.cc:151:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  else if (lseen == ~0)
                     ^
wa_purple.cc: In function 'int hasht_cmp_convo(GHashTable*, void*)':
wa_purple.cc:350:83: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  return (chatid_to_convo((char*)g_hash_table_lookup(hasht, "id")) == *((int *)data));
                                                                                   ^
wa_purple.cc: In function 'void query_icon(PurpleConnection*)':
wa_purple.cc:521:6: warning: unused variable 'len' [-Wunused-variable]
  int len;
      ^
wa_purple.cc: In function 'void waprpl_remove_buddy(PurpleConnection*, PurpleBuddy*, PurpleGroup*)':
wa_purple.cc:969:23: warning: unused variable 'wconn' [-Wunused-variable]
  whatsapp_connection *wconn = (whatsapp_connection*)purple_connection_get_protocol_data(gc);
                       ^
wa_purple.cc:970:14: warning: unused variable 'name' [-Wunused-variable]
  const char *name = purple_buddy_get_name(buddy);
              ^
wa_purple.cc: In function 'void http_download_cb(PurpleUtilFetchUrlData*, gpointer, const gchar*, gsize, const gchar*)':
wa_purple.cc:1447:65: warning: format '%d' expects argument of type 'int', but argument 3 has type 'gsize {aka long unsigned int}' [-Wformat=]
   purple_debug_info(WHATSAPP_ID, "Got some HTTP data! %d\n", len);
                                                                 ^
wa_purple.cc: In function 'void waprpl_xfer_init_receiveimg(PurpleXfer*)':
wa_purple.cc:1481:23: warning: unused variable 'wconn' [-Wunused-variable]
  whatsapp_connection *wconn = (whatsapp_connection*)xinfo->wconn;
                       ^
wa_purple.cc:1486:26: warning: unused variable 'url_fetch' [-Wunused-variable]
  PurpleUtilFetchUrlData* url_fetch = purple_util_fetch_url_request_len_with_account(
                          ^
wa_purple.cc: At global scope:
wa_purple.cc:1670:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
 };
 ^
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
 };
 ^
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
wa_purple.cc:1749:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
g++ -c  -O2 -Wall -Wno-unused-function -fPIC -DPURPLE_PLUGINS -DPIC -I./libaxolotl-cpp/ecc -I./libaxolotl-cpp/exception -I./libaxolotl-cpp/util -I./libaxolotl-cpp/state -I./libaxolotl-cpp/protocol -I./libaxolotl-cpp/groups/ratchet -I./libaxolotl-cpp/groups/state -I./libaxolotl-cpp/groups -I./libaxolotl-cpp/kdf -I./libaxolotl-cpp/ratchet -I./libaxolotl-cpp/mem-store -I./libaxolotl-cpp -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -std=c++11 -o AxolotlMessages.pb.o AxolotlMessages.pb.cc
g++  -shared -pipe -o libwhatsapp.so tinfl.o imgutil.o aes.o whatsapp-protocol.o wa_util.o rc4.o keygen.o tree.o databuffer.o message.o wa_purple.o AxolotlMessages.pb.o -lpurple -lglib-2.0   -lfreeimage ./libaxolotl-cpp/libaxolotl.a -lprotobuf ./libaxolotl-cpp/libcurve25519/libcurve25519.a
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NEsfbq
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64
++ dirname /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64
+ cd whatsapp-purple-0.9.0
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64
# Do nothing
install -D libwhatsapp.so /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64/usr/lib64/purple-2/libwhatsapp.so
install -D -m 644 whatsapp16.png /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64/usr/share/pixmaps/pidgin/protocols/16/whatsapp.png
install -D -m 644 whatsapp22.png /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64/usr/share/pixmaps/pidgin/protocols/22/whatsapp.png
install -D -m 644 whatsapp48.png /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64/usr/share/pixmaps/pidgin/protocols/48/whatsapp.png
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/whatsapp-purple-0.9.0
extracting debug info from /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64/usr/lib64/purple-2/libwhatsapp.so
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match.
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: whatsapp-purple-0.9.0-2.x86_64
Provides: libwhatsapp.so()(64bit) whatsapp-purple = 0.9.0-2 whatsapp-purple(x86-64) = 0.9.0-2
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libfreeimage.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libglib-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libprotobuf.so.8()(64bit) libpurple.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH)
Processing files: whatsapp-purple-debuginfo-0.9.0-2.x86_64
Provides: whatsapp-purple-debuginfo = 0.9.0-2 whatsapp-purple-debuginfo(x86-64) = 0.9.0-2
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64
Wrote: /builddir/build/RPMS/whatsapp-purple-0.9.0-2.x86_64.rpm
Wrote: /builddir/build/RPMS/whatsapp-purple-debuginfo-0.9.0-2.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fMaDJw
+ umask 022
+ cd /builddir/build/BUILD
+ cd whatsapp-purple-0.9.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/whatsapp-purple-0.9.0-2.x86_64
+ exit 0
Child return code was: 0