D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libyrmcds-1.2.1-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HUKlsZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libyrmcds-1.2.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/v1.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libyrmcds-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libyrmcds-1.2.1-shared.diff):' Patch #0 (libyrmcds-1.2.1-shared.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #1 (libyrmcds-1.2.1-system_lz4.diff):' Patch #1 (libyrmcds-1.2.1-system_lz4.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file recv.c patching file send.c + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MK41cJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libyrmcds-1.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L.' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o close.o close.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o set_compression.o set_compression.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o strerror.o strerror.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o socket.o socket.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o recv.o recv.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o connect.o connect.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o counter.o counter.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o send.o send.c send.c: In function 'send_data': send.c:143:13: warning: 'LZ4_compress' is deprecated: use LZ4_compress_default() instead [-Wdeprecated-declarations] (uint32_t)LZ4_compress(data, new_data + sizeof(uint32_t), ^ In file included from send.c:7:0: /usr/include/lz4.h:431:58: note: declared here LZ4_DEPRECATED("use LZ4_compress_default() instead") int LZ4_compress (const char* source, char* dest, int sourceSize); ^~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o yc-cnt.o yc-cnt.c ar rcs libyrmcds.a recv.o connect.o close.o strerror.o set_compression.o counter.o send.o socket.o gcc -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L. -shared recv.o connect.o close.o strerror.o set_compression.o counter.o send.o socket.o -fPIC -o libyrmcds. -llz4 ln -sf libyrmcds. libyrmcds. ln: 'libyrmcds.' and 'libyrmcds.' are the same file make: *** [Makefile:80: libyrmcds] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -D_GNU_SOURCE -DLIBYRMCDS_USE_LZ4 -c -o yc.o yc.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MK41cJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MK41cJ (%build) I: [iurt_root_command] ERROR: chroot