D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/tsocks-1.8-0.beta5.23.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QlfeF1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + test -d /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zhGvVu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + rm -rf tsocks-1.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tsocks-1.8beta5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd tsocks-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tsocks_remove_static_lib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/tsocks-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + perl -pi -e 's,(?:/usr)?/lib/libtsocks(\.|\\\.)so,/usr/lib64/libtsocks${1}so${1}1,g' tsocks tsocks.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ixc3qr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + cd tsocks-1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 checking host system type... x86_64-mageia-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking if the C compiler accepts -Wall... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... no checking for dlfcn.h... yes checking for sys/socket.h... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for sys/poll.h... yes checking for unistd.h... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strtol... yes checking for connect in -lc... yes checking for socket... yes checking for inet_aton... yes checking for gethostbyname... yes checking for dlsym in -ldl... yes checking for RTLD_NEXT from dlfcn.h... yes 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 close prototype... close(int fd) checking for correct poll prototype... poll(struct pollfd *ufds, unsigned long nfds, int timeout) updating cache ./config.cache creating ./config.status creating Makefile creating config.h + /usr/bin/make -O -j16 V=1 VERBOSE=1 'DYNLIB_FLAGS=-Wl,-soname -Wl,libtsocks.so.1' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -o saveme saveme.c gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -c common.c -o common.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -o inspectsocks inspectsocks.c common.o -lc gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -c parser.c -o parser.o parser.c: In function 'handle_path': parser.c:210:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 210 | if (((int) (newserver = (struct serverent *) malloc(sizeof(struct serverent)))) == -1) | ^ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -c tsocks.c -o tsocks.o tsocks.c: In function 'connect': tsocks.c:215:41: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 215 | (void *) &sock_type, &sock_type_len); | ^~~~~~~~~~~~~~ | | | int * In file included from tsocks.c:39: /usr/include/sys/socket.h:257:46: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 257 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tsocks.c:271:62: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 271 | if (!getpeername(__fd, (struct sockaddr *) &peer_address, &namelen)) { | ^~~~~~~~ | | | int * /usr/include/sys/socket.h:131:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ tsocks.c: In function 'select': tsocks.c:343:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 343 | int rc = 0; | ^~ tsocks.c: In function 'poll': tsocks.c:526:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 526 | int rc = 0, i; | ^~ gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -nostdlib -shared -o libtsocks.so.1.8 tsocks.o common.o parser.o -Wl,-soname -Wl,libtsocks.so.1 -ldl -lc ln -sf libtsocks.so.1.8 libtsocks.so gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I. -o validateconf validateconf.c common.o parser.o -lc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SsD7lX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT + cd tsocks-1.8 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT 'INSTALL=/usr/bin/install -p' /bin/sh mkinstalldirs "/home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/bin" mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/bin /usr/bin/install -p tsocks /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/bin /bin/sh mkinstalldirs "/home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/lib64" mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/lib64 /usr/bin/install -p libtsocks.so.1.8 /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/lib64 ln -sf libtsocks.so.1.8 /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/lib64/libtsocks.so.1 ln -sf libtsocks.so.1 /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/lib64/libtsocks.so /bin/sh mkinstalldirs "/home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man1" mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -p -m 644 tsocks.1 /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man1/ /bin/sh mkinstalldirs "/home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man8" mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man8 /usr/bin/install -p -m 644 tsocks.8 /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man8/ /bin/sh mkinstalldirs "/home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man5" mkdir /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man5 /usr/bin/install -p -m 644 tsocks.conf.5 /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/share/man/man5/ + rm -f /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT/usr/lib64/libtsocks.so + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.8-0.beta5.23.mga10 --unique-debug-suffix -1.8-0.beta5.23.mga10.x86_64 --unique-debug-src-base tsocks-1.8-0.beta5.23.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/tsocks-1.8 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/tsocks-1.8-0.beta5.23.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/tsocks from /bin/sh to #!/usr/bin/sh + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/SPECPARTS/rpm-debuginfo.specpart Processing files: tsocks-1.8-0.beta5.23.mga10.x86_64 Provides: tsocks = 1.8-0.beta5.23.mga10 tsocks(x86-64) = 1.8-0.beta5.23.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64tsocks1-1.8-0.beta5.23.mga10.x86_64 Provides: lib64tsocks1 = 1.8-0.beta5.23.mga10 lib64tsocks1(x86-64) = 1.8-0.beta5.23.mga10 libtsocks.so.1()(64bit) 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.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: tsocks-debugsource-1.8-0.beta5.23.mga10.x86_64 Provides: tsocks-debugsource = 1.8-0.beta5.23.mga10 tsocks-debugsource(x86-64) = 1.8-0.beta5.23.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64tsocks1-debuginfo-1.8-0.beta5.23.mga10.x86_64 Provides: debuginfo(build-id) = be4153ef55c4b506d82ee16bcb91f673a04c5e6a lib64tsocks1-debuginfo = 1.8-0.beta5.23.mga10 lib64tsocks1-debuginfo(x86-64) = 1.8-0.beta5.23.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tsocks-debugsource(x86-64) = 1.8-0.beta5.23.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/tsocks-1.8-0.beta5.23.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64tsocks1-1.8-0.beta5.23.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/tsocks-debugsource-1.8-0.beta5.23.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64tsocks1-debuginfo-1.8-0.beta5.23.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hYF3KY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + test -d /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + rm -rf /home/pterjan/rpmbuild/BUILD/tsocks-1.8-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!