D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/tsocks-1.8-0.beta5.21.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZNLet2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf tsocks-1.8 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/tsocks-1.8beta5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tsocks-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/perl -pi -e 's,(?:/usr)?/lib/libtsocks(\.|\\\.)so,/usr/lib64/libtsocks${1}so${1}1,g' tsocks tsocks.8 + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/tsocks_remove_static_lib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.eXWBt6 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd tsocks-1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + 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.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 + /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=aarch64-mageia-linux-gnu --build=aarch64-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... aarch64-mageia-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags) 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... yes 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... no 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 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 -j8 V=1 VERBOSE=1 'DYNLIB_FLAGS=-Wl,-soname -Wl,libtsocks.so.1' gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -c common.c -o common.o gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -o saveme saveme.c gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -o inspectsocks inspectsocks.c common.o -lc gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -c parser.c -o parser.o parser.c: In function 'handle_path': parser.c:210:8: 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -o validateconf validateconf.c common.o parser.o -lc gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I. -c tsocks.c -o tsocks.o tsocks.c: In function 'connect': tsocks.c:215:27: 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:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | 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 * In file included from tsocks.c:39: /usr/include/sys/socket.h:131:26: 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nKBkQ2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 + cd tsocks-1.8 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 'INSTALL=/usr/bin/install -p' /bin/sh mkinstalldirs "/home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/bin" mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/bin /usr/bin/install -p tsocks /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/bin /bin/sh mkinstalldirs "/home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64" mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64 /usr/bin/install -p libtsocks.so.1.8 /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64 ln -sf libtsocks.so.1.8 /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64/libtsocks.so.1 ln -sf libtsocks.so.1 /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64/libtsocks.so /bin/sh mkinstalldirs "/home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man1" mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man1 /usr/bin/install -p -m 644 tsocks.1 /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man1/ /bin/sh mkinstalldirs "/home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man8" mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man8 /usr/bin/install -p -m 644 tsocks.8 /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man8/ /bin/sh mkinstalldirs "/home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man5" mkdir /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man5 /usr/bin/install -p -m 644 tsocks.conf.5 /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/share/man/man5/ + rm -f /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64/libtsocks.so + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.8-0.beta5.21.mga8 --unique-debug-suffix -1.8-0.beta5.21.mga8.aarch64 --unique-debug-src-base tsocks-1.8-0.beta5.21.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/tsocks-1.8 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64/libtsocks.so.1.8 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64/usr/lib64/libtsocks.so.1.8 original debug info size: 108kB, size after compression: 112kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 132 blocks + /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/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/tsocks from /bin/sh to #!/usr/bin/sh Processing files: tsocks-1.8-0.beta5.21.mga8.aarch64 Provides: tsocks = 1.8-0.beta5.21.mga8 tsocks(aarch-64) = 1.8-0.beta5.21.mga8 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.21.mga8.aarch64 Provides: lib64tsocks1 = 1.8-0.beta5.21.mga8 lib64tsocks1(aarch-64) = 1.8-0.beta5.21.mga8 libtsocks.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) Processing files: tsocks-debugsource-1.8-0.beta5.21.mga8.aarch64 Provides: tsocks-debugsource = 1.8-0.beta5.21.mga8 tsocks-debugsource(aarch-64) = 1.8-0.beta5.21.mga8 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.21.mga8.aarch64 Provides: debuginfo(build-id) = 8efc706f092b036bff71137590d8e0df86029633 lib64tsocks1-debuginfo = 1.8-0.beta5.21.mga8 lib64tsocks1-debuginfo(aarch-64) = 1.8-0.beta5.21.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tsocks-debugsource(aarch-64) = 1.8-0.beta5.21.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/tsocks-1.8-0.beta5.21.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64tsocks1-1.8-0.beta5.21.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64tsocks1-debuginfo-1.8-0.beta5.21.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/tsocks-debugsource-1.8-0.beta5.21.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.19Wta4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd tsocks-1.8 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/tsocks-1.8-0.beta5.21.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gdIQX3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf tsocks-1.8 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!