Mock Version: 1.4.4 Mock Version: 1.4.4 Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'], chrootPath='/var/lib/mock/647457-epel-7-x86_64-1508615931/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'], chrootPath='/var/lib/mock/647457-epel-7-x86_64-1508615931/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-779707004.novalocal warning: Could not canonicalize hostname: copr-builder-779707004.novalocal Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tsocks-1.8-0.19.beta5.el7.centos.src.rpm Wrote: /builddir/build/SRPMS/tsocks-1.8-0.19.beta5.el7.centos.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'], chrootPath='/var/lib/mock/647457-epel-7-x86_64-1508615931/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'], chrootPath='/var/lib/mock/647457-epel-7-x86_64-1508615931/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tsocks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KHRXFg Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KHRXFg + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tsocks-1.8 + rm -rf tsocks-1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/tsocks-1.8beta5.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/tsocks-1.8beta5.tar.gz + /usr/bin/tar -xf - + /usr/bin/tar -xf - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd tsocks-1.8 + cd tsocks-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (tsocks_remove_static_lib.patch): Patch #0 (tsocks_remove_static_lib.patch): + echo 'Patch #0 (tsocks_remove_static_lib.patch):' + echo 'Patch #0 (tsocks_remove_static_lib.patch):' + /usr/bin/cat /builddir/build/SOURCES/tsocks_remove_static_lib.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks_remove_static_lib.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.in patching file Makefile.in Patch #1 (tsocks_fix_lib_path.patch): Patch #1 (tsocks_fix_lib_path.patch): + echo 'Patch #1 (tsocks_fix_lib_path.patch):' + echo 'Patch #1 (tsocks_fix_lib_path.patch):' + /usr/bin/cat /builddir/build/SOURCES/tsocks_fix_lib_path.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks_fix_lib_path.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file tsocks patching file tsocks Patch #2 (tsocks_script_validation_error.patch): Patch #2 (tsocks_script_validation_error.patch): + echo 'Patch #2 (tsocks_script_validation_error.patch):' + echo 'Patch #2 (tsocks_script_validation_error.patch):' + /usr/bin/cat /builddir/build/SOURCES/tsocks_script_validation_error.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks_script_validation_error.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file tsocks patching file tsocks Patch #3 (tsocks_documentation_update.patch): Patch #3 (tsocks_documentation_update.patch): + echo 'Patch #3 (tsocks_documentation_update.patch):' + echo 'Patch #3 (tsocks_documentation_update.patch):' + /usr/bin/cat /builddir/build/SOURCES/tsocks_documentation_update.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks_documentation_update.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file tsocks.8 patching file tsocks.8 Patch #4 (tsocks-1.8-soname.patch): Patch #4 (tsocks-1.8-soname.patch): + echo 'Patch #4 (tsocks-1.8-soname.patch):' + echo 'Patch #4 (tsocks-1.8-soname.patch):' + /usr/bin/cat /builddir/build/SOURCES/tsocks-1.8-soname.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks-1.8-soname.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.in patching file Makefile.in + echo 'Patch #5 (tsocks_fix_man_typo.patch):' + echo 'Patch #5 (tsocks_fix_man_typo.patch):' Patch #5 (tsocks_fix_man_typo.patch): Patch #5 (tsocks_fix_man_typo.patch): + /usr/bin/cat /builddir/build/SOURCES/tsocks_fix_man_typo.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks_fix_man_typo.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file tsocks.8 patching file tsocks.8 + echo 'Patch #6 (tsocks_include_missing_tools.patch):' + echo 'Patch #6 (tsocks_include_missing_tools.patch):' Patch #6 (tsocks_include_missing_tools.patch): Patch #6 (tsocks_include_missing_tools.patch): + /usr/bin/cat /builddir/build/SOURCES/tsocks_include_missing_tools.patch + /usr/bin/cat /builddir/build/SOURCES/tsocks_include_missing_tools.patch + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.in patching file Makefile.in Hunk #1 succeeded at 66 (offset 2 lines). Hunk #1 succeeded at 66 (offset 2 lines). + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zkEuch Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zkEuch + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd tsocks-1.8 + cd tsocks-1.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + export LDFLAGS + '[' 1 == 1 ']' + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess + /usr/bin/rm -f ./config.guess ++ basename ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub + /usr/bin/rm -f ./config.sub ++ basename ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info creating cache ./config.cache creating cache ./config.cache checking host system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for gcc... gcc checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ) is a cross-compiler... no checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether ln -s works... yes checking if the C compiler accepts -Wall... yes checking if the C compiler accepts -Wall... yes checking how to run the C preprocessor... gcc -E checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for ANSI C header files... yes checking for dlfcn.h... yes checking for dlfcn.h... yes checking for sys/socket.h... yes checking for sys/socket.h... yes checking for arpa/inet.h... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for fcntl.h... yes checking for sys/poll.h... yes checking for sys/poll.h... yes checking for unistd.h... yes checking for unistd.h... yes checking for strcspn... yes checking for strcspn... yes checking for strdup... yes checking for strdup... yes checking for strerror... yes checking for strerror... yes checking for strspn... yes checking for strspn... yes checking for strtol... yes checking for strtol... yes checking for connect in -lc... yes checking for connect in -lc... yes checking for socket... yes checking for socket... yes checking for inet_aton... yes checking for inet_aton... yes checking for gethostbyname... yes checking for gethostbyname... yes checking for dlsym in -ldl... yes checking for dlsym in -ldl... yes checking for RTLD_NEXT from dlfcn.h... no checking for RTLD_NEXT from dlfcn.h... no checking for RTLD_NEXT from dlfcn.h with _GNU_SOURCE... yes checking for RTLD_NEXT from dlfcn.h with _GNU_SOURCE... yes checking for correct select prototype... select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) checking for correct select prototype... select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) checking for correct connect prototype... connect(int __fd, const struct sockaddr * __addr, socklen_t __len) checking for correct connect prototype... connect(int __fd, const struct sockaddr * __addr, socklen_t __len) checking for correct close prototype... close(int fd) checking for correct close prototype... close(int fd) checking for correct poll prototype... poll(struct pollfd *ufds, unsigned long nfds, int timeout) checking for correct poll prototype... poll(struct pollfd *ufds, unsigned long nfds, int timeout) updating cache ./config.cache updating cache ./config.cache creating ./config.status creating ./config.status creating Makefile creating Makefile creating config.h creating config.h + make -j2 + make -j2 gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -c tsocks.c -o tsocks.o gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -c tsocks.c -o tsocks.o gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -c common.c -o common.o gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -c common.c -o common.o tsocks.c: In function 'connect': tsocks.c: In function 'connect': tsocks.c:215:6: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] tsocks.c:215:6: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (void *) &sock_type, &sock_type_len); (void *) &sock_type, &sock_type_len); ^ ^ In file included from tsocks.c:39:0: In file included from tsocks.c:39:0: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, extern int getsockopt (int __fd, int __level, int __optname, ^ ^ tsocks.c:271:35: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] tsocks.c:271:35: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (!getpeername(__fd, (struct sockaddr *) &peer_address, &namelen)) { if (!getpeername(__fd, (struct sockaddr *) &peer_address, &namelen)) { ^ ^ In file included from tsocks.c:39:0: In file included from tsocks.c:39:0: /usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' /usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ ^ tsocks.c: In function 'select': tsocks.c: In function 'select': tsocks.c:343:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] tsocks.c:343:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc = 0; int rc = 0; ^ ^ tsocks.c: In function 'poll': tsocks.c: In function 'poll': tsocks.c:526:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] tsocks.c:526:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc = 0, i; int rc = 0, i; ^ ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -c parser.c -o parser.o gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -c parser.c -o parser.o parser.c: In function 'handle_path': parser.c: In function 'handle_path': parser.c:210:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] parser.c:210:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int) (newserver = (struct serverent *) malloc(sizeof(struct serverent)))) == -1) if (((int) (newserver = (struct serverent *) malloc(sizeof(struct serverent)))) == -1) ^ ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -o saveme saveme.c gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -o saveme saveme.c gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -o inspectsocks inspectsocks.c common.o -lc gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -o inspectsocks inspectsocks.c common.o -lc gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -o validateconf validateconf.c common.o parser.o -lc gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -o validateconf validateconf.c common.o parser.o -lc gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -nostdlib -shared -o libtsocks.so.1.8 -Wl,-soname=libtsocks.so.1 tsocks.o common.o parser.o -ldl -lc gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -I. -nostdlib -shared -o libtsocks.so.1.8 -Wl,-soname=libtsocks.so.1 tsocks.o common.o parser.o -ldl -lc ln -sf libtsocks.so.1.8 libtsocks.so.1 ln -sf libtsocks.so.1.8 libtsocks.so.1 ln -sf libtsocks.so.1 libtsocks.so ln -sf libtsocks.so.1 libtsocks.so + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qwcbQm Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qwcbQm + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + rm -rf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + cd tsocks-1.8 + cd tsocks-1.8 + rm -rf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + rm -rf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin" /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin" mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /usr/bin/install -c tsocks /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /usr/bin/install -c tsocks /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /usr/bin/install -c inspectsocks /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /usr/bin/install -c inspectsocks /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /usr/bin/install -c validateconf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /usr/bin/install -c validateconf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64" /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64" mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64 mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64 /usr/bin/install -c libtsocks.so.1.8 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64 /usr/bin/install -c libtsocks.so.1.8 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64 ln -sf libtsocks.so.1.8 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64/libtsocks.so.1 ln -sf libtsocks.so.1.8 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64/libtsocks.so.1 ln -sf libtsocks.so.1 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64/libtsocks.so ln -sf libtsocks.so.1 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64/libtsocks.so /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man1" /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man1" mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man1 /usr/bin/install -c -m 644 tsocks.1 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man1/ /usr/bin/install -c -m 644 tsocks.1 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man1/ /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man8" /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man8" mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 tsocks.8 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man8/ /usr/bin/install -c -m 644 tsocks.8 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man8/ /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man5" /bin/sh mkinstalldirs "/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man5" mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man5 mkdir /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man5 /usr/bin/install -c -m 644 tsocks.conf.5 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man5/ /usr/bin/install -c -m 644 tsocks.conf.5 /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/man/man5/ + /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/tsocks-1.8 + /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/tsocks-1.8 extracting debug info from /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64/libtsocks.so.1.8 extracting debug info from /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/lib64/libtsocks.so.1.8 extracting debug info from /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin/validateconf extracting debug info from /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin/validateconf extracting debug info from /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin/inspectsocks extracting debug info from /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/bin/inspectsocks /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libtsocks.so.1.8.debug to /usr/lib/debug/usr/lib64/libtsocks.so.debug symlinked /usr/lib/debug/usr/lib64/libtsocks.so.1.8.debug to /usr/lib/debug/usr/lib64/libtsocks.so.debug symlinked /usr/lib/debug/usr/lib64/libtsocks.so.1.8.debug to /usr/lib/debug/usr/lib64/libtsocks.so.1.debug symlinked /usr/lib/debug/usr/lib64/libtsocks.so.1.8.debug to /usr/lib/debug/usr/lib64/libtsocks.so.1.debug 155 blocks 155 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: tsocks-1.8-0.19.beta5.el7.centos.x86_64 Processing files: tsocks-1.8-0.19.beta5.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fmzcau Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fmzcau + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd tsocks-1.8 + cd tsocks-1.8 + DOCDIR=/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + DOCDIR=/builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr ChangeLog /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr ChangeLog /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr COPYING /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr COPYING /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr FAQ /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr FAQ /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr TODO /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr TODO /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr tsocks.conf.simple.example /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr tsocks.conf.simple.example /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr tsocks.conf.complex.example /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + cp -pr tsocks.conf.complex.example /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64/usr/share/doc/tsocks-1.8 + exit 0 + exit 0 Provides: libtsocks.so.1()(64bit) tsocks = 1.8-0.19.beta5.el7.centos tsocks(x86-64) = 1.8-0.19.beta5.el7.centos Provides: libtsocks.so.1()(64bit) tsocks = 1.8-0.19.beta5.el7.centos tsocks(x86-64) = 1.8-0.19.beta5.el7.centos Requires(interp): /sbin/ldconfig /sbin/ldconfig 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(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libtsocks.so.1()(64bit) rtld(GNU_HASH) Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libtsocks.so.1()(64bit) rtld(GNU_HASH) Processing files: tsocks-debuginfo-1.8-0.19.beta5.el7.centos.x86_64 Processing files: tsocks-debuginfo-1.8-0.19.beta5.el7.centos.x86_64 Provides: tsocks-debuginfo = 1.8-0.19.beta5.el7.centos tsocks-debuginfo(x86-64) = 1.8-0.19.beta5.el7.centos Provides: tsocks-debuginfo = 1.8-0.19.beta5.el7.centos tsocks-debuginfo(x86-64) = 1.8-0.19.beta5.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 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/tsocks-1.8-0.19.beta5.el7.centos.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-779707004.novalocal warning: Could not canonicalize hostname: copr-builder-779707004.novalocal Wrote: /builddir/build/RPMS/tsocks-1.8-0.19.beta5.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/tsocks-1.8-0.19.beta5.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/tsocks-debuginfo-1.8-0.19.beta5.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/tsocks-debuginfo-1.8-0.19.beta5.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UfasLS Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UfasLS + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd tsocks-1.8 + cd tsocks-1.8 + rm -rf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + rm -rf /builddir/build/BUILDROOT/tsocks-1.8-0.19.beta5.el7.centos.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0