Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libaesgm.spec'], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libaesgm.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/libaesgm-20090429-10.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libaesgm.spec '], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libaesgm.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U0YNZh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libaesgm-20090429 + /usr/bin/mkdir -p libaesgm-20090429 + cd libaesgm-20090429 + /usr/bin/unzip -qq /builddir/build/SOURCES/aes-src-29-04-09.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/Makefile.aes Makefile Patch #0 (libaesgm-20090429-fileencrypt.patch): + echo 'Patch #0 (libaesgm-20090429-fileencrypt.patch):' + /usr/bin/cat /builddir/build/SOURCES/libaesgm-20090429-fileencrypt.patch + /usr/bin/patch -p1 -b --suffix .fileencrypt --fuzz=0 patching file fileenc.c patching file fileenc.h patching file hmac.c patching file hmac.h patching file Makefile patching file pwd2key.c patching file pwd2key.h patching file sha1.c patching file sha1.h patching file sha2.c patching file sha2.h + sed -i 's/\r//' aes.txt vb.txt via_ace.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9dt1Br + umask 022 + cd /builddir/build/BUILD + cd libaesgm-20090429 + make 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o aescrypt.o aescrypt.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o aeskey.o aeskey.c In file included from aeskey.c:32:0: aes_via_ace.h:399:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_ecb_op5( ^ aes_via_ace.h:411:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cbc_op6( ^ aes_via_ace.h:424:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cbc_op7( ^ aes_via_ace.h:440:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cfb_op6( ^ aes_via_ace.h:453:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cfb_op7( ^ aes_via_ace.h:469:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_ofb_op6( ^ aes_via_ace.h: In function 'read_via_rng': aes_via_ace.h:500:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_rng_test()) ^ aes_via_ace.h:507:9: note: in expansion of macro 'VIA_RNG_AVAILABLE' if(!VIA_RNG_AVAILABLE) ^ aeskey.c: In function 'aes_encrypt_key128': aes_via_ace.h:492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_ace_test()) ^ aeskey.c:107:8: note: in expansion of macro 'VIA_ACE_AVAILABLE' if(VIA_ACE_AVAILABLE) ^ aeskey.c: In function 'aes_encrypt_key192': aes_via_ace.h:492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_ace_test()) ^ aeskey.c:156:8: note: in expansion of macro 'VIA_ACE_AVAILABLE' if(VIA_ACE_AVAILABLE) ^ aeskey.c: In function 'aes_encrypt_key256': aes_via_ace.h:492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_ace_test()) ^ aeskey.c:208:8: note: in expansion of macro 'VIA_ACE_AVAILABLE' if(VIA_ACE_AVAILABLE) ^ aeskey.c: In function 'aes_decrypt_key128': aes_via_ace.h:492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_ace_test()) ^ aeskey.c:349:8: note: in expansion of macro 'VIA_ACE_AVAILABLE' if(VIA_ACE_AVAILABLE) ^ In file included from aeskey.c:28:0: aeskey.c: In function 'aes_decrypt_key192': aeskey.c:409:34: warning: operation on 'ss[4]' may be undefined [-Wsequence-point] cx->ks[v(48,(4))] = ff(ss[4] = word_in(key, 4)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:409:25: note: in expansion of macro 'ff' cx->ks[v(48,(4))] = ff(ss[4] = word_in(key, 4)); ^ aeskey.c:409:34: warning: operation on 'ss[4]' may be undefined [-Wsequence-point] cx->ks[v(48,(4))] = ff(ss[4] = word_in(key, 4)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:409:25: note: in expansion of macro 'ff' cx->ks[v(48,(4))] = ff(ss[4] = word_in(key, 4)); ^ aeskey.c:409:34: warning: operation on 'ss[4]' may be undefined [-Wsequence-point] cx->ks[v(48,(4))] = ff(ss[4] = word_in(key, 4)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:409:25: note: in expansion of macro 'ff' cx->ks[v(48,(4))] = ff(ss[4] = word_in(key, 4)); ^ aeskey.c:410:34: warning: operation on 'ss[5]' may be undefined [-Wsequence-point] cx->ks[v(48,(5))] = ff(ss[5] = word_in(key, 5)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:410:25: note: in expansion of macro 'ff' cx->ks[v(48,(5))] = ff(ss[5] = word_in(key, 5)); ^ aeskey.c:410:34: warning: operation on 'ss[5]' may be undefined [-Wsequence-point] cx->ks[v(48,(5))] = ff(ss[5] = word_in(key, 5)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:410:25: note: in expansion of macro 'ff' cx->ks[v(48,(5))] = ff(ss[5] = word_in(key, 5)); ^ aeskey.c:410:34: warning: operation on 'ss[5]' may be undefined [-Wsequence-point] cx->ks[v(48,(5))] = ff(ss[5] = word_in(key, 5)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:410:25: note: in expansion of macro 'ff' cx->ks[v(48,(5))] = ff(ss[5] = word_in(key, 5)); ^ In file included from aeskey.c:32:0: aes_via_ace.h:492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_ace_test()) ^ aeskey.c:433:8: note: in expansion of macro 'VIA_ACE_AVAILABLE' if(VIA_ACE_AVAILABLE) ^ In file included from aeskey.c:28:0: aeskey.c: In function 'aes_decrypt_key256': aeskey.c:500:34: warning: operation on 'ss[4]' may be undefined [-Wsequence-point] cx->ks[v(56,(4))] = ff(ss[4] = word_in(key, 4)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:500:25: note: in expansion of macro 'ff' cx->ks[v(56,(4))] = ff(ss[4] = word_in(key, 4)); ^ aeskey.c:500:34: warning: operation on 'ss[4]' may be undefined [-Wsequence-point] cx->ks[v(56,(4))] = ff(ss[4] = word_in(key, 4)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:500:25: note: in expansion of macro 'ff' cx->ks[v(56,(4))] = ff(ss[4] = word_in(key, 4)); ^ aeskey.c:500:34: warning: operation on 'ss[4]' may be undefined [-Wsequence-point] cx->ks[v(56,(4))] = ff(ss[4] = word_in(key, 4)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:500:25: note: in expansion of macro 'ff' cx->ks[v(56,(4))] = ff(ss[4] = word_in(key, 4)); ^ aeskey.c:501:34: warning: operation on 'ss[5]' may be undefined [-Wsequence-point] cx->ks[v(56,(5))] = ff(ss[5] = word_in(key, 5)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:501:25: note: in expansion of macro 'ff' cx->ks[v(56,(5))] = ff(ss[5] = word_in(key, 5)); ^ aeskey.c:501:34: warning: operation on 'ss[5]' may be undefined [-Wsequence-point] cx->ks[v(56,(5))] = ff(ss[5] = word_in(key, 5)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:501:25: note: in expansion of macro 'ff' cx->ks[v(56,(5))] = ff(ss[5] = word_in(key, 5)); ^ aeskey.c:501:34: warning: operation on 'ss[5]' may be undefined [-Wsequence-point] cx->ks[v(56,(5))] = ff(ss[5] = word_in(key, 5)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:501:25: note: in expansion of macro 'ff' cx->ks[v(56,(5))] = ff(ss[5] = word_in(key, 5)); ^ aeskey.c:502:34: warning: operation on 'ss[6]' may be undefined [-Wsequence-point] cx->ks[v(56,(6))] = ff(ss[6] = word_in(key, 6)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:502:25: note: in expansion of macro 'ff' cx->ks[v(56,(6))] = ff(ss[6] = word_in(key, 6)); ^ aeskey.c:502:34: warning: operation on 'ss[6]' may be undefined [-Wsequence-point] cx->ks[v(56,(6))] = ff(ss[6] = word_in(key, 6)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:502:25: note: in expansion of macro 'ff' cx->ks[v(56,(6))] = ff(ss[6] = word_in(key, 6)); ^ aeskey.c:502:34: warning: operation on 'ss[6]' may be undefined [-Wsequence-point] cx->ks[v(56,(6))] = ff(ss[6] = word_in(key, 6)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:502:25: note: in expansion of macro 'ff' cx->ks[v(56,(6))] = ff(ss[6] = word_in(key, 6)); ^ aeskey.c:503:34: warning: operation on 'ss[7]' may be undefined [-Wsequence-point] cx->ks[v(56,(7))] = ff(ss[7] = word_in(key, 7)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:503:25: note: in expansion of macro 'ff' cx->ks[v(56,(7))] = ff(ss[7] = word_in(key, 7)); ^ aeskey.c:503:34: warning: operation on 'ss[7]' may be undefined [-Wsequence-point] cx->ks[v(56,(7))] = ff(ss[7] = word_in(key, 7)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:503:25: note: in expansion of macro 'ff' cx->ks[v(56,(7))] = ff(ss[7] = word_in(key, 7)); ^ aeskey.c:503:34: warning: operation on 'ss[7]' may be undefined [-Wsequence-point] cx->ks[v(56,(7))] = ff(ss[7] = word_in(key, 7)); ^ aesopt.h:329:25: note: in definition of macro 'to_byte' # define to_byte(x) ((x) & 0xff) ^ aesopt.h:697:12: note: in expansion of macro 'bval' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:697:17: note: in expansion of macro 'vf1' ^ tab[2][bval(vf(x,2,c),rf(2,c))] \ ^ aesopt.h:719:29: note: in expansion of macro 'four_tables' # define inv_mcol(x) four_tables(x,t_use(i,m),vf1,rf1,0) ^ aeskey.c:247:17: note: in expansion of macro 'inv_mcol' #define ff(x) inv_mcol(x) ^ aeskey.c:503:25: note: in expansion of macro 'ff' cx->ks[v(56,(7))] = ff(ss[7] = word_in(key, 7)); ^ In file included from aeskey.c:32:0: aes_via_ace.h:492:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_ace_test()) ^ aeskey.c:528:8: note: in expansion of macro 'VIA_ACE_AVAILABLE' if(VIA_ACE_AVAILABLE) ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o aes_modes.o aes_modes.c In file included from aes_modes.c:62:0: aes_via_ace.h:399:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_ecb_op5( ^ aes_via_ace.h:411:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cbc_op6( ^ aes_via_ace.h:424:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cbc_op7( ^ aes_via_ace.h:440:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cfb_op6( ^ aes_via_ace.h:453:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_cfb_op7( ^ aes_via_ace.h:469:23: warning: function definition has qualified void return type [enabled by default] INLINE volatile void via_ofb_op6( ^ aes_via_ace.h: In function 'read_via_rng': aes_via_ace.h:500:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (via_flags & NEH_CPU_READ) && (via_flags & NEH_CPU_IS_VIA) || via_rng_test()) ^ aes_via_ace.h:507:9: note: in expansion of macro 'VIA_RNG_AVAILABLE' if(!VIA_RNG_AVAILABLE) ^ aes_modes.c: At top level: aes_modes.c:66:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aligned_array(unsigned long, enc_gen_table, 12, 16) = NEH_ENC_GEN_DATA; ^ aes_modes.c:66:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:66:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:67:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aligned_array(unsigned long, enc_load_table, 12, 16) = NEH_ENC_LOAD_DATA; ^ aes_modes.c:67:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:67:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:68:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aligned_array(unsigned long, enc_hybrid_table, 12, 16) = NEH_ENC_HYBRID_DATA; ^ aes_modes.c:68:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:68:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:69:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aligned_array(unsigned long, dec_gen_table, 12, 16) = NEH_DEC_GEN_DATA; ^ aes_modes.c:69:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:69:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:70:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aligned_array(unsigned long, dec_load_table, 12, 16) = NEH_DEC_LOAD_DATA; ^ aes_modes.c:70:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:70:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:71:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aligned_array(unsigned long, dec_hybrid_table, 12, 16) = NEH_DEC_HYBRID_DATA; ^ aes_modes.c:71:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:71:1: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c: In function 'aes_ecb_encrypt': aes_modes.c:146:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, enc, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:146:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:146:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:153:24: warning: function with qualified void return type called [enabled by default] via_ecb_op5(ksp, cwd, ibuf, obuf, nb); ^ aes_modes.c:163:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:169:28: warning: function with qualified void return type called [enabled by default] via_ecb_op5(ksp, cwd, ip, op, m); ^ aes_modes.c: In function 'aes_ecb_decrypt': aes_modes.c:208:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, dec, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:208:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:208:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:215:24: warning: function with qualified void return type called [enabled by default] via_ecb_op5(ksp, cwd, ibuf, obuf, nb); ^ aes_modes.c:225:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:231:28: warning: function with qualified void return type called [enabled by default] via_ecb_op5(ksp, cwd, ip, op, m); ^ aes_modes.c: In function 'aes_cbc_encrypt': aes_modes.c:271:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, enc, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:271:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:271:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:284:24: warning: function with qualified void return type called [enabled by default] via_cbc_op7(ksp, cwd, ibuf, obuf, nb, ivp, ivp); ^ aes_modes.c:294:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:300:28: warning: function with qualified void return type called [enabled by default] via_cbc_op7(ksp, cwd, ip, op, m, ivp, ivp); ^ aes_modes.c: In function 'aes_cbc_decrypt': aes_modes.c:369:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, dec, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:369:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:369:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:382:24: warning: function with qualified void return type called [enabled by default] via_cbc_op6(ksp, cwd, ibuf, obuf, nb, ivp); ^ aes_modes.c:392:20: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:398:28: warning: function with qualified void return type called [enabled by default] via_cbc_op6(ksp, cwd, ip, op, m, ivp); ^ aes_modes.c: In function 'aes_cfb_encrypt': aes_modes.c:478:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, enc, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:478:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:478:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:491:28: warning: function with qualified void return type called [enabled by default] via_cfb_op7(ksp, cwd, ibuf, obuf, nb, ivp, ivp); ^ aes_modes.c:504:24: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:510:32: warning: function with qualified void return type called [enabled by default] via_cfb_op7(ksp, cwd, ip, op, m, ivp, ivp); ^ aes_modes.c: In function 'aes_cfb_decrypt': aes_modes.c:606:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, dec, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:606:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:606:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:619:28: warning: function with qualified void return type called [enabled by default] via_cfb_op6(ksp, cwd, ibuf, obuf, nb, ivp); ^ aes_modes.c:632:24: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:638:32: warning: function with qualified void return type called [enabled by default] via_cfb_op6(ksp, cwd, ip, op, m, ivp); ^ aes_modes.c: In function 'aes_ofb_crypt': aes_modes.c:744:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, enc, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:744:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:744:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:757:28: warning: function with qualified void return type called [enabled by default] via_ofb_op6(ksp, cwd, ibuf, obuf, nb, ivp); ^ aes_modes.c:770:24: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ip = (ALIGN_OFFSET( ibuf, 16 ) ? buf : ibuf); ^ aes_modes.c:776:32: warning: function with qualified void return type called [enabled by default] via_ofb_op6(ksp, cwd, ip, op, m, ivp); ^ aes_modes.c: In function 'aes_ctr_crypt': aes_modes.c:894:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] via_cwd(cwd, hybrid, enc, 2 * ctx->inf.b[0] - 192); ^ aes_modes.c:894:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:894:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] aes_modes.c:895:24: warning: function with qualified void return type called [enabled by default] via_ecb_op5((ctx->ks), cwd, buf, buf, i); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o aestab.o aestab.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o fileenc.o fileenc.c fileenc.c: In function 'fcrypt_end': fileenc.c:136:16: warning: unused variable 'res' [-Wunused-variable] { unsigned int res = cx->mode; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o hmac.o hmac.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o pwd2key.o pwd2key.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o sha1.o sha1.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -c -o sha2.o sha2.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -DUSE_SHA1 -shared -Wl,-soname,libaesgm.so.0 -o libaesgm.so.0.0.0 aescrypt.o aeskey.o aes_modes.o aestab.o fileenc.o hmac.o pwd2key.o sha1.o sha2.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y3trqI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386 ++ dirname /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386 + cd libaesgm-20090429 + make DESTDIR=/builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386 LIBDIR=/usr/lib install mkdir -p /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/include//aes/ cp -p *.h /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/include//aes/ mkdir -p /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/lib cp -p libaesgm.so.0.0.0 /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/lib cd /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/lib && ln -s -f libaesgm.so.0.0.0 libaesgm.so && ln -s -f libaesgm.so.0.0.0 libaesgm.so.0 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/libaesgm-20090429 extracting debug info from /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/lib/libaesgm.so.0.0.0 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libaesgm.so.0.0.0.debug to /usr/lib/debug/usr/lib/libaesgm.so.debug symlinked /usr/lib/debug/usr/lib/libaesgm.so.0.0.0.debug to /usr/lib/debug/usr/lib/libaesgm.so.0.debug 360 blocks + /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: libaesgm-20090429-10.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qsJAOZ + umask 022 + cd /builddir/build/BUILD + cd libaesgm-20090429 + DOCDIR=/builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/share/doc/libaesgm-20090429 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/share/doc/libaesgm-20090429 + cp -pr aes.txt vb.txt via_ace.txt /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386/usr/share/doc/libaesgm-20090429 + exit 0 Provides: libaesgm = 20090429-10.el7 libaesgm(x86-32) = 20090429-10.el7 libaesgm.so.0 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: libaesgm-devel-20090429-10.el7.i686 Provides: libaesgm-devel = 20090429-10.el7 libaesgm-devel(x86-32) = 20090429-10.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libaesgm.so.0 Processing files: libaesgm-debuginfo-20090429-10.el7.i686 Provides: libaesgm-debuginfo = 20090429-10.el7 libaesgm-debuginfo(x86-32) = 20090429-10.el7 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/libaesgm-20090429-10.el7.i386 warning: Could not canonicalize hostname: worker1.bsys.centos.org Wrote: /builddir/build/RPMS/libaesgm-20090429-10.el7.i686.rpm Wrote: /builddir/build/RPMS/libaesgm-devel-20090429-10.el7.i686.rpm Wrote: /builddir/build/RPMS/libaesgm-debuginfo-20090429-10.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f4fHh9 + umask 022 + cd /builddir/build/BUILD + cd libaesgm-20090429 + rm -rf /builddir/build/BUILDROOT/libaesgm-20090429-10.el7.i386 + exit 0 Child return code was: 0 LEAVE do -->